mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 03:59:43 +00:00
Support gray16be and rgb48be in mov
Originally committed as revision 23608 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
54a13282bd
commit
9a191b3a21
@ -127,6 +127,8 @@ const PixelFormatTag ff_raw_pix_fmt_tags[] = {
|
||||
{ PIX_FMT_BGRA, MKTAG('B', 'G', 'R', 'A') },
|
||||
{ PIX_FMT_RGBA, MKTAG('R', 'G', 'B', 'A') },
|
||||
{ PIX_FMT_ABGR, MKTAG('A', 'B', 'G', 'R') },
|
||||
{ PIX_FMT_GRAY16BE,MKTAG('b', '1', '6', 'g') },
|
||||
{ PIX_FMT_RGB48BE, MKTAG('b', '4', '8', 'r') },
|
||||
|
||||
/* special */
|
||||
{ PIX_FMT_RGB565LE,MKTAG( 3 , 0 , 0 , 0 ) }, /* flipped RGB565LE */
|
||||
|
@ -74,6 +74,8 @@ const AVCodecTag codec_movvideo_tags[] = {
|
||||
{ CODEC_ID_RAWVIDEO, MKTAG('B', 'G', 'R', 'A') },
|
||||
{ CODEC_ID_RAWVIDEO, MKTAG('R', 'G', 'B', 'A') },
|
||||
{ CODEC_ID_RAWVIDEO, MKTAG('A', 'B', 'G', 'R') },
|
||||
{ CODEC_ID_RAWVIDEO, MKTAG('b', '1', '6', 'g') },
|
||||
{ CODEC_ID_RAWVIDEO, MKTAG('b', '4', '8', 'r') },
|
||||
|
||||
{ CODEC_ID_R210, MKTAG('r', '2', '1', '0') }, /* UNCOMPRESSED 10BIT RGB */
|
||||
{ CODEC_ID_V210, MKTAG('v', '2', '1', '0') }, /* UNCOMPRESSED 10BIT 4:2:2 */
|
||||
|
@ -626,12 +626,14 @@ static const struct {
|
||||
{ PIX_FMT_RGB555LE,MKTAG('L','5','5','5'), 16 },
|
||||
{ PIX_FMT_RGB565LE,MKTAG('L','5','6','5'), 16 },
|
||||
{ PIX_FMT_RGB565BE,MKTAG('B','5','6','5'), 16 },
|
||||
{ PIX_FMT_GRAY16BE,MKTAG('b','1','6','g'), 16 },
|
||||
{ PIX_FMT_RGB24, MKTAG('r','a','w',' '), 24 },
|
||||
{ PIX_FMT_BGR24, MKTAG('2','4','B','G'), 24 },
|
||||
{ PIX_FMT_ARGB, MKTAG('r','a','w',' '), 32 },
|
||||
{ PIX_FMT_BGRA, MKTAG('B','G','R','A'), 32 },
|
||||
{ PIX_FMT_RGBA, MKTAG('R','G','B','A'), 32 },
|
||||
{ PIX_FMT_ABGR, MKTAG('A','B','G','R'), 32 },
|
||||
{ PIX_FMT_RGB48BE, MKTAG('b','4','8','r'), 48 },
|
||||
};
|
||||
|
||||
static int mov_get_rawvideo_codec_tag(AVFormatContext *s, MOVTrack *track)
|
||||
|
Loading…
Reference in New Issue
Block a user