diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2016-11-03 16:10:03 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2016-11-07 22:42:00 +0100 |
commit | ab839054e662d3227e1f795ba1dfd01fe1cf305c (patch) | |
tree | 9c2b042e2ab72015383d5fc28c6901bcd99e36e9 /libswscale/swscale_internal.h | |
parent | 7471352f1915813cda725ce624607d84b5a3a61c (diff) | |
download | ffmpeg-ab839054e662d3227e1f795ba1dfd01fe1cf305c.tar.gz |
swscale: Add GRAY12
Diffstat (limited to 'libswscale/swscale_internal.h')
-rw-r--r-- | libswscale/swscale_internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h index abcdb9f41b..e7a6eedd22 100644 --- a/libswscale/swscale_internal.h +++ b/libswscale/swscale_internal.h @@ -603,6 +603,8 @@ static av_always_inline int isRGB(enum AVPixelFormat pix_fmt) #define isGray(x) \ ((x) == AV_PIX_FMT_GRAY8 || \ (x) == AV_PIX_FMT_YA8 || \ + (x) == AV_PIX_FMT_GRAY12BE || \ + (x) == AV_PIX_FMT_GRAY12LE || \ (x) == AV_PIX_FMT_GRAY16BE || \ (x) == AV_PIX_FMT_GRAY16LE || \ (x) == AV_PIX_FMT_YA16BE || \ |