Chromium Code Reviews| Index: source/libvpx/vp8/vp8_cx_iface.c |
| =================================================================== |
| --- source/libvpx/vp8/vp8_cx_iface.c (revision 195011) |
| +++ source/libvpx/vp8/vp8_cx_iface.c (working copy) |
| @@ -684,6 +684,8 @@ |
| yv12->u_buffer = img->planes[VPX_PLANE_U]; |
| yv12->v_buffer = img->planes[VPX_PLANE_V]; |
| + yv12->y_crop_width = img->d_w; |
| + yv12->y_crop_height = img->d_h; |
| yv12->y_width = img->d_w; |
| yv12->y_height = img->d_h; |
| yv12->uv_width = (1 + yv12->y_width) / 2; |