[FFmpeg-cvslog] avfilter/vf_negate: add support for more planar with alpha

Paul B Mahol git at videolan.org
Thu Sep 28 23:49:21 EEST 2023


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Thu Sep 28 22:08:59 2023 +0200| [35b6d9d80ca20a5598d2a7787acc73985bbf666b] | committer: Paul B Mahol

avfilter/vf_negate: add support for more planar with alpha

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=35b6d9d80ca20a5598d2a7787acc73985bbf666b
---

 libavfilter/vf_negate.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/libavfilter/vf_negate.c b/libavfilter/vf_negate.c
index 4887fc4860..58be43a44b 100644
--- a/libavfilter/vf_negate.c
+++ b/libavfilter/vf_negate.c
@@ -87,6 +87,8 @@ static const enum AVPixelFormat pix_fmts[] = {
     AV_PIX_FMT_YUV444P12, AV_PIX_FMT_YUV422P12, AV_PIX_FMT_YUV420P12, AV_PIX_FMT_YUV440P12,
     AV_PIX_FMT_YUV444P14, AV_PIX_FMT_YUV422P14, AV_PIX_FMT_YUV420P14,
     AV_PIX_FMT_YUV444P16, AV_PIX_FMT_YUV422P16, AV_PIX_FMT_YUV420P16,
+    AV_PIX_FMT_YUVA444P10, AV_PIX_FMT_YUVA422P10, AV_PIX_FMT_YUVA420P10,
+    AV_PIX_FMT_YUVA444P12, AV_PIX_FMT_YUVA422P12,
     AV_PIX_FMT_YUVA444P16, AV_PIX_FMT_YUVA422P16, AV_PIX_FMT_YUVA420P16,
     AV_PIX_FMT_ARGB, AV_PIX_FMT_RGBA,
     AV_PIX_FMT_ABGR, AV_PIX_FMT_BGRA,
@@ -95,7 +97,7 @@ static const enum AVPixelFormat pix_fmts[] = {
     AV_PIX_FMT_BGR48, AV_PIX_FMT_BGRA64,
     AV_PIX_FMT_GBRP, AV_PIX_FMT_GBRAP,
     AV_PIX_FMT_GBRP9, AV_PIX_FMT_GBRP10,
-    AV_PIX_FMT_GBRAP10,
+    AV_PIX_FMT_GBRAP10, AV_PIX_FMT_GBRAP14,
     AV_PIX_FMT_GBRP12, AV_PIX_FMT_GBRP14,
     AV_PIX_FMT_GBRP16, AV_PIX_FMT_GBRAP12,
     AV_PIX_FMT_GBRAP16,



More information about the ffmpeg-cvslog mailing list