Mercurial > libavformat.hg
changeset 6132:a2c4863f9199 libavformat
Support gray16be and rgb48be in mov
author | bcoudurier |
---|---|
date | Tue, 15 Jun 2010 09:14:00 +0000 |
parents | 68fba42e1dea |
children | 4040ce73a1ed |
files | isom.c movenc.c |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/isom.c Mon Jun 14 09:09:59 2010 +0000 +++ b/isom.c Tue Jun 15 09:14:00 2010 +0000 @@ -74,6 +74,8 @@ { 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 */
--- a/movenc.c Mon Jun 14 09:09:59 2010 +0000 +++ b/movenc.c Tue Jun 15 09:14:00 2010 +0000 @@ -626,12 +626,14 @@ { 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)