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

At present, 16-bit auto-scaled format results in incorrect alpha
extraction.
This commit is contained in:
Gyan Doshi 2019-01-17 15:01:11 +05:30 committed by Paul B Mahol
parent 282a471857
commit f60fdbc960
1 changed files with 2 additions and 0 deletions

View File

@ -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, \