diff options
author | Paul B Mahol <onemda@gmail.com> | 2019-12-29 12:13:21 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2019-12-29 15:33:55 +0100 |
commit | 11f6657e923b2cdc73401084185e62f515e4885c (patch) | |
tree | 159ae3e8c9ef65946610af43b91bd690c7bb1870 /libavfilter | |
parent | 612b5791b821df502e0975e1bb5816a1214121fb (diff) | |
download | ffmpeg-11f6657e923b2cdc73401084185e62f515e4885c.tar.gz |
avfilter/vf_vectorscope: add support for 12bit yuva formats
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_vectorscope.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavfilter/vf_vectorscope.c b/libavfilter/vf_vectorscope.c index 37e36b9eef..38af878042 100644 --- a/libavfilter/vf_vectorscope.c +++ b/libavfilter/vf_vectorscope.c @@ -155,7 +155,7 @@ static const enum AVPixelFormat out_yuv10_pix_fmts[] = { }; static const enum AVPixelFormat out_yuv12_pix_fmts[] = { - AV_PIX_FMT_YUV444P12, + AV_PIX_FMT_YUVA444P12, AV_PIX_FMT_YUV444P12, AV_PIX_FMT_NONE }; @@ -183,7 +183,7 @@ static const enum AVPixelFormat in1_pix_fmts[] = { AV_PIX_FMT_YUVA444P, AV_PIX_FMT_YUV444P, AV_PIX_FMT_YUVJ444P, AV_PIX_FMT_YUV444P9, AV_PIX_FMT_YUV444P10, AV_PIX_FMT_YUVA444P9, AV_PIX_FMT_YUVA444P10, - AV_PIX_FMT_YUV444P12, + AV_PIX_FMT_YUVA444P12, AV_PIX_FMT_YUV444P12, 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, @@ -204,6 +204,7 @@ static const enum AVPixelFormat in2_pix_fmts[] = { AV_PIX_FMT_YUVA420P9, AV_PIX_FMT_YUVA422P9, AV_PIX_FMT_YUVA444P9, 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_NONE }; |