[FFmpeg-cvslog] avfilter/vf_lenscorrection: add support for more 8-bit formats
Paul B Mahol
git at videolan.org
Mon Jan 25 01:50:02 EET 2021
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Mon Jan 25 00:43:31 2021 +0100| [833338a02ce3aa657c87fae374167e2f1978fc86] | committer: Paul B Mahol
avfilter/vf_lenscorrection: add support for more 8-bit formats
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=833338a02ce3aa657c87fae374167e2f1978fc86
---
libavfilter/vf_lenscorrection.c | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/libavfilter/vf_lenscorrection.c b/libavfilter/vf_lenscorrection.c
index 8b5e950c16..9df549d51b 100644
--- a/libavfilter/vf_lenscorrection.c
+++ b/libavfilter/vf_lenscorrection.c
@@ -163,12 +163,16 @@ static int filter_slice_bilinear(AVFilterContext *ctx, void *arg, int job, int n
static int query_formats(AVFilterContext *ctx)
{
static const enum AVPixelFormat pix_fmts[] = {
- AV_PIX_FMT_YUV410P,
- AV_PIX_FMT_YUV444P, AV_PIX_FMT_YUVJ444P,
- AV_PIX_FMT_YUV420P, AV_PIX_FMT_YUVJ420P,
- AV_PIX_FMT_YUVA444P, AV_PIX_FMT_YUVA420P,
- AV_PIX_FMT_YUV422P,
- AV_PIX_FMT_GBRP, AV_PIX_FMT_GBRAP,
+ AV_PIX_FMT_GRAY8,
+ AV_PIX_FMT_YUV410P, AV_PIX_FMT_YUV411P,
+ AV_PIX_FMT_YUV420P, AV_PIX_FMT_YUV422P,
+ AV_PIX_FMT_YUV440P, AV_PIX_FMT_YUV444P,
+ AV_PIX_FMT_YUVJ420P, AV_PIX_FMT_YUVJ422P,
+ AV_PIX_FMT_YUVJ440P, AV_PIX_FMT_YUVJ444P,
+ AV_PIX_FMT_YUVJ411P,
+ AV_PIX_FMT_GBRP,
+ AV_PIX_FMT_YUVA420P, AV_PIX_FMT_YUVA422P, AV_PIX_FMT_YUVA444P,
+ AV_PIX_FMT_GBRAP,
AV_PIX_FMT_NONE
};
AVFilterFormats *fmts_list = ff_make_format_list(pix_fmts);
More information about the ffmpeg-cvslog
mailing list