Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOskar Arvidsson <oskar@irock.se>2011-03-29 19:48:47 +0400
committerMichael Niedermayer <michaelni@gmx.at>2011-04-11 00:33:41 +0400
commitd4497f6dfb8dddf25b7be441f16d387aa18a65d6 (patch)
treea688c802bf50f533e5c66798c2aecc247c0e3a20 /libswscale/utils.c
parentaf0b2d6736a99203fed3014a3e83f8226dade2af (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.c2
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)