summaryrefslogtreecommitdiff
path: root/libswscale/utils.c
diff options
context:
space:
mode:
authorKieran Kunhya <kieran@kunhya.com>2016-02-08 21:40:10 +0000
committerLuca Barbato <lu_zero@gentoo.org>2016-10-12 21:33:34 +0200
commit81f1f6c3f62b1dd5e7433583929d46958522ceb3 (patch)
tree11fcf0a0611f54dc5d171ba734fba60ad9575744 /libswscale/utils.c
parentef3740c3a02bb8448bf7129e336c20846731bd1c (diff)
Add GBRAP12 pixel format support
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'libswscale/utils.c')
-rw-r--r--libswscale/utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libswscale/utils.c b/libswscale/utils.c
index ad5518acfc..5c7d6316ca 100644
--- a/libswscale/utils.c
+++ b/libswscale/utils.c
@@ -189,6 +189,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_GBRAP12LE] = { 1, 0 },
+ [AV_PIX_FMT_GBRAP12BE] = { 1, 0 },
[AV_PIX_FMT_GBRAP16LE] = { 1, 0 },
[AV_PIX_FMT_GBRAP16BE] = { 1, 0 },
[AV_PIX_FMT_XYZ12BE] = { 0, 0, 1 },