diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-27 17:22:25 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-10-05 18:58:25 +0200 |
commit | 688696790cc69b81d92f9c1a3e753399cdfb1508 (patch) | |
tree | bfbeb994c2065e223b2080977abedc2d7d8062e3 /libavfilter/vidstabutils.c | |
parent | e54b9bb8a20888f7b9bc00c1dbc6319e60bc7169 (diff) | |
download | ffmpeg-688696790cc69b81d92f9c1a3e753399cdfb1508.tar.gz |
avfilter/vf_vidstab(detect|transform): Deduplicate pixel formats
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/vidstabutils.c')
-rw-r--r-- | libavfilter/vidstabutils.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libavfilter/vidstabutils.c b/libavfilter/vidstabutils.c index 1199dbd56e..56fbdbdb87 100644 --- a/libavfilter/vidstabutils.c +++ b/libavfilter/vidstabutils.c @@ -20,6 +20,14 @@ #include "vidstabutils.h" +const enum AVPixelFormat ff_vidstab_pix_fmts[] = { + AV_PIX_FMT_YUV444P, AV_PIX_FMT_YUV422P, AV_PIX_FMT_YUV420P, + AV_PIX_FMT_YUV411P, AV_PIX_FMT_YUV410P, AV_PIX_FMT_YUVA420P, + AV_PIX_FMT_YUV440P, AV_PIX_FMT_GRAY8, + AV_PIX_FMT_RGB24, AV_PIX_FMT_BGR24, AV_PIX_FMT_RGBA, + AV_PIX_FMT_NONE +}; + /** convert AV's pixelformat to vid.stab pixelformat */ VSPixelFormat ff_av2vs_pixfmt(AVFilterContext *ctx, enum AVPixelFormat pf) { |