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 /vpx_scale | |
parent | 30d83c415989e67f4efb55277c2901151eb8dcaf (diff) | |
download | 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 'vpx_scale')
-rw-r--r-- | vpx_scale/generic/yv12extend.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vpx_scale/generic/yv12extend.c b/vpx_scale/generic/yv12extend.c index 49d7e8e56..a322e0a2c 100644 --- a/vpx_scale/generic/yv12extend.c +++ b/vpx_scale/generic/yv12extend.c @@ -117,8 +117,13 @@ vp8_yv12_copy_frame_c(YV12_BUFFER_CONFIG *src_ybc, int row; unsigned char *source, *dest; +#if 0 + /* These assertions are valid in the codec, but the libvpx-tester uses + * this code slightly differently. + */ assert(src_ybc->y_width == dst_ybc->y_width); assert(src_ybc->y_height == dst_ybc->y_height); +#endif source = src_ybc->y_buffer; dest = dst_ybc->y_buffer; |