diff options
author | Janne Grunau <janne-libav@jannau.net> | 2014-04-02 00:39:58 +0200 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2014-04-02 11:39:26 +0200 |
commit | 0ca0924c10d9617a5793964bf79655424ef32b68 (patch) | |
tree | 5bcddafc256736c4e2b5dcc5361b1d96ef1fcd92 /libswscale/swscale_unscaled.c | |
parent | c61114834018336d39ea4efee705f3dd973f4d15 (diff) | |
download | ffmpeg-0ca0924c10d9617a5793964bf79655424ef32b68.tar.gz |
swscale: add endianness conversion for AV_PIX_FMT_BGRA64|RGBA64
Diffstat (limited to 'libswscale/swscale_unscaled.c')
-rw-r--r-- | libswscale/swscale_unscaled.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libswscale/swscale_unscaled.c b/libswscale/swscale_unscaled.c index 61f0d4705d..3a956f4f8a 100644 --- a/libswscale/swscale_unscaled.c +++ b/libswscale/swscale_unscaled.c @@ -1051,11 +1051,13 @@ void ff_get_unscaled_swscale(SwsContext *c) IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_BGR48) || IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_BGR555) || IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_BGR565) || + IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_BGRA64) || IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_GRAY16) || 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_RGBA64) || IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_XYZ12)) c->swscale = packed_16bpc_bswap; |