diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-01-16 17:43:24 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-01-16 17:43:24 +0100 |
commit | 3d87927959bac2763087d193de1568c149a9405a (patch) | |
tree | c29912a9d8b39579bfb84b15a999590b43d1bfda /libavcodec/huffyuvdec.c | |
parent | ef0282125cf4cc373ddbc177939d17857bb6b31b (diff) | |
download | ffmpeg-3d87927959bac2763087d193de1568c149a9405a.tar.gz |
avcodec/huffyuv: add YUVA{420,422,444}P{9,10} support
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/huffyuvdec.c')
-rw-r--r-- | libavcodec/huffyuvdec.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libavcodec/huffyuvdec.c b/libavcodec/huffyuvdec.c index 2d9d12ce64..c1e029db2f 100644 --- a/libavcodec/huffyuvdec.c +++ b/libavcodec/huffyuvdec.c @@ -441,12 +441,27 @@ static av_cold int decode_init(AVCodecContext *avctx) case 0x770: avctx->pix_fmt = AV_PIX_FMT_YUVA444P; break; + case 0x780: + avctx->pix_fmt = AV_PIX_FMT_YUVA444P9; + break; + case 0x790: + avctx->pix_fmt = AV_PIX_FMT_YUVA444P10; + break; case 0x771: avctx->pix_fmt = AV_PIX_FMT_YUVA422P; break; + case 0x781: + avctx->pix_fmt = AV_PIX_FMT_YUVA422P9; + break; + case 0x791: + avctx->pix_fmt = AV_PIX_FMT_YUVA422P10; + break; case 0x775: avctx->pix_fmt = AV_PIX_FMT_YUVA420P; break; + case 0x785: + avctx->pix_fmt = AV_PIX_FMT_YUVA420P9; + break; case 0x795: avctx->pix_fmt = AV_PIX_FMT_YUVA420P10; break; |