![[Toc]](../../toc.gif)
![[Index]](/idx.gif)
COLORINFO Field - fccColorEncoding
fccColorEncoding (FOURCC)
Field containing a name for the color space.
The FOURCC represents a name (for example, RGB8, Y24, and so on). The
bits per pixel and data layout of the color space is implied by the
name.
This field can have the following values:
FOURCC(ch0,ch1,ch2,ch3)
((ULONG)(BYTE)(ch0) | ((ULONG)(BYTE)(ch1) <<8) | \
((ULONG)(BYTE)(CH2)<<16) | ((ULONG)(BYTE)(CH3)<<24))
FOURCC_LUT8 FOURCC('L','U','T','8') 8-bit palettized color space
FOURCC_R565 FOURCC('R','5','6','5') RGB 565
FOURCC_R555 FOURCC('R','5','5','5') RGB 555
FOURCC_R666 FOURCC('R','6','6','6') RGB 666
FOURCC_R664 FOURCC('R','6','6','4') RGB 664
FOURCC_RGB3 FOURCC('R','G','B','3') RGB 24 in 3 bytes
FOURCC_BGR3 FOURCC('B','G','R','3') BGR 24 in 3 bytes
FOURCC_RGB4 FOURCC('R','G','B','4') RGB 24 in 4 bytes
FOURCC_BGR4 FOURCC('B','G','R','4') BGR 24 in 4 bytes
FOURCC_Y888 FOURCC('Y','8','8','8') YUV 24
FOURCC_Y411 FOURCC('Y','4','1','1') YUV 411 interleaved 4 x 1
subsampled
FOURCC_Y422 FOURCC('Y','4','2','2') YUV 422 (CCIR601)
FOURCC_YUV9 FOURCC('Y','U','V','9') YUV9
FOURCC_Y2X2 FOURCC('Y','2','X','2') YUV 2 by 2 subsampled
multiplane
FOURCC_Y4X4 FOURCC('Y','4','X','4') YUV 4 by 4 subsampled
multiplane
Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs