[FFmpeg-cvslog] avfilter/vf_xmedian: add support for alpha formats

Paul B Mahol git at videolan.org
Mon Nov 18 19:40:30 EET 2019


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Mon Nov 18 16:59:15 2019 +0100| [73b730e3e688301305a688d5cb4af2d1c67e7aa4] | committer: Paul B Mahol

avfilter/vf_xmedian: add support for alpha formats

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=73b730e3e688301305a688d5cb4af2d1c67e7aa4
---

 libavfilter/vf_xmedian.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/libavfilter/vf_xmedian.c b/libavfilter/vf_xmedian.c
index 672b3a7e78..49ba8f44f1 100644
--- a/libavfilter/vf_xmedian.c
+++ b/libavfilter/vf_xmedian.c
@@ -75,6 +75,11 @@ static int query_formats(AVFilterContext *ctx)
         AV_PIX_FMT_YUV420P16, AV_PIX_FMT_YUV422P16, AV_PIX_FMT_YUV444P16,
         AV_PIX_FMT_GBRP, AV_PIX_FMT_GBRP9, AV_PIX_FMT_GBRP10,
         AV_PIX_FMT_GBRP12, AV_PIX_FMT_GBRP14, AV_PIX_FMT_GBRP16,
+        AV_PIX_FMT_YUVA420P,  AV_PIX_FMT_YUVA422P,   AV_PIX_FMT_YUVA444P,
+        AV_PIX_FMT_YUVA444P9, AV_PIX_FMT_YUVA444P10, AV_PIX_FMT_YUVA444P12, AV_PIX_FMT_YUVA444P16,
+        AV_PIX_FMT_YUVA422P9, AV_PIX_FMT_YUVA422P10, AV_PIX_FMT_YUVA422P12, AV_PIX_FMT_YUVA422P16,
+        AV_PIX_FMT_YUVA420P9, AV_PIX_FMT_YUVA420P10, AV_PIX_FMT_YUVA420P16,
+        AV_PIX_FMT_GBRAP,     AV_PIX_FMT_GBRAP10,    AV_PIX_FMT_GBRAP12,    AV_PIX_FMT_GBRAP16,
         AV_PIX_FMT_NONE
     };
     AVFilterFormats *formats = ff_make_format_list(pixel_fmts);



More information about the ffmpeg-cvslog mailing list