avfilter/vf_mpdecimate: support more pixel formats, including GBRP

Add some planar formats we can handle without distorting the meaning of
hi and lo.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/136/head
Peter Cordes 10 years ago committed by Michael Niedermayer
parent 50f112c915
commit 6590acf0fd
  1. 9
      libavfilter/vf_mpdecimate.c

@ -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);

Loading…
Cancel
Save