avfilter/vf_mpdecimate: support more pixel formats, including GBRP
authorPeter Cordes <peter@cordes.ca>
Wed, 4 Mar 2015 07:35:36 +0000 (03:35 -0400)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 31 May 2015 11:58:50 +0000 (13:58 +0200)
Add some planar formats we can handle without distorting the meaning of
hi and lo.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/vf_mpdecimate.c

index 429121d..cb3e69f 100644 (file)
@@ -162,6 +162,15 @@ static int query_formats(AVFilterContext *ctx)
         AV_PIX_FMT_YUVJ444P,     AV_PIX_FMT_YUVJ422P,
         AV_PIX_FMT_YUVJ420P,     AV_PIX_FMT_YUVJ440P,
         AV_PIX_FMT_YUVA420P,
+
+        AV_PIX_FMT_GRAY8A,
+        AV_PIX_FMT_YA8,
+
+        AV_PIX_FMT_GBRP,
+
+        AV_PIX_FMT_YUVA444P,
+        AV_PIX_FMT_YUVA422P,
+
         AV_PIX_FMT_NONE
     };
     AVFilterFormats *fmts_list = ff_make_format_list(pix_fmts);