Home
last modified time | relevance | path

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

/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.c200 static void yuvconfig2image(vpx_image_t *img, const YV12_BUFFER_CONFIG *yv12, in yuvconfig2image() argument
207 img->w = yv12->y_stride; in yuvconfig2image()
208 img->h = (yv12->y_height + 2 * VP8BORDERINPIXELS + 15) & ~15; in yuvconfig2image()
209 img->d_w = img->r_w = yv12->y_width; in yuvconfig2image()
210 img->d_h = img->r_h = yv12->y_height; in yuvconfig2image()
213 img->planes[VPX_PLANE_Y] = yv12->y_buffer; in yuvconfig2image()
214 img->planes[VPX_PLANE_U] = yv12->u_buffer; in yuvconfig2image()
215 img->planes[VPX_PLANE_V] = yv12->v_buffer; in yuvconfig2image()
217 img->stride[VPX_PLANE_Y] = yv12->y_stride; in yuvconfig2image()
218 img->stride[VPX_PLANE_U] = yv12->uv_stride; in yuvconfig2image()
[all …]
Dvp8_cx_iface.c686 YV12_BUFFER_CONFIG *yv12) { in image2yuvconfig() argument
692 yv12->y_buffer = img->planes[VPX_PLANE_Y]; in image2yuvconfig()
693 yv12->u_buffer = img->planes[VPX_PLANE_U]; in image2yuvconfig()
694 yv12->v_buffer = img->planes[VPX_PLANE_V]; in image2yuvconfig()
696 yv12->y_crop_width = y_w; in image2yuvconfig()
697 yv12->y_crop_height = y_h; in image2yuvconfig()
698 yv12->y_width = y_w; in image2yuvconfig()
699 yv12->y_height = y_h; in image2yuvconfig()
700 yv12->uv_crop_width = uv_w; in image2yuvconfig()
701 yv12->uv_crop_height = uv_h; in image2yuvconfig()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_pickmode.c1197 const YV12_BUFFER_CONFIG *yv12 = get_ref_frame_buffer(cpi, ref_frame); in find_predictors() local
1204 if ((cpi->ref_frame_flags & flag_list[ref_frame]) && (yv12 != NULL)) { in find_predictors()
1207 vp9_setup_pred_block(xd, yv12_mb[ref_frame], yv12, mi_row, mi_col, sf, sf); in find_predictors()
1223 vp9_mv_pred(cpi, x, yv12_mb[ref_frame][0].buf, yv12->y_stride, ref_frame, in find_predictors()
2451 const YV12_BUFFER_CONFIG *yv12 = get_ref_frame_buffer(cpi, ref_frame); in vp9_pick_inter_mode_sub8x8() local
2455 if ((cpi->ref_frame_flags & flag_list[ref_frame]) && (yv12 != NULL)) { in vp9_pick_inter_mode_sub8x8()
2458 vp9_setup_pred_block(xd, yv12_mb[ref_frame], yv12, mi_row, mi_col, sf, in vp9_pick_inter_mode_sub8x8()
Dvp9_speed_features.c418 const YV12_BUFFER_CONFIG *yv12 = get_ref_frame_buffer(cpi, ref_frame); in set_rt_speed_feature_framesize_independent() local
419 if (yv12 != NULL && (cpi->ref_frame_flags & flag_list[ref_frame])) { in set_rt_speed_feature_framesize_independent()
Dvp9_encodeframe.c1327 YV12_BUFFER_CONFIG *yv12 = get_ref_frame_buffer(cpi, LAST_FRAME); in choose_partitioning() local
1334 assert(yv12 != NULL); in choose_partitioning()
1343 if (cpi->oxcf.speed < 8 && yv12_g && yv12_g != yv12 && in choose_partitioning()
1356 yv12 = get_ref_frame_buffer(cpi, ALTREF_FRAME); in choose_partitioning()
1357 vp9_setup_pre_planes(xd, 0, yv12, mi_row, mi_col, in choose_partitioning()
1362 vp9_setup_pre_planes(xd, 0, yv12, mi_row, mi_col, in choose_partitioning()
Dvp9_rdopt.c2292 const YV12_BUFFER_CONFIG *yv12 = get_ref_frame_buffer(cpi, ref_frame); in setup_buffer_inter() local
2299 assert(yv12 != NULL); in setup_buffer_inter()
2303 vp9_setup_pred_block(xd, yv12_mb[ref_frame], yv12, mi_row, mi_col, sf, sf); in setup_buffer_inter()
2318 vp9_mv_pred(cpi, x, yv12_mb[ref_frame][0].buf, yv12->y_stride, ref_frame, in setup_buffer_inter()
/external/libvpx/libvpx/
DCHANGELOG536 * For raw I420/YV12 output instead of Y4M, the --i420 or --yv12