aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2023-09-28 23:07:24 +0200
committerPaul B Mahol <onemda@gmail.com>2023-09-28 23:09:31 +0200
commit7ce2e5f3ea3acf09b786bf3500989f0955deb71c (patch)
tree800d765630fcd8bd30f19997097dbcfb8096ca4d
parent0aa75a85e6cf6698784ddf8138059399dd89c2b7 (diff)
downloadffmpeg-7ce2e5f3ea3acf09b786bf3500989f0955deb71c.tar.gz
avfilter/vf_pseudocolor: add support for more planar alpha formats
-rw-r--r--libavfilter/vf_pseudocolor.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/libavfilter/vf_pseudocolor.c b/libavfilter/vf_pseudocolor.c
index 81b2e5b9bc..9a7a7ff164 100644
--- a/libavfilter/vf_pseudocolor.c
+++ b/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: