diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2011-05-08 14:20:57 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-05-08 14:27:13 +0200 |
commit | b9e608492a1458ae3376e8aeacfeca6a3452a6ff (patch) | |
tree | d6ff7cbf76542593b037ceeb5b9dafefd8b4f3f5 /libswscale/utils.c | |
parent | 299cbe2c9b0e883bda4042ea8b4f1476216d0ea1 (diff) | |
download | ffmpeg-b9e608492a1458ae3376e8aeacfeca6a3452a6ff.tar.gz |
swscale: 9,10 bits pixel format output support
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswscale/utils.c')
-rw-r--r-- | libswscale/utils.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libswscale/utils.c b/libswscale/utils.c index d96cc57ccf..2c6269487a 100644 --- a/libswscale/utils.c +++ b/libswscale/utils.c @@ -115,6 +115,7 @@ const char *swscale_license(void) || (x)==PIX_FMT_YUV444P16BE \ || (x)==PIX_FMT_YUV420P9 \ || (x)==PIX_FMT_YUV420P10 \ + || (x)==PIX_FMT_YUV422P10 \ ) int sws_isSupportedInput(enum PixelFormat pix_fmt) @@ -142,6 +143,9 @@ int sws_isSupportedInput(enum PixelFormat pix_fmt) || (x)==PIX_FMT_GRAY8 \ || (x)==PIX_FMT_YUV410P \ || (x)==PIX_FMT_YUV440P \ + || (x)==PIX_FMT_YUV420P9 \ + || (x)==PIX_FMT_YUV420P10 \ + || (x)==PIX_FMT_YUV422P10 \ || (x)==PIX_FMT_YUV420P16LE \ || (x)==PIX_FMT_YUV422P16LE \ || (x)==PIX_FMT_YUV444P16LE \ |