avfilter/vf_decimate: add gray16 and yuv440p
authorPaul B Mahol <onemda@gmail.com>
Wed, 11 Sep 2013 13:46:33 +0000 (13:46 +0000)
committerPaul B Mahol <onemda@gmail.com>
Thu, 19 Sep 2013 17:53:05 +0000 (17:53 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavfilter/vf_decimate.c

index 36284a0..abd0776 100644 (file)
@@ -340,8 +340,8 @@ static int query_formats(AVFilterContext *ctx)
 #define PF_ALPHA(suf)   AV_PIX_FMT_YUVA420##suf, AV_PIX_FMT_YUVA422##suf, AV_PIX_FMT_YUVA444##suf
 #define PF(suf)         PF_NOALPHA(suf), PF_ALPHA(suf)
         PF(P), PF(P9), PF(P10), PF_NOALPHA(P12), PF_NOALPHA(P14), PF(P16),
-        AV_PIX_FMT_YUV411P, AV_PIX_FMT_YUV410P,
-        AV_PIX_FMT_GRAY8,
+        AV_PIX_FMT_YUV440P, AV_PIX_FMT_YUV411P, AV_PIX_FMT_YUV410P,
+        AV_PIX_FMT_GRAY8, AV_PIX_FMT_GRAY16,
         AV_PIX_FMT_NONE
     };
     ff_set_common_formats(ctx, ff_make_format_list(pix_fmts));