[FFmpeg-cvslog] avfilter/extractplanes: add support for 12-bit YUVA formats

Gyan Doshi git at videolan.org
Thu Jan 17 12:43:41 EET 2019


ffmpeg | branch: master | Gyan Doshi <ffmpeg at gyani.pro> | Thu Jan 17 15:19:11 2019 +0530| [f60fdbc96074a884eaa36d44946415203d3b2b79] | committer: Paul B Mahol

avfilter/extractplanes: add support for 12-bit YUVA formats

At present, 16-bit auto-scaled format results in incorrect alpha
extraction.

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

 libavfilter/vf_extractplanes.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavfilter/vf_extractplanes.c b/libavfilter/vf_extractplanes.c
index f9171572ed..739c2420cb 100644
--- a/libavfilter/vf_extractplanes.c
+++ b/libavfilter/vf_extractplanes.c
@@ -99,6 +99,8 @@ AVFILTER_DEFINE_CLASS(extractplanes);
         AV_PIX_FMT_YUV422P12##suf,                             \
         AV_PIX_FMT_YUV444P12##suf,                             \
         AV_PIX_FMT_YUV440P12##suf,                             \
+        AV_PIX_FMT_YUVA422P12##suf,                            \
+        AV_PIX_FMT_YUVA444P12##suf,                            \
         AV_PIX_FMT_GBRP10##suf, AV_PIX_FMT_GBRAP10##suf,       \
         AV_PIX_FMT_GBRP12##suf, AV_PIX_FMT_GBRAP12##suf,       \
         AV_PIX_FMT_YUV420P9##suf,                              \



More information about the ffmpeg-cvslog mailing list