OSDN Git Service

swscale: fix YUV420P 9/10bit support.
authorRonald S. Bultje <rsbultje@gmail.com>
Wed, 11 May 2011 23:15:14 +0000 (19:15 -0400)
committerRonald S. Bultje <rsbultje@gmail.com>
Wed, 11 May 2011 23:15:14 +0000 (19:15 -0400)
commitc8f487deae75d4f25c2ec39ab484c1075f909bbd
treeb396d4df1077aef64b17a794a3224ec540e4c3e3
parent5705b02079449c685a3dd337fcc3a8b440dca4a0
swscale: fix YUV420P 9/10bit support.

Fix handling of input if not in native endianness, and add support for
9/10-bit output. This allows us to force endianness of YUV420P 9/10bit
in the H264/10bit fate tests, which should fix them on big-endian
systems.
13 files changed:
libavutil/pixfmt.h
libswscale/ppc/swscale_template.c
libswscale/swscale.c
libswscale/swscale_internal.h
libswscale/swscale_template.c
libswscale/utils.c
libswscale/x86/swscale_template.c
tests/fate/h264.mak
tests/ref/lavfi/pixdesc_le
tests/ref/lavfi/pixfmts_copy_le
tests/ref/lavfi/pixfmts_null_le
tests/ref/lavfi/pixfmts_scale_le
tests/ref/lavfi/pixfmts_vflip_le