aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_histogram.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2019-12-29 12:09:21 +0100
committerPaul B Mahol <onemda@gmail.com>2019-12-29 15:33:55 +0100
commit612b5791b821df502e0975e1bb5816a1214121fb (patch)
tree6455cfba7e30e1d5d3af39b625591b6d786f66c6 /libavfilter/vf_histogram.c
parentd3d6f5a76e25cf3b491d28aeb6911e9ed98c0d19 (diff)
downloadffmpeg-612b5791b821df502e0975e1bb5816a1214121fb.tar.gz
avfilter/vf_histogram: add support for 12bit yuva formats
Diffstat (limited to 'libavfilter/vf_histogram.c')
-rw-r--r--libavfilter/vf_histogram.c3
1 files changed, 2 insertions, 1 deletions
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
};