diff options
author | John Koleszar <jkoleszar@google.com> | 2013-04-03 12:34:05 -0700 |
---|---|---|
committer | John Koleszar <jkoleszar@google.com> | 2013-04-03 12:34:22 -0700 |
commit | f800085eacf62f64ae0bd349f0df9b137d207434 (patch) | |
tree | d0911983b6f820c1897f6f0555bc16d7b9d34760 /vp8/vp8_dx_iface.c | |
parent | 30d83c415989e67f4efb55277c2901151eb8dcaf (diff) | |
download | libvpx-f800085eacf62f64ae0bd349f0df9b137d207434.tar libvpx-f800085eacf62f64ae0bd349f0df9b137d207434.tar.gz libvpx-f800085eacf62f64ae0bd349f0df9b137d207434.tar.bz2 libvpx-f800085eacf62f64ae0bd349f0df9b137d207434.zip |
vp8: set y_crop_{width,height}
Update to use the new YV12_BUFFER_CONFIG structure.
Change-Id: Ia64757d50cc9019d336fa622e059bf68140d0fa7
Diffstat (limited to 'vp8/vp8_dx_iface.c')
-rw-r--r-- | vp8/vp8_dx_iface.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vp8/vp8_dx_iface.c b/vp8/vp8_dx_iface.c index f3834b063..90a175436 100644 --- a/vp8/vp8_dx_iface.c +++ b/vp8/vp8_dx_iface.c @@ -790,6 +790,8 @@ static vpx_codec_err_t image2yuvconfig(const vpx_image_t *img, 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 = yv12->y_width / 2; |