mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
avcodec/sheervideo: supports some other 8bit formats
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
e826ceeb55
commit
0c7fa152b9
@ -2277,6 +2277,7 @@ static int decode_frame(AVCodecContext *avctx,
|
||||
build_vlc(&s->vlc[1], l_g_rgbi, 256);
|
||||
}
|
||||
break;
|
||||
case MKTAG('A', 'Y', 'B', 'R'):
|
||||
case MKTAG('A', 'Y', 'b', 'R'):
|
||||
avctx->pix_fmt = AV_PIX_FMT_YUVA444P;
|
||||
s->decode_frame = decode_aybr;
|
||||
@ -2285,6 +2286,7 @@ static int decode_frame(AVCodecContext *avctx,
|
||||
build_vlc(&s->vlc[1], l_u_ybr, 256);
|
||||
}
|
||||
break;
|
||||
case MKTAG('A', 'y', 'B', 'R'):
|
||||
case MKTAG('A', 'y', 'b', 'R'):
|
||||
avctx->pix_fmt = AV_PIX_FMT_YUVA444P;
|
||||
s->decode_frame = decode_aybri;
|
||||
@ -2293,6 +2295,7 @@ static int decode_frame(AVCodecContext *avctx,
|
||||
build_vlc(&s->vlc[1], l_u_ybri, 256);
|
||||
}
|
||||
break;
|
||||
case MKTAG(' ', 'Y', 'B', 'R'):
|
||||
case MKTAG(' ', 'Y', 'b', 'R'):
|
||||
avctx->pix_fmt = AV_PIX_FMT_YUV444P;
|
||||
s->decode_frame = decode_ybr;
|
||||
@ -2301,6 +2304,7 @@ static int decode_frame(AVCodecContext *avctx,
|
||||
build_vlc(&s->vlc[1], l_u_ybr, 256);
|
||||
}
|
||||
break;
|
||||
case MKTAG(' ', 'y', 'B', 'R'):
|
||||
case MKTAG(' ', 'y', 'b', 'R'):
|
||||
avctx->pix_fmt = AV_PIX_FMT_YUV444P;
|
||||
s->decode_frame = decode_ybri;
|
||||
|
Loading…
Reference in New Issue
Block a user