aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/huffyuvdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-01-27 02:05:13 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-01-27 02:11:29 +0100
commit6369766f015f930ea0fc86a2d425fe7fc4f95ed9 (patch)
tree0f35c3fbd1a96126ada4bbb680e033d46e10beb8 /libavcodec/huffyuvdec.c
parent7cf8918b0df7924ed3f901f03cc1c06eef43c329 (diff)
downloadffmpeg-6369766f015f930ea0fc86a2d425fe7fc4f95ed9.tar.gz
avcodec/huffyuv: support gbrp9/10/12/14
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/huffyuvdec.c')
-rw-r--r--libavcodec/huffyuvdec.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/libavcodec/huffyuvdec.c b/libavcodec/huffyuvdec.c
index 47c6a137a2..7a1579f681 100644
--- a/libavcodec/huffyuvdec.c
+++ b/libavcodec/huffyuvdec.c
@@ -389,6 +389,21 @@ static av_cold int decode_init(AVCodecContext *avctx)
case 0x470:
avctx->pix_fmt = AV_PIX_FMT_GBRP;
break;
+ case 0x480:
+ avctx->pix_fmt = AV_PIX_FMT_GBRP9;
+ break;
+ case 0x490:
+ avctx->pix_fmt = AV_PIX_FMT_GBRP10;
+ break;
+ case 0x4B0:
+ avctx->pix_fmt = AV_PIX_FMT_GBRP12;
+ break;
+ case 0x4D0:
+ avctx->pix_fmt = AV_PIX_FMT_GBRP14;
+ break;
+ case 0x4F0:
+ avctx->pix_fmt = AV_PIX_FMT_GBRP16;
+ break;
case 0x570:
avctx->pix_fmt = AV_PIX_FMT_GBRAP;
break;