Home
last modified time | relevance | path

Searched refs:yv12 (Results 1 – 13 of 13) sorted by relevance

/external/libaom/libaom/av1/
Dav1_iface_common.h17 static void yuvconfig2image(aom_image_t *img, const YV12_BUFFER_CONFIG *yv12, in yuvconfig2image() argument
25 if (!yv12->subsampling_y) { in yuvconfig2image()
26 if (!yv12->subsampling_x) { in yuvconfig2image()
37 img->cp = yv12->color_primaries; in yuvconfig2image()
38 img->tc = yv12->transfer_characteristics; in yuvconfig2image()
39 img->mc = yv12->matrix_coefficients; in yuvconfig2image()
40 img->monochrome = yv12->monochrome; in yuvconfig2image()
41 img->csp = yv12->chroma_sample_position; in yuvconfig2image()
42 img->range = yv12->color_range; in yuvconfig2image()
44 img->w = yv12->y_width; in yuvconfig2image()
[all …]
/external/libvpx/libvpx/vp9/
Dvp9_iface_common.h15 static void yuvconfig2image(vpx_image_t *img, const YV12_BUFFER_CONFIG *yv12, in yuvconfig2image() argument
22 if (!yv12->subsampling_y) { in yuvconfig2image()
23 if (!yv12->subsampling_x) { in yuvconfig2image()
31 if (!yv12->subsampling_x) { in yuvconfig2image()
39 img->cs = yv12->color_space; in yuvconfig2image()
40 img->range = yv12->color_range; in yuvconfig2image()
42 img->w = yv12->y_stride; in yuvconfig2image()
43 img->h = ALIGN_POWER_OF_TWO(yv12->y_height + 2 * VP9_ENC_BORDER_IN_PIXELS, 3); in yuvconfig2image()
44 img->d_w = yv12->y_crop_width; in yuvconfig2image()
45 img->d_h = yv12->y_crop_height; in yuvconfig2image()
[all …]
/external/libvpx/libvpx/vp8/
Dvp8_dx_iface.c206 static void yuvconfig2image(vpx_image_t *img, const YV12_BUFFER_CONFIG *yv12, in yuvconfig2image() argument
213 img->w = yv12->y_stride; in yuvconfig2image()
214 img->h = (yv12->y_height + 2 * VP8BORDERINPIXELS + 15) & ~15; in yuvconfig2image()
215 img->d_w = img->r_w = yv12->y_width; in yuvconfig2image()
216 img->d_h = img->r_h = yv12->y_height; in yuvconfig2image()
219 img->planes[VPX_PLANE_Y] = yv12->y_buffer; in yuvconfig2image()
220 img->planes[VPX_PLANE_U] = yv12->u_buffer; in yuvconfig2image()
221 img->planes[VPX_PLANE_V] = yv12->v_buffer; in yuvconfig2image()
223 img->stride[VPX_PLANE_Y] = yv12->y_stride; in yuvconfig2image()
224 img->stride[VPX_PLANE_U] = yv12->uv_stride; in yuvconfig2image()
[all …]
Dvp8_cx_iface.c685 YV12_BUFFER_CONFIG *yv12) { in image2yuvconfig() argument
691 yv12->y_buffer = img->planes[VPX_PLANE_Y]; in image2yuvconfig()
692 yv12->u_buffer = img->planes[VPX_PLANE_U]; in image2yuvconfig()
693 yv12->v_buffer = img->planes[VPX_PLANE_V]; in image2yuvconfig()
695 yv12->y_crop_width = y_w; in image2yuvconfig()
696 yv12->y_crop_height = y_h; in image2yuvconfig()
697 yv12->y_width = y_w; in image2yuvconfig()
698 yv12->y_height = y_h; in image2yuvconfig()
699 yv12->uv_crop_width = uv_w; in image2yuvconfig()
700 yv12->uv_crop_height = uv_h; in image2yuvconfig()
[all …]
/external/libaom/libaom/av1/encoder/
Dvar_based_part.c504 const YV12_BUFFER_CONFIG *yv12 = get_ref_frame_yv12_buf(cm, LAST_FRAME); in av1_choose_var_based_partitioning() local
506 assert(yv12 != NULL); in av1_choose_var_based_partitioning()
508 av1_setup_pre_planes(xd, 0, yv12, mi_row, mi_col, in av1_choose_var_based_partitioning()
Dmcomp.c3089 const YV12_BUFFER_CONFIG *yv12 = get_ref_frame_yv12_buf(cm, ref); in av1_simple_motion_search() local
3105 av1_setup_pre_planes(xd, ref_idx, yv12, mi_row, mi_col, in av1_simple_motion_search()
Drdopt.c7020 const YV12_BUFFER_CONFIG *yv12 = get_ref_frame_yv12_buf(cm, ref_frame); in setup_buffer_ref_mvs_inter() local
7021 assert(yv12 != NULL); in setup_buffer_ref_mvs_inter()
7029 av1_setup_pred_block(xd, yv12_mb[ref_frame], yv12, mi_row, mi_col, sf, sf, in setup_buffer_ref_mvs_inter()
7048 av1_setup_pred_block(xd, yv12_mb[ref_frame], yv12, mi_row, mi_col, sf, sf, in setup_buffer_ref_mvs_inter()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encodeframe.c1365 YV12_BUFFER_CONFIG *yv12 = get_ref_frame_buffer(cpi, LAST_FRAME); in choose_partitioning() local
1372 assert(yv12 != NULL); in choose_partitioning()
1382 if (cpi->oxcf.speed < 8 && yv12_g && yv12_g != yv12 && in choose_partitioning()
1395 yv12 = get_ref_frame_buffer(cpi, ALTREF_FRAME); in choose_partitioning()
1396 vp9_setup_pre_planes(xd, 0, yv12, mi_row, mi_col, in choose_partitioning()
1401 vp9_setup_pre_planes(xd, 0, yv12, mi_row, mi_col, in choose_partitioning()
3499 YV12_BUFFER_CONFIG *yv12 = get_ref_frame_buffer(cpi, ref); in ml_predict_var_rd_paritioning() local
3509 assert(yv12 != NULL); in ml_predict_var_rd_paritioning()
3510 if (!yv12) return; in ml_predict_var_rd_paritioning()
3511 vp9_setup_pre_planes(xd, 0, yv12, mi_row, mi_col, in ml_predict_var_rd_paritioning()
[all …]
Dvp9_pickmode.c1220 const YV12_BUFFER_CONFIG *yv12 = get_ref_frame_buffer(cpi, ref_frame); in find_predictors() local
1227 if ((cpi->ref_frame_flags & flag_list[ref_frame]) && (yv12 != NULL)) { in find_predictors()
1230 vp9_setup_pred_block(xd, yv12_mb[ref_frame], yv12, mi_row, mi_col, sf, sf); in find_predictors()
1246 vp9_mv_pred(cpi, x, yv12_mb[ref_frame][0].buf, yv12->y_stride, ref_frame, in find_predictors()
2633 const YV12_BUFFER_CONFIG *yv12 = get_ref_frame_buffer(cpi, ref_frame); in vp9_pick_inter_mode_sub8x8() local
2637 if ((cpi->ref_frame_flags & flag_list[ref_frame]) && (yv12 != NULL)) { in vp9_pick_inter_mode_sub8x8()
2640 vp9_setup_pred_block(xd, yv12_mb[ref_frame], yv12, mi_row, mi_col, sf, in vp9_pick_inter_mode_sub8x8()
Dvp9_speed_features.c491 const YV12_BUFFER_CONFIG *yv12 = get_ref_frame_buffer(cpi, ref_frame); in set_rt_speed_feature_framesize_independent() local
492 if (yv12 != NULL && (cpi->ref_frame_flags & flag_list[ref_frame])) { in set_rt_speed_feature_framesize_independent()
Dvp9_svc_layercontext.c1006 const YV12_BUFFER_CONFIG *yv12 = get_ref_frame_buffer(cpi, ref_frame); in vp9_svc_constrain_inter_layer_pred() local
1007 if (yv12 != NULL && (cpi->ref_frame_flags & flag_list[ref_frame])) { in vp9_svc_constrain_inter_layer_pred()
Dvp9_rdopt.c2288 const YV12_BUFFER_CONFIG *yv12 = get_ref_frame_buffer(cpi, ref_frame); in setup_buffer_inter() local
2295 assert(yv12 != NULL); in setup_buffer_inter()
2299 vp9_setup_pred_block(xd, yv12_mb[ref_frame], yv12, mi_row, mi_col, sf, sf); in setup_buffer_inter()
2314 vp9_mv_pred(cpi, x, yv12_mb[ref_frame][0].buf, yv12->y_stride, ref_frame, in setup_buffer_inter()
/external/libvpx/libvpx/
DCHANGELOG577 * For raw I420/YV12 output instead of Y4M, the --i420 or --yv12