Increase chrow row alignment to 16 bytes.
authorTimothy B. Terriberry <tterribe@xiph.org>
Wed, 20 Jul 2011 17:20:31 +0000 (10:20 -0700)
committerTimothy B. Terriberry <tterribe@xiph.org>
Wed, 20 Jul 2011 17:20:31 +0000 (10:20 -0700)
commit7d1b37cdac8ae096e1d33aa7adb2834784cc897e
treeea11c18f7f0ee11e2a2b8c5a7009b2b27f7a8059
parentb2d9700f5313770957878fa36f9971c367f479df
Increase chrow row alignment to 16 bytes.

This is done by expanding luma row to 32-byte alignment, since
 there is currently a bunch of code that assumes that
 uv_stride == y_stride/2 (see, for example, vp8/common/postproc.c,
 common/reconinter.c, common/arm/neon/recon16x16mb_neon.asm,
 encoder/temporal_filter.c, and possibly others; I haven't done a
 full audit).
It also uses replaces the hardcoded border of 16 in a number of
 encoder buffers with VP8BORDERINPIXELS (currently 32), as the
 chroma rows start at an offset of border/2.
Together, these two changes have the nice advantage that simply
 dumping the frame memory as a contiguous blob produces a valid,
 if padded, image.

Change-Id: Iaf5ea722ae5c82d5daa50f6e2dade9de753f1003
vp8/encoder/lookahead.c
vp8/encoder/onyx_if.c
vp8/vp8_dx_iface.c
vpx_scale/generic/yv12config.c