aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2019-10-23 10:04:15 +0200
committerPaul B Mahol <onemda@gmail.com>2019-10-23 10:04:15 +0200
commit1cdc805228c777e5e525cf5bc252c768875b5b19 (patch)
tree661c4356cdd5bba6f3bad996d7a05087c3cd14f3
parentba7d55d3fc9851251d8e45eaac6cc7ff7b3986ac (diff)
downloadffmpeg-1cdc805228c777e5e525cf5bc252c768875b5b19.tar.gz
avfilter/vf_floodfill: add more gray formats
-rw-r--r--libavfilter/vf_floodfill.c29
1 files changed, 7 insertions, 22 deletions
diff --git a/libavfilter/vf_floodfill.c b/libavfilter/vf_floodfill.c
index cf8f689559..d40043c234 100644
--- a/libavfilter/vf_floodfill.c
+++ b/libavfilter/vf_floodfill.c
@@ -353,28 +353,13 @@ end:
static av_cold int query_formats(AVFilterContext *ctx)
{
static const enum AVPixelFormat pixel_fmts[] = {
- AV_PIX_FMT_GRAY8,
- AV_PIX_FMT_YUV444P,
- AV_PIX_FMT_YUVA444P,
- AV_PIX_FMT_GBRP,
- 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_GBRP16,
- AV_PIX_FMT_GBRAP16,
- AV_PIX_FMT_GBRAP,
- AV_PIX_FMT_YUV444P9,
- AV_PIX_FMT_YUVA444P9,
- AV_PIX_FMT_YUV444P10,
- AV_PIX_FMT_YUVA444P10,
- AV_PIX_FMT_YUV444P12,
- AV_PIX_FMT_YUV444P14,
- AV_PIX_FMT_GRAY16,
- AV_PIX_FMT_YUV444P16,
- AV_PIX_FMT_YUVA444P16,
+ AV_PIX_FMT_GRAY8, AV_PIX_FMT_GRAY9, AV_PIX_FMT_GRAY10, AV_PIX_FMT_GRAY14, AV_PIX_FMT_GRAY16,
+ AV_PIX_FMT_YUV444P, AV_PIX_FMT_YUVA444P,
+ AV_PIX_FMT_GBRP, 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_GBRP16,
+ AV_PIX_FMT_GBRAP16, AV_PIX_FMT_GBRAP,
+ AV_PIX_FMT_YUV444P9, AV_PIX_FMT_YUVA444P9, AV_PIX_FMT_YUV444P10, AV_PIX_FMT_YUVA444P10,
+ AV_PIX_FMT_YUV444P12, AV_PIX_FMT_YUV444P14, AV_PIX_FMT_YUV444P16, AV_PIX_FMT_YUVA444P16,
AV_PIX_FMT_NONE
};
AVFilterFormats *formats;