diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-07-20 01:05:35 -0400 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-08-04 12:56:05 +0100 |
commit | f84a1b597c29dc035b8d5529ef88c2d7ff057820 (patch) | |
tree | bf2504960b962a10cfdb869caecaaad613ccb818 /libswscale/swscale_internal.h | |
parent | e9abafca278f87e1ecc6d50091d99b73ff63c9a6 (diff) | |
download | ffmpeg-f84a1b597c29dc035b8d5529ef88c2d7ff057820.tar.gz |
swscale: support AV_PIX_FMT_YA16 as input
Based on a long debug session with Kostya.
Diffstat (limited to 'libswscale/swscale_internal.h')
-rw-r--r-- | libswscale/swscale_internal.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h index 4aef9617dd..a0daa071e9 100644 --- a/libswscale/swscale_internal.h +++ b/libswscale/swscale_internal.h @@ -608,7 +608,9 @@ static av_always_inline int isRGB(enum AVPixelFormat pix_fmt) ((x) == AV_PIX_FMT_GRAY8 || \ (x) == AV_PIX_FMT_YA8 || \ (x) == AV_PIX_FMT_GRAY16BE || \ - (x) == AV_PIX_FMT_GRAY16LE) + (x) == AV_PIX_FMT_GRAY16LE || \ + (x) == AV_PIX_FMT_YA16BE || \ + (x) == AV_PIX_FMT_YA16LE) #endif #define isRGBinInt(x) \ |