[NUT-devel] [nut]: r668 - docs/nut4cc.txt

stefano subversion at mplayerhq.hu
Sun May 16 18:41:16 CEST 2010


Author: stefano
Date: Sun May 16 18:41:15 2010
New Revision: 668

Log:
Add NUT codec tags:
440P    Planar 4:4:0 YUV [NOT in AVI]
B1W0    black/white bitstream, 1bpp, 0 is white, 1 is black, in each byte pixels are ordered from the msb to the lsb [NOT in AVI]
B0W1    black/white bitstream, 1bpp, 1 is white, 0 is black, in each byte pixels are ordered from the msb to the lsb [NOT in AVI]
BGR[4]  Packed BGR 1:2:1 bitstream,  4bpp, (msb)1B 2G 1R(lsb), a byte contains two pixels, the first pixel in the byte is the one composed by the 4 msb bits [NOT in AVI]
RGB[4]  Packed RGB 1:2:1 bitstream,  4bpp, (msb)1R 2G 1B(lsb), a byte contains two pixels, the first pixel in the byte is the one composed by the 4 msb bits [NOT in AVI]
BGR[8]  Packed RGB 3:3:2,  8bpp, (msb)2B 3G 3R(lsb) [NOT in AVI]
RGB[8]  Packed RGB 3:3:2,  8bpp, (msb)2R 3G 3B(lsb) [NOT in AVI]

These tags allow to store rawvideo with pixel formats which are not
currently contemplated by AVI/QT codec tags.

This has been discussed on the FFmpeg-devel ML, see the thread:
Subject: [FFmpeg-devel] [PATCH 10/13] Add rawvideo pixel formats to codec tags mapping for the newly added nut rawvideo pixel formats codec tags.
Date: 2010-05-09 13:30:00 GMT

Modified:
   docs/nut4cc.txt

Modified: docs/nut4cc.txt
==============================================================================
--- docs/nut4cc.txt	Sun May 16 18:34:08 2010	(r667)
+++ docs/nut4cc.txt	Sun May 16 18:41:15 2010	(r668)
@@ -74,6 +74,7 @@ YUV9    Planar 4:1:0 YUV
 Y800    8bit Gray
 411P    Planar 4:1:1 YUV
 422P    Planar 4:2:2 YUV
+440P    Planar 4:4:0 YUV [NOT in AVI]
 444P    Planar 4:4:4 YUV
 UYVY    Packed 4:2:2 YUV (UYVY)
 YUY2    Packed 4:2:2 YUV (YUYV)
@@ -91,6 +92,14 @@ ABGR    Packed RGBA 8:8:8:8, 32bpp, ABGR
 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]
+B1W0    black/white bitstream, 1bpp, 0 is white, 1 is black, in each byte pixels are ordered from the msb to the lsb [NOT in AVI]
+B0W1    black/white bitstream, 1bpp, 1 is white, 0 is black, in each byte pixels are ordered from the msb to the lsb [NOT in AVI]
+BGR[4]  Packed BGR 1:2:1 bitstream,  4bpp, (msb)1B 2G 1R(lsb), a byte contains two pixels, the first pixel in the byte is the one composed by the 4 msb bits [NOT in AVI]
+RGB[4]  Packed RGB 1:2:1 bitstream,  4bpp, (msb)1R 2G 1B(lsb), a byte contains two pixels, the first pixel in the byte is the one composed by the 4 msb bits [NOT in AVI]
+BGR[8]  Packed RGB 3:3:2,  8bpp, (msb)2B 3G 3R(lsb) [NOT in AVI]
+RGB[8]  Packed RGB 3:3:2,  8bpp, (msb)2R 3G 3B(lsb) [NOT in AVI]
+RGB[48] Packed RGB 16:16:16, 48bpp, 16R, 16G, 16B, the 2-byte value for each R/G/B component is stored as little-endian [NOT in AVI]
+[48]RGB Packed RGB 16:16:16, 48bpp, 16R, 16G, 16B, the 2-byte value for each R/G/B component is stored as big-endian    [NOT in AVI]
 
 Raw audio: [x] is an byte with value x,  [NOT in AVI]
 ALAW    A-LAW


More information about the NUT-devel mailing list