swscale: fix JPEG-range YUV scaling artifacts.
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 13 Jun 2011 01:53:22 +0000 (21:53 -0400)
committerRonald S. Bultje <rsbultje@gmail.com>
Tue, 14 Jun 2011 13:46:49 +0000 (09:46 -0400)
commit0af8a71d66305874bd6f0ebc84ebf99339b6a5d3
tree6807ebfdaa9996cac5a57c0f3075af41b283f1a7
parentcf53c48615658a6019ffb7e8453913bbfd38cb27
swscale: fix JPEG-range YUV scaling artifacts.

YUV planes were marked as uint16_t, but they contained signed data.
Fixes issue 1108 and 675.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
libswscale/swscale.c
libswscale/swscale_internal.h
tests/ref/lavf/pixfmt
tests/ref/lavfi/pixdesc_be
tests/ref/lavfi/pixdesc_le
tests/ref/lavfi/pixfmts_copy_le
tests/ref/lavfi/pixfmts_hflip_le
tests/ref/lavfi/pixfmts_null_le
tests/ref/lavfi/pixfmts_pad_le
tests/ref/lavfi/pixfmts_scale_le
tests/ref/lavfi/pixfmts_vflip_le