summaryrefslogtreecommitdiff
path: root/libavcodec
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 /libavcodec
parentef3740c3a02bb8448bf7129e336c20846731bd1c (diff)
Add GBRAP12 pixel format support
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 837edbd4ed..329233d473 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -233,6 +233,8 @@ void avcodec_align_dimensions2(AVCodecContext *s, int *width, int *height,
case AV_PIX_FMT_GBRP9BE:
case AV_PIX_FMT_GBRP10LE:
case AV_PIX_FMT_GBRP10BE:
+ case AV_PIX_FMT_GBRAP12LE:
+ case AV_PIX_FMT_GBRAP12BE:
w_align = 16; //FIXME assume 16 pixel per macroblock
h_align = 16 * 2; // interlaced needs 2 macroblocks height
break;