summaryrefslogtreecommitdiff
path: root/vp8/encoder/onyx_if.c
diff options
context:
space:
mode:
authorJohn Koleszar <jkoleszar@google.com>2011-07-21 07:32:39 -0700
committerCode Review <code-review@webmproject.org>2011-07-21 07:32:39 -0700
commit2bdda84e375bdc1edfe9aad514238928869dd93e (patch)
tree5e05ed2f1489ce676f78f85d72431874464625f9 /vp8/encoder/onyx_if.c
parentc5fe641179104551901562427cb5ae42a3f1a7ef (diff)
parent7d1b37cdac8ae096e1d33aa7adb2834784cc897e (diff)
downloadlibvpx-2bdda84e375bdc1edfe9aad514238928869dd93e.tar
libvpx-2bdda84e375bdc1edfe9aad514238928869dd93e.tar.gz
libvpx-2bdda84e375bdc1edfe9aad514238928869dd93e.tar.bz2
libvpx-2bdda84e375bdc1edfe9aad514238928869dd93e.zip
Merge "Increase chrow row alignment to 16 bytes."
Diffstat (limited to 'vp8/encoder/onyx_if.c')
-rw-r--r--vp8/encoder/onyx_if.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/vp8/encoder/onyx_if.c b/vp8/encoder/onyx_if.c
index 5155840ca..bbcdbf630 100644
--- a/vp8/encoder/onyx_if.c
+++ b/vp8/encoder/onyx_if.c
@@ -1244,7 +1244,7 @@ static void alloc_raw_frame_buffers(VP8_COMP *cpi)
#if VP8_TEMPORAL_ALT_REF
if (vp8_yv12_alloc_frame_buffer(&cpi->alt_ref_buffer,
- width, height, 16))
+ width, height, VP8BORDERINPIXELS))
vpx_internal_error(&cpi->common.error, VPX_CODEC_MEM_ERROR,
"Failed to allocate altref buffer");
@@ -1294,7 +1294,8 @@ void vp8_alloc_compressor_data(VP8_COMP *cpi)
vpx_internal_error(&cpi->common.error, VPX_CODEC_MEM_ERROR,
"Failed to allocate last frame buffer");
- if (vp8_yv12_alloc_frame_buffer(&cpi->scaled_source, width, height, 16))
+ if (vp8_yv12_alloc_frame_buffer(&cpi->scaled_source,
+ width, height, VP8BORDERINPIXELS))
vpx_internal_error(&cpi->common.error, VPX_CODEC_MEM_ERROR,
"Failed to allocate scaled source buffer");