diff options
author | Oskar Arvidsson <oskar@irock.se> | 2011-03-29 19:48:47 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-04-11 00:33:41 +0400 |
commit | d4497f6dfb8dddf25b7be441f16d387aa18a65d6 (patch) | |
tree | a688c802bf50f533e5c66798c2aecc247c0e3a20 /libswscale/utils.c | |
parent | af0b2d6736a99203fed3014a3e83f8226dade2af (diff) |
Add pixel formats for 9- and 10-bit yuv420p.
Also add support for these formats in libswscale.
Needed for high bit depth h264 decoding.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswscale/utils.c')
-rw-r--r-- | libswscale/utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libswscale/utils.c b/libswscale/utils.c index 9accfdadd0..a343bf2570 100644 --- a/libswscale/utils.c +++ b/libswscale/utils.c @@ -112,6 +112,8 @@ const char *swscale_license(void) || (x)==PIX_FMT_YUV420P16BE \ || (x)==PIX_FMT_YUV422P16BE \ || (x)==PIX_FMT_YUV444P16BE \ + || (x)==PIX_FMT_YUV420P9 \ + || (x)==PIX_FMT_YUV420P10 \ ) int sws_isSupportedInput(enum PixelFormat pix_fmt) |