avfilter/vf_pseudocolor: add support for more planar alpha formats

pull/390/head
Paul B Mahol 1 year ago
parent 0aa75a85e6
commit 7ce2e5f3ea
  1. 9
      libavfilter/vf_pseudocolor.c

@ -384,8 +384,8 @@ static const enum AVPixelFormat pix_fmts[] = {
AV_PIX_FMT_YUV422P10, AV_PIX_FMT_YUVA422P10,
AV_PIX_FMT_YUV444P10, AV_PIX_FMT_YUVA444P10,
AV_PIX_FMT_YUV420P12,
AV_PIX_FMT_YUV422P12,
AV_PIX_FMT_YUV444P12,
AV_PIX_FMT_YUV422P12, AV_PIX_FMT_YUVA422P12,
AV_PIX_FMT_YUV444P12, AV_PIX_FMT_YUVA444P12,
AV_PIX_FMT_YUV420P14,
AV_PIX_FMT_YUV422P14,
AV_PIX_FMT_YUV444P14,
@ -395,7 +395,7 @@ static const enum AVPixelFormat pix_fmts[] = {
AV_PIX_FMT_GBRP9,
AV_PIX_FMT_GBRP10, AV_PIX_FMT_GBRAP10,
AV_PIX_FMT_GBRP12, AV_PIX_FMT_GBRAP12,
AV_PIX_FMT_GBRP14,
AV_PIX_FMT_GBRP14, AV_PIX_FMT_GBRAP14,
AV_PIX_FMT_GBRP16, AV_PIX_FMT_GBRAP16,
AV_PIX_FMT_NONE
};
@ -901,6 +901,7 @@ static int config_input(AVFilterLink *inlink)
case AV_PIX_FMT_YUV444P10:
case AV_PIX_FMT_YUVA444P10:
case AV_PIX_FMT_YUV444P12:
case AV_PIX_FMT_YUVA444P12:
case AV_PIX_FMT_YUV444P14:
case AV_PIX_FMT_YUV444P16:
case AV_PIX_FMT_YUVA444P16:
@ -911,6 +912,7 @@ static int config_input(AVFilterLink *inlink)
case AV_PIX_FMT_GBRP16:
case AV_PIX_FMT_GBRAP10:
case AV_PIX_FMT_GBRAP12:
case AV_PIX_FMT_GBRAP14:
case AV_PIX_FMT_GBRAP16:
case AV_PIX_FMT_GRAY9:
case AV_PIX_FMT_GRAY10:
@ -924,6 +926,7 @@ static int config_input(AVFilterLink *inlink)
case AV_PIX_FMT_YUV422P10:
case AV_PIX_FMT_YUVA422P10:
case AV_PIX_FMT_YUV422P12:
case AV_PIX_FMT_YUVA422P12:
case AV_PIX_FMT_YUV422P14:
case AV_PIX_FMT_YUV422P16:
case AV_PIX_FMT_YUVA422P16:

Loading…
Cancel
Save