mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avcodec/magicyuv: add support for recently added YUV444P10
This commit is contained in:
parent
af9dc02e6b
commit
2601eef850
@ -592,6 +592,13 @@ static int magy_decode_frame(AVCodecContext *avctx, void *data,
|
||||
s->magy_decode_slice = magy_decode_slice10;
|
||||
s->bps = 10;
|
||||
break;
|
||||
case 0x76:
|
||||
avctx->pix_fmt = AV_PIX_FMT_YUV444P10;
|
||||
s->max = 1024;
|
||||
s->huff_build = huff_build10;
|
||||
s->magy_decode_slice = magy_decode_slice10;
|
||||
s->bps = 10;
|
||||
break;
|
||||
case 0x6d:
|
||||
avctx->pix_fmt = AV_PIX_FMT_GBRP10;
|
||||
s->decorrelate = 1;
|
||||
|
@ -290,6 +290,7 @@ const AVCodecTag ff_codec_movvideo_tags[] = {
|
||||
{ AV_CODEC_ID_MAGICYUV, MKTAG('M', '0', 'R', 'A') },
|
||||
{ AV_CODEC_ID_MAGICYUV, MKTAG('M', '0', 'R', 'G') },
|
||||
{ AV_CODEC_ID_MAGICYUV, MKTAG('M', '0', 'Y', '2') },
|
||||
{ AV_CODEC_ID_MAGICYUV, MKTAG('M', '0', 'Y', '4') },
|
||||
{ AV_CODEC_ID_MAGICYUV, MKTAG('M', '8', 'R', 'G') },
|
||||
{ AV_CODEC_ID_MAGICYUV, MKTAG('M', '8', 'R', 'A') },
|
||||
{ AV_CODEC_ID_MAGICYUV, MKTAG('M', '8', 'G', '0') },
|
||||
|
@ -454,6 +454,7 @@ const AVCodecTag ff_codec_bmp_tags[] = {
|
||||
{ AV_CODEC_ID_MAGICYUV, MKTAG('M', '0', 'R', 'G') },
|
||||
{ AV_CODEC_ID_MAGICYUV, MKTAG('M', '0', 'G', '0') },
|
||||
{ AV_CODEC_ID_MAGICYUV, MKTAG('M', '0', 'Y', '2') },
|
||||
{ AV_CODEC_ID_MAGICYUV, MKTAG('M', '0', 'Y', '4') },
|
||||
{ AV_CODEC_ID_MAGICYUV, MKTAG('M', '2', 'R', 'A') },
|
||||
{ AV_CODEC_ID_MAGICYUV, MKTAG('M', '2', 'R', 'G') },
|
||||
{ AV_CODEC_ID_YLC, MKTAG('Y', 'L', 'C', '0') },
|
||||
|
Loading…
Reference in New Issue
Block a user