aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2018-09-09 17:56:43 +0200
committerPaul B Mahol <onemda@gmail.com>2018-09-09 17:56:43 +0200
commit43421386f2ccc6975656e6ee989298528cd53993 (patch)
treefeb659b0e310a61e4d717143f11d57363dfa6003 /libavfilter
parent4b1b47e81b5c031953ed2d466fc659d5e13082b7 (diff)
downloadffmpeg-43421386f2ccc6975656e6ee989298528cd53993.tar.gz
avfilter/vf_extractplanes: fix 14bit format extraction
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_extractplanes.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libavfilter/vf_extractplanes.c b/libavfilter/vf_extractplanes.c
index cbd0c422a2..6bce313189 100644
--- a/libavfilter/vf_extractplanes.c
+++ b/libavfilter/vf_extractplanes.c
@@ -110,6 +110,10 @@ static int query_formats(AVFilterContext *ctx)
AV_PIX_FMT_YUVA422P9LE,
AV_PIX_FMT_YUVA444P9LE,
AV_PIX_FMT_GBRP9LE,
+ AV_PIX_FMT_GBRP14LE,
+ AV_PIX_FMT_YUV420P14LE,
+ AV_PIX_FMT_YUV422P14LE,
+ AV_PIX_FMT_YUV444P14LE,
AV_PIX_FMT_NONE,
};
static const enum AVPixelFormat in_pixfmts_be[] = {
@@ -156,6 +160,10 @@ static int query_formats(AVFilterContext *ctx)
AV_PIX_FMT_YUVA422P9BE,
AV_PIX_FMT_YUVA444P9BE,
AV_PIX_FMT_GBRP9BE,
+ AV_PIX_FMT_GBRP14BE,
+ AV_PIX_FMT_YUV420P14BE,
+ AV_PIX_FMT_YUV422P14BE,
+ AV_PIX_FMT_YUV444P14BE,
AV_PIX_FMT_NONE,
};
static const enum AVPixelFormat out8_pixfmts[] = { AV_PIX_FMT_GRAY8, AV_PIX_FMT_NONE };