summaryrefslogtreecommitdiffstats
path: root/libswscale
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-11-10 00:02:50 +0100
committerLuca Barbato <lu_zero@gentoo.org>2017-04-15 15:37:10 +0200
commitac29b82ec596c19c649b43f9988cbcc56f83b9e8 (patch)
treee2345bd271ff9eec0df0cbff735c730609c91642 /libswscale
parentf6a9c20a52d67df2cd1cdbe3d2c58f336666b7d4 (diff)
downloadffmpeg-streaming-ac29b82ec596c19c649b43f9988cbcc56f83b9e8.zip
ffmpeg-streaming-ac29b82ec596c19c649b43f9988cbcc56f83b9e8.tar.gz
swscale: Add gbrap10 output
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/output.c2
-rw-r--r--libswscale/utils.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/libswscale/output.c b/libswscale/output.c
index d0c303c..cfb2043 100644
--- a/libswscale/output.c
+++ b/libswscale/output.c
@@ -1457,6 +1457,8 @@ av_cold void ff_sws_init_output_funcs(SwsContext *c,
case AV_PIX_FMT_GBRP10LE:
case AV_PIX_FMT_GBRP12BE:
case AV_PIX_FMT_GBRP12LE:
+ case AV_PIX_FMT_GBRAP10BE:
+ case AV_PIX_FMT_GBRAP10LE:
case AV_PIX_FMT_GBRAP12BE:
case AV_PIX_FMT_GBRAP12LE:
case AV_PIX_FMT_GBRP16BE:
diff --git a/libswscale/utils.c b/libswscale/utils.c
index 3a5c779..248a808 100644
--- a/libswscale/utils.c
+++ b/libswscale/utils.c
@@ -191,8 +191,8 @@ static const FormatEntry format_entries[AV_PIX_FMT_NB] = {
[AV_PIX_FMT_GBRP16LE] = { 1, 0 },
[AV_PIX_FMT_GBRP16BE] = { 1, 0 },
[AV_PIX_FMT_GBRAP] = { 1, 1 },
- [AV_PIX_FMT_GBRAP10LE] = { 1, 0 },
- [AV_PIX_FMT_GBRAP10BE] = { 1, 0 },
+ [AV_PIX_FMT_GBRAP10LE] = { 1, 1 },
+ [AV_PIX_FMT_GBRAP10BE] = { 1, 1 },
[AV_PIX_FMT_GBRAP12LE] = { 1, 1 },
[AV_PIX_FMT_GBRAP12BE] = { 1, 1 },
[AV_PIX_FMT_GBRAP16LE] = { 1, 0 },
OpenPOWER on IntegriCloud