vpx/vpx_scale
Johann e956c00762 Set and use uv_crop_[width|height]
Ensure consistent border extension by rounding uv_crop_* at image
creation time. Where it was rounded problems could arise with the right
and bottom extensions.
When padding = 32, y_width = 64, and y_crop_width = 63:
 (padding + width - crop_width + 1) / 2
 32 + 64 - 63 + 1 should equal 32 *but*
 32 + 1 + 1 equals 34 giving a right buffer of 17 instead of 16.
By calculating uv_crop_* earlier we round up at the appropriate time and
for the same values:
 (y_crop_width + 1) / 2
 63 + 1 / 2
 64
 (padding / 2) + uv_width - uv_crop_width
 16 + 16 - 16
 16

Change-Id: If866cd1b63444771440edb1432280ac83875969b
2014-07-24 15:30:13 -07:00
..
arm/neon Remove the vp8_vpxyv12_copy_y_neon. 2014-03-14 16:47:23 -07:00
generic Set and use uv_crop_[width|height] 2014-07-24 15:30:13 -07:00
mips/dspr2 Add non420 support to vp9_extend_frame_borders. 2014-06-11 12:02:59 -07:00
win32 Use 'vpx_scale' consistently 2012-12-05 16:05:44 -08:00
vpx_scale_asm_offsets.c Update ARM for vpx_scale changes 2012-12-05 08:59:17 -08:00
vpx_scale_rtcd.c Rename vpx_scale/rtcd.c to vpx_scale/vpx_scale_rtcd.c 2012-11-30 15:53:17 -08:00
vpx_scale_rtcd.pl Only build neon assembly for armv7 targets 2014-05-12 08:52:02 -07:00
vpx_scale.h {,vpx_scale}: normalize include guards 2013-12-16 19:41:13 -08:00
vpx_scale.mk Only build neon assembly for armv7 targets 2014-05-12 08:52:02 -07:00
yv12config.h cosmetics: yv12config.h: remove extra indent 2014-02-13 19:25:28 -08:00