Enumeration

Pixel Format Identifiers

Core Video does not provide support for all of these formats; this list defines only their names.

Declaration

enum : OSType {
    ...
};

Topics

Constants

kCVPixelFormatType_1IndexedGray_WhiteIsZero

1 bit indexed gray, white is zero.

kCVPixelFormatType_2IndexedGray_WhiteIsZero

2-bit indexed gray, white is zero.

kCVPixelFormatType_4IndexedGray_WhiteIsZero

4-bit indexed gray, white is zero.

kCVPixelFormatType_8IndexedGray_WhiteIsZero

8-bit indexed gray, white is zero.

kCVPixelFormatType_16BE555

16-bit BE RGB 555.

kCVPixelFormatType_16LE555

16-bit LE RGB 555.

kCVPixelFormatType_16LE5551

16-bit LE RGB 5551.

kCVPixelFormatType_16BE565

16-bit BE RGB 565.

kCVPixelFormatType_16LE565

16-bit LE RGB 565.

kCVPixelFormatType_64ARGB

64-bit ARGB, 16-bit big-endian samples.

kCVPixelFormatType_48RGB

48-bit RGB, 16-bit big-endian samples.

kCVPixelFormatType_32AlphaGray

32-bit AlphaGray, 16-bit big-endian samples, black is zero.

kCVPixelFormatType_16Gray

16-bit Grayscale, 16-bit big-endian samples, black is zero.

kCVPixelFormatType_30RGB

30-bit RGB, 10-bit big-endian samples, 2 unused padding bits (at least significant end).

kCVPixelFormatType_422YpCbCr8

Component Y'CbCr 8-bit 4:2:2, ordered Cb Y'0 Cr Y'1.

kCVPixelFormatType_4444YpCbCrA8

Component Y'CbCrA 8-bit 4:4:4:4, ordered Cb Y' Cr A.

kCVPixelFormatType_4444YpCbCrA8R

Component Y'CbCrA 8-bit 4:4:4:4, rendering format. Full range alpha, zero biased YUV, ordered A Y' Cb Cr.

kCVPixelFormatType_4444AYpCbCr8

Component Y'CbCrA 8-bit 4:4:4:4, ordered A Y' Cb Cr, full range alpha, video range Y'CbCr.

kCVPixelFormatType_4444AYpCbCr16

Component Y'CbCrA 16-bit 4:4:4:4, ordered A Y' Cb Cr, full range alpha, video range Y'CbCr, 16-bit little-endian samples.

kCVPixelFormatType_444YpCbCr8

Component Y'CbCr 8-bit 4:4:4.

kCVPixelFormatType_422YpCbCr16

Component Y'CbCr 10,12,14,16-bit 4:2:2.

kCVPixelFormatType_422YpCbCr10

Component Y'CbCr 10-bit 4:2:2.

kCVPixelFormatType_444YpCbCr10

Component Y'CbCr 10-bit 4:4:4.

kCVPixelFormatType_420YpCbCr8Planar

Planar Component Y'CbCr 8-bit 4:2:0. baseAddr points to a big-endian CVPlanarPixelBufferInfo_YCbCrPlanar struct.

kCVPixelFormatType_420YpCbCr8PlanarFullRange

Planar Component Y'CbCr 8-bit 4:2:0, full range. baseAddr points to a big-endian CVPlanarPixelBufferInfo_YCbCrPlanar struct.

kCVPixelFormatType_422YpCbCr_4A_8BiPlanar

First plane: Video-range Component Y'CbCr 8-bit 4:2:2, ordered Cb Y'0 Cr Y'1; second plane: alpha 8-bit 0-255.

kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange

Bi-Planar Component Y'CbCr 8-bit 4:2:0, video-range (luma=[16,235] chroma=[16,240]). baseAddr points to a big-endian CVPlanarPixelBufferInfo_YCbCrBiPlanar struct.

kCVPixelFormatType_420YpCbCr8BiPlanarFullRange

Bi-Planar Component Y'CbCr 8-bit 4:2:0, full-range (luma=[0,255] chroma=[1,255]). baseAddr points to a big-endian CVPlanarPixelBufferInfo_YCbCrBiPlanar struct.

kCVPixelFormatType_422YpCbCr8_yuvs

Component Y'CbCr 8-bit 4:2:2, ordered Y'0 Cb Y'1 Cr.

kCVPixelFormatType_422YpCbCr8FullRange

Component Y'CbCr 8-bit 4:2:2, full range, ordered Y'0 Cb Y'1 Cr.

kCVPixelFormatType_OneComponent8

8-bit one component, black is zero.

kCVPixelFormatType_TwoComponent8

8-bit two component, black is zero.

kCVPixelFormatType_OneComponent16Half

6-bit one component IEEE half-precision float, 16-bit little-endian samples.

kCVPixelFormatType_OneComponent32Float

32-bit one component IEEE float, 32-bit little-endian samples.

kCVPixelFormatType_TwoComponent16Half

16-bit two component IEEE half-precision float, 16-bit little-endian samples.

kCVPixelFormatType_TwoComponent32Float

32-bit two component IEEE float, 32-bit little-endian samples.

kCVPixelFormatType_64RGBAHalf

64-bit RGBA IEEE half-precision float, 16-bit little-endian samples.

kCVPixelFormatType_128RGBAFloat

128-bit RGBA IEEE float, 32-bit little-endian samples.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software