[FFmpeg-cvslog] avfilter/vf_histogram: add support for 12bit yuva formats

Paul B Mahol git at videolan.org
Sun Dec 29 16:36:23 EET 2019


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sun Dec 29 12:09:21 2019 +0100| [612b5791b821df502e0975e1bb5816a1214121fb] | committer: Paul B Mahol

avfilter/vf_histogram: add support for 12bit yuva formats

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

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

diff --git a/libavfilter/vf_histogram.c b/libavfilter/vf_histogram.c
index a0728ce487..4e95ea3208 100644
--- a/libavfilter/vf_histogram.c
+++ b/libavfilter/vf_histogram.c
@@ -95,6 +95,7 @@ static const enum AVPixelFormat levels_in_pix_fmts[] = {
     AV_PIX_FMT_YUV420P10, AV_PIX_FMT_YUV422P10, AV_PIX_FMT_YUV444P10,
     AV_PIX_FMT_YUVA420P10, AV_PIX_FMT_YUVA422P10, AV_PIX_FMT_YUVA444P10,
     AV_PIX_FMT_YUV420P12, AV_PIX_FMT_YUV422P12, AV_PIX_FMT_YUV444P12, AV_PIX_FMT_YUV440P12,
+    AV_PIX_FMT_YUVA422P12, AV_PIX_FMT_YUVA444P12,
     AV_PIX_FMT_GBRAP,    AV_PIX_FMT_GBRP,
     AV_PIX_FMT_GBRP9,    AV_PIX_FMT_GBRP10,  AV_PIX_FMT_GBRAP10,
     AV_PIX_FMT_GBRP12,   AV_PIX_FMT_GBRAP12,
@@ -118,7 +119,7 @@ static const enum AVPixelFormat levels_out_yuv10_pix_fmts[] = {
 };
 
 static const enum AVPixelFormat levels_out_yuv12_pix_fmts[] = {
-    AV_PIX_FMT_YUV444P12,
+    AV_PIX_FMT_YUVA444P12, AV_PIX_FMT_YUV444P12,
     AV_PIX_FMT_NONE
 };
 



More information about the ffmpeg-cvslog mailing list