Commit f60fdbc9 authored by Gyan Doshi's avatar Gyan Doshi Committed by Paul B Mahol

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

At present, 16-bit auto-scaled format results in incorrect alpha
extraction.
parent 282a4718
...@@ -99,6 +99,8 @@ AVFILTER_DEFINE_CLASS(extractplanes); ...@@ -99,6 +99,8 @@ AVFILTER_DEFINE_CLASS(extractplanes);
AV_PIX_FMT_YUV422P12##suf, \ AV_PIX_FMT_YUV422P12##suf, \
AV_PIX_FMT_YUV444P12##suf, \ AV_PIX_FMT_YUV444P12##suf, \
AV_PIX_FMT_YUV440P12##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_GBRP10##suf, AV_PIX_FMT_GBRAP10##suf, \
AV_PIX_FMT_GBRP12##suf, AV_PIX_FMT_GBRAP12##suf, \ AV_PIX_FMT_GBRP12##suf, AV_PIX_FMT_GBRAP12##suf, \
AV_PIX_FMT_YUV420P9##suf, \ AV_PIX_FMT_YUV420P9##suf, \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment