OSDN Git Service

swscale: fix 16-bit scaling when output is 8-bits.
authorRonald S. Bultje <rsbultje@gmail.com>
Fri, 8 Jul 2011 21:52:52 +0000 (14:52 -0700)
committerRonald S. Bultje <rsbultje@gmail.com>
Fri, 8 Jul 2011 22:15:30 +0000 (15:15 -0700)
commit42d622fab31dbcae91fd4b0810e0ac07027e2df1
tree2bac1655381987933c453be6ef90bc7be4aa564a
parentbda168d2b0210dda84f1a9d32c8aa4653d1674d5
swscale: fix 16-bit scaling when output is 8-bits.

We would use the second half of the U plane buffer, rather than the
V plane buffer, to output the V plane pixels.
libswscale/utils.c
libswscale/x86/swscale_template.c
tests/ref/lavfi/pixdesc
tests/ref/lavfi/pixfmts_copy
tests/ref/lavfi/pixfmts_crop
tests/ref/lavfi/pixfmts_hflip
tests/ref/lavfi/pixfmts_null
tests/ref/lavfi/pixfmts_scale
tests/ref/lavfi/pixfmts_vflip