Chromium Code Reviews| Index: source/libvpx/vpx_scale/generic/yv12config.c |
| =================================================================== |
| --- source/libvpx/vpx_scale/generic/yv12config.c (revision 290053) |
| +++ source/libvpx/vpx_scale/generic/yv12config.c (working copy) |
| @@ -81,6 +81,8 @@ |
| ybf->y_height = aligned_height; |
| ybf->y_stride = y_stride; |
| + ybf->uv_crop_width = (width + 1) / 2; |
| + ybf->uv_crop_height = (height + 1) / 2; |
| ybf->uv_width = uv_width; |
| ybf->uv_height = uv_height; |
| ybf->uv_stride = uv_stride; |