/external/libvpx/libvpx/vp9/ |
H A D | vp9_iface_common.h | 13 static void yuvconfig2image(vpx_image_t *img, const YV12_BUFFER_CONFIG *yv12, argument 20 if (yv12->uv_height == yv12->y_height) { 21 if (yv12->uv_width == yv12->y_width) { 31 img->w = yv12->y_stride; 32 img->h = ALIGN_POWER_OF_TWO(yv12->y_height + 2 * VP9_ENC_BORDER_IN_PIXELS, 3); 33 img->d_w = yv12->y_crop_width; 34 img->d_h = yv12->y_crop_height; 35 img->x_chroma_shift = yv12 52 image2yuvconfig(const vpx_image_t *img, YV12_BUFFER_CONFIG *yv12) argument [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/ |
H A D | vp9_iface_common.h | 13 static void yuvconfig2image(vpx_image_t *img, const YV12_BUFFER_CONFIG *yv12, argument 19 const int ss_x = yv12->uv_crop_width < yv12->y_crop_width; 20 const int ss_y = yv12->uv_crop_height < yv12->y_crop_height; 35 img->w = yv12->y_stride; 36 img->h = ALIGN_POWER_OF_TWO(yv12->y_height + 2 * VP9_ENC_BORDER_IN_PIXELS, 3); 37 img->d_w = yv12->y_crop_width; 38 img->d_h = yv12->y_crop_height; 41 img->planes[VPX_PLANE_Y] = yv12 56 image2yuvconfig(const vpx_image_t *img, YV12_BUFFER_CONFIG *yv12) argument [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/ |
H A D | vp8_dx_iface.c | 253 const YV12_BUFFER_CONFIG *yv12, 261 img->w = yv12->y_stride; 262 img->h = (yv12->y_height + 2 * VP8BORDERINPIXELS + 15) & ~15; 263 img->d_w = yv12->y_width; 264 img->d_h = yv12->y_height; 267 img->planes[VPX_PLANE_Y] = yv12->y_buffer; 268 img->planes[VPX_PLANE_U] = yv12->u_buffer; 269 img->planes[VPX_PLANE_V] = yv12->v_buffer; 271 img->stride[VPX_PLANE_Y] = yv12->y_stride; 272 img->stride[VPX_PLANE_U] = yv12 252 yuvconfig2image(vpx_image_t *img, const YV12_BUFFER_CONFIG *yv12, void *user_priv) argument 567 image2yuvconfig(const vpx_image_t *img, YV12_BUFFER_CONFIG *yv12) argument [all...] |
H A D | vp8_cx_iface.c | 701 YV12_BUFFER_CONFIG *yv12) 708 yv12->y_buffer = img->planes[VPX_PLANE_Y]; 709 yv12->u_buffer = img->planes[VPX_PLANE_U]; 710 yv12->v_buffer = img->planes[VPX_PLANE_V]; 712 yv12->y_crop_width = y_w; 713 yv12->y_crop_height = y_h; 714 yv12->y_width = y_w; 715 yv12->y_height = y_h; 716 yv12->uv_crop_width = uv_w; 717 yv12 700 image2yuvconfig(const vpx_image_t *img, YV12_BUFFER_CONFIG *yv12) argument [all...] |
/external/libvpx/libvpx/vp8/ |
H A D | vp8_cx_iface.c | 676 YV12_BUFFER_CONFIG *yv12) 679 yv12->y_buffer = img->planes[VPX_PLANE_Y]; 680 yv12->u_buffer = img->planes[VPX_PLANE_U]; 681 yv12->v_buffer = img->planes[VPX_PLANE_V]; 683 yv12->y_crop_width = img->d_w; 684 yv12->y_crop_height = img->d_h; 685 yv12->y_width = img->d_w; 686 yv12->y_height = img->d_h; 687 yv12->uv_width = (1 + yv12 675 image2yuvconfig(const vpx_image_t *img, YV12_BUFFER_CONFIG *yv12) argument [all...] |
H A D | vp8_dx_iface.c | 284 const YV12_BUFFER_CONFIG *yv12, 292 img->w = yv12->y_stride; 293 img->h = (yv12->y_height + 2 * VP8BORDERINPIXELS + 15) & ~15; 294 img->d_w = yv12->y_width; 295 img->d_h = yv12->y_height; 298 img->planes[VPX_PLANE_Y] = yv12->y_buffer; 299 img->planes[VPX_PLANE_U] = yv12->u_buffer; 300 img->planes[VPX_PLANE_V] = yv12->v_buffer; 302 img->stride[VPX_PLANE_Y] = yv12->y_stride; 303 img->stride[VPX_PLANE_U] = yv12 283 yuvconfig2image(vpx_image_t *img, const YV12_BUFFER_CONFIG *yv12, void *user_priv) argument 704 image2yuvconfig(const vpx_image_t *img, YV12_BUFFER_CONFIG *yv12) argument [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/ |
H A D | vp9_pickmode.c | 508 const YV12_BUFFER_CONFIG *yv12 = get_ref_frame_buffer(cpi, ref_frame); local 511 vp9_setup_pred_block(xd, yv12_mb[ref_frame], yv12, mi_row, mi_col, 527 vp9_mv_pred(cpi, x, yv12_mb[ref_frame][0].buf, yv12->y_stride,
|
H A D | vp9_encodeframe.c | 391 const YV12_BUFFER_CONFIG *yv12 = get_ref_frame_buffer(cpi, LAST_FRAME); local 406 vp9_setup_pre_planes(xd, 0, yv12, mi_row, mi_col, sf);
|
H A D | vp9_rdopt.c | 1742 const YV12_BUFFER_CONFIG *yv12 = get_ref_frame_buffer(cpi, ref_frame); local 1750 vp9_setup_pred_block(xd, yv12_mb[ref_frame], yv12, mi_row, mi_col, sf, sf); 1764 vp9_mv_pred(cpi, x, yv12_mb[ref_frame][0].buf, yv12->y_stride,
|
/external/libvpx/libvpx/vp9/encoder/ |
H A D | vp9_encodeframe.c | 119 const YV12_BUFFER_CONFIG *yv12 = get_ref_frame_buffer(cpi, LAST_FRAME); local 120 int offset = (mi_row * MI_SIZE) * yv12->y_stride + (mi_col * MI_SIZE); 124 yv12->y_buffer + offset, 125 yv12->y_stride, 470 const YV12_BUFFER_CONFIG *yv12 = get_ref_frame_buffer(cpi, LAST_FRAME); local 485 vp9_setup_pre_planes(xd, 0, yv12, mi_row, mi_col, sf);
|
H A D | vp9_rdopt.c | 2327 const YV12_BUFFER_CONFIG *yv12 = get_ref_frame_buffer(cpi, ref_frame); local 2335 setup_pred_block(xd, yv12_mb[ref_frame], yv12, mi_row, mi_col, sf, sf); 2349 mv_pred(cpi, x, yv12_mb[ref_frame][0].buf, yv12->y_stride,
|