aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/swscale_unscaled.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2017-08-05 14:28:45 +0200
committerPaul B Mahol <onemda@gmail.com>2017-08-07 13:09:41 +0200
commitde48710c11cebd4c50bb51ebf3cb5fd0e6a79d40 (patch)
tree7f75be482d1e5ec17659af7dc6c82187cc12b043 /libswscale/swscale_unscaled.c
parentab6d89d7ee5cdb4b5e58efbf5bbc2517e39aa705 (diff)
downloadffmpeg-de48710c11cebd4c50bb51ebf3cb5fd0e6a79d40.tar.gz
libswscale: add gray9 support
Diffstat (limited to 'libswscale/swscale_unscaled.c')
-rw-r--r--libswscale/swscale_unscaled.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libswscale/swscale_unscaled.c b/libswscale/swscale_unscaled.c
index ba3d688a26..3b1b3667ce 100644
--- a/libswscale/swscale_unscaled.c
+++ b/libswscale/swscale_unscaled.c
@@ -1796,6 +1796,7 @@ void ff_get_unscaled_swscale(SwsContext *c)
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_GRAY9) ||
IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_GRAY10) ||
IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_GRAY12) ||
IS_DIFFERENT_ENDIANESS(srcFormat, dstFormat, AV_PIX_FMT_GRAY16) ||