diff options
author | Janne Grunau <janne-libav@jannau.net> | 2013-04-26 14:47:50 +0200 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2013-05-06 21:48:14 +0200 |
commit | 9cfa21c8c2b81146aab574f55c93f27e5c2d435c (patch) | |
tree | 56e93b84a0e8e8e4d4aeeff320cc59f9f21f6b94 /libswscale/swscale_unscaled.c | |
parent | c1eb3e7fecdc270e03a700d61ef941600a6af491 (diff) | |
download | ffmpeg-9cfa21c8c2b81146aab574f55c93f27e5c2d435c.tar.gz |
swscale: support endianness conversion for AV_PIX_FMT_XYZ12
Diffstat (limited to 'libswscale/swscale_unscaled.c')
-rw-r--r-- | libswscale/swscale_unscaled.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libswscale/swscale_unscaled.c b/libswscale/swscale_unscaled.c index a994d6f2f5..433dbdb46e 100644 --- a/libswscale/swscale_unscaled.c +++ b/libswscale/swscale_unscaled.c @@ -1030,7 +1030,8 @@ void ff_get_unscaled_swscale(SwsContext *c) IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_RGB444) || IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_RGB48) || IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_RGB555) || - IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_RGB565)) + IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_RGB565) || + IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_XYZ12)) c->swScale = packed_16bpc_bswap; if ((usePal(srcFormat) && ( |