[FFmpeg-cvslog] r23074 - trunk/libavcodec/raw.c

compn tempn
Sat Jun 5 20:44:06 CEST 2010


On Sat, 5 Jun 2010 13:18:50 +0200, Stefano Sabatini wrote:
>On date Friday 2010-06-04 16:00:56 -0700, Baptiste Coudurier wrote:
>> On 05/09/2010 04:04 PM, stefano wrote:
>[...]
>> >Modified: trunk/libavcodec/raw.c
>> >==============================================================================
>> >--- trunk/libavcodec/raw.c	Mon May 10 01:04:01 2010	(r23073)
>> >+++ trunk/libavcodec/raw.c	Mon May 10 01:04:03 2010	(r23074)
>> >@@ -69,6 +69,16 @@ const PixelFormatTag ff_raw_pixelFormatT
>> >      { PIX_FMT_RGB565LE, MKTAG('R', 'G', 'B', 16) },
>> >      { PIX_FMT_BGR565LE, MKTAG('B', 'G', 'R', 16) },
>> >      { PIX_FMT_RGB565LE, MKTAG( 3 ,  0 ,  0 ,  0) },
>> >+    { PIX_FMT_RGB555BE, MKTAG(15 , 'B', 'G', 'R') },
>> >+    { PIX_FMT_BGR555BE, MKTAG(15 , 'R', 'G', 'B') },
>> >+    { PIX_FMT_RGB565BE, MKTAG(16 , 'B', 'G', 'R') },
>> >+    { PIX_FMT_BGR565BE, MKTAG(16 , 'R', 'G', 'B') },
>> >+    { PIX_FMT_RGBA,     MKTAG('R', 'G', 'B', 'A') },
>> >+    { PIX_FMT_BGRA,     MKTAG('B', 'G', 'R', 'A') },
>> >+    { PIX_FMT_ABGR,     MKTAG('A', 'B', 'G', 'R') },
>> >+    { PIX_FMT_ARGB,     MKTAG('A', 'R', 'G', 'B') },
>> >+    { PIX_FMT_RGB24,    MKTAG('R', 'G', 'B', 24 ) },
>> >+    { PIX_FMT_BGR24,    MKTAG('B', 'G', 'R', 24 ) },
>> 
>> Btw, quicktime has fourcc for these:
>> L565
>> L555
>> B565
>> 
>> see movenc.c
>> 
>> we may want to reuse these instead. What do you guys think ?
>
>Then they should be placed before the nut tags, otherwise this is
>going to break MOV encoding.
>
>BTW we should keep somewhere a complete tag list, fourcc.org looks
>undermaintained and doesn't include MOV tags anyway.

a fourcc/twocc/isom/codec list would be nice.

there are some incomplete lists in the wiki:
http://wiki.multimedia.cx/index.php?title=Category:Video_FourCCs
http://wiki.multimedia.cx/index.php?title=Twocc

including this list i made from 1000s of google results:
http://wiki.multimedia.cx/index.php?title=Category_talk:Video_FourCCs

i dont have time to organize those anymore. someone should ask
picsearch if they have a new list for us yet.

-compn



More information about the ffmpeg-cvslog mailing list