[FFmpeg-devel] [PATCH] Make nut muxer and demuxer recognize the extended nut tags associated to rawvideo pixel formats

Michael Niedermayer michaelni
Tue Mar 23 00:37:42 CET 2010


On Mon, Mar 22, 2010 at 11:29:46PM +0100, Stefano Sabatini wrote:
> Hi, as in subject.
> 
> These are defined in the nut spec (nut4cc.txt):
> 
> RGB[15] Packed RGB 5:5:5, 16bpp, (msb)1A 5R 5G 5B(lsb), little-endian [NOT in AVI]
> BGR[15] Packed BGR 5:5:5, 16bpp, (msb)1A 5B 5G 5R(lsb), little-endian [NOT in AVI]
> RGB[16] Packed RGB 5:6:5, 16bpp, (msb)   5R 6G 5B(lsb), little-endian [NOT in AVI]
> BGR[16] Packed BGR 5:6:5, 16bpp, (msb)   5B 6G 5R(lsb), little-endian [NOT in AVI]
> [15]BGR Packed RGB 5:5:5, 16bpp, (msb)1A 5R 5G 5B(lsb), big-endian [NOT in AVI]
> [15]RGB Packed BGR 5:5:5, 16bpp, (msb)1A 5B 5G 5R(lsb), big-endian [NOT in AVI]
> [16]BGR Packed RGB 5:6:5, 16bpp, (msb)   5R 6G 5B(lsb), big-endian [NOT in AVI]
> [16]RGB Packed BGR 5:6:5, 16bpp, (msb)   5B 6G 5R(lsb), big-endian [NOT in AVI]
> RGBA    Packed RGBA 8:8:8:8, 32bpp, RGBA [NOT in AVI]
> BGRA    Packed RGBA 8:8:8:8, 32bpp, BGRA [NOT in AVI]
> ABGR    Packed RGBA 8:8:8:8, 32bpp, ABGR [NOT in AVI]
> ARGB    Packed RGBA 8:8:8:8, 32bpp, ARGB [NOT in AVI]
> RGB[24] Packed RGB 8:8:8, 24bpp RGB [NOT in AVI]
> BGR[24] Packed RGB 8:8:8, 24bpp BGR [NOT in AVI]
> 

> BTW what about to extend nut to make it support also other pixel
> formats?

iam not aware of a limitation


> 
> I need that for the libavfilter test.

this patch makes no sense, rejected.
the codec_tag-pix_fmt mapping is in libavcodec/raw*
add it there where the avi and quicktime mappings already are.

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The educated differ from the uneducated as much as the living from the
dead. -- Aristotle 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100323/05259c9f/attachment.pgp>



More information about the ffmpeg-devel mailing list