avfilter/vf_spp: add support for 9bit YUV and GBR as well as GBRP10
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 20 Dec 2014 17:33:52 +0000 (18:33 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 20 Dec 2014 17:33:52 +0000 (18:33 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/vf_spp.c

index 68957b1..67dc800 100644 (file)
@@ -321,8 +321,12 @@ static int query_formats(AVFilterContext *ctx)
         AV_PIX_FMT_YUVJ420P, AV_PIX_FMT_YUVJ440P,
         AV_PIX_FMT_YUV444P10,  AV_PIX_FMT_YUV422P10,
         AV_PIX_FMT_YUV420P10,
+        AV_PIX_FMT_YUV444P9,  AV_PIX_FMT_YUV422P9,
+        AV_PIX_FMT_YUV420P9,
         AV_PIX_FMT_GRAY8,
         AV_PIX_FMT_GBRP,
+        AV_PIX_FMT_GBRP9,
+        AV_PIX_FMT_GBRP10,
         AV_PIX_FMT_NONE
     };
     ff_set_common_formats(ctx, ff_make_format_list(pix_fmts));