iOS Developer Library

Developer

System Framework Reference CVPixelFormatDescription Reference

Options
Deployment Target:

On This Page
Language:

CVPixelFormatDescription Reference

Inheritance


Not Applicable

Conforms To


Not Applicable

Import Statement


Swift

import CoreVideo

Objective-C

@import CoreVideo;

The Core Video pixel format description API defines functions and types for defining custom pixel formats. You should only use pixel format descriptions if you need to define a custom pixel format.

Functions

Callbacks

  • Defines a pointer to a custom extended pixel-fill function, which is called whenever the system needs to pad a buffer holding your custom pixel format.

    Declaration

    Swift

    typealias CVFillExtendedPixelsCallBack = CFunctionPointer<((CVPixelBuffer!, UnsafeMutablePointer<Void>) -> Boolean)>

    Objective-C

    typedef Boolean (*CVFillExtendedPixelsCallBack)( CVPixelBufferRef pixelBuffer, void *refCon );

    Parameters

    pixelBuffer

    The pixel buffer to be padded.

    refCon

    A pointer to application-defined data. This is the same value you stored in the CVFillExtendedPixelsCallBackData structure.

    Return Value

    If true, the padding was successful; otherwise, false.

    Discussion

    For more information on implementing a custom extended pixel-fill callback, see Technical Q&A 1440: Implementing a CVFillExtendedPixelsCallback.

    Import Statement

    Objective-C

    @import CoreVideo;

    Swift

    import CoreVideo

    Availability

    Available in iOS 4.0 and later.

Data Types

  • A structure for holding information that describes a custom extended pixel fill algorithm.

    Declaration

    Swift

    struct CVFillExtendedPixelsCallBackData { var version: CFIndex var fillCallBack: CVFillExtendedPixelsCallBack var refCon: UnsafeMutablePointer<Void> init() init(version version: CFIndex, fillCallBack fillCallBack: CVFillExtendedPixelsCallBack, refCon refCon: UnsafeMutablePointer<Void>) }

    Objective-C

    typedef struct { CFIndex version; CVFillExtendedPixelsCallBack fillCallBack; void *refCon; } CVFillExtendedPixelsCallBackData;

    Fields

    version

    The version of this fill algorithm.

    fillCallback

    A pointer to a custom pixel fill function.

    refCon

    A pointer to application-defined data that is passed to your custom pixel fill function.

    Discussion

    You must fill out this structure and store it as part of your pixel format description Core Foundation dictionary (key: kCVPixelFormatFillExtendedPixelsCallback, type: CFData). However, if your custom pixel format never needs the functionality of CVPixelBufferFillExtendedPixels, you don’t need to add this key or implement the associated callback.

    For more information about defining a custom pixel format, see Pixel Format Description Keys.

    Availability

    Available in iOS 4.0 and later.

Constants

  • The attributes of a pixel format.

    Declaration

    Swift

    let kCVPixelFormatName: CFString! let kCVPixelFormatConstant: CFString! let kCVPixelFormatCodecType: CFString! let kCVPixelFormatFourCC: CFString! let kCVPixelFormatContainsAlpha: CFString! let kCVPixelFormatPlanes: CFString! let kCVPixelFormatBlockWidth: CFString! let kCVPixelFormatBlockHeight: CFString! let kCVPixelFormatBitsPerBlock: CFString! let kCVPixelFormatBlockHorizontalAlignment: CFString! let kCVPixelFormatBlockVerticalAlignment: CFString! let kCVPixelFormatBlackBlock: CFString! let kCVPixelFormatHorizontalSubsampling: CFString! let kCVPixelFormatVerticalSubsampling: CFString! let kCVPixelFormatOpenGLFormat: CFString! let kCVPixelFormatOpenGLType: CFString! let kCVPixelFormatOpenGLInternalFormat: CFString! let kCVPixelFormatCGBitmapInfo: CFString! let kCVPixelFormatQDCompatibility: CFString! let kCVPixelFormatCGBitmapContextCompatibility: CFString! let kCVPixelFormatCGImageCompatibility: CFString! let kCVPixelFormatOpenGLCompatibility: CFString! let kCVPixelFormatOpenGLESCompatibility: CFString! let kCVPixelFormatFillExtendedPixelsCallback: CFString!

    Objective-C

    const CFStringRef kCVPixelFormatName; const CFStringRef kCVPixelFormatConstant; const CFStringRef kCVPixelFormatCodecType; const CFStringRef kCVPixelFormatFourCC; const CFStringRef kCVPixelFormatContainsAlpha; const CFStringRef kCVPixelFormatPlanes; const CFStringRef kCVPixelFormatBlockWidth; const CFStringRef kCVPixelFormatBlockHeight; const CFStringRef kCVPixelFormatBitsPerBlock; const CFStringRef kCVPixelFormatBlockHorizontalAlignment; const CFStringRef kCVPixelFormatBlockVerticalAlignment; const CFStringRef kCVPixelFormatBlackBlock; const CFStringRef kCVPixelFormatHorizontalSubsampling; const CFStringRef kCVPixelFormatVerticalSubsampling; const CFStringRef kCVPixelFormatOpenGLFormat; const CFStringRef kCVPixelFormatOpenGLType; const CFStringRef kCVPixelFormatOpenGLInternalFormat; const CFStringRef kCVPixelFormatCGBitmapInfo; const CFStringRef kCVPixelFormatQDCompatibility; const CFStringRef kCVPixelFormatCGBitmapContextCompatibility; const CFStringRef kCVPixelFormatCGImageCompatibility; const CFStringRef kCVPixelFormatOpenGLCompatibility; const CFStringRef kCVPixelFormatOpenGLESCompatibility; const CFStringRef kCVPixelFormatFillExtendedPixelsCallback;

    Constants

    • kCVPixelFormatName

      kCVPixelFormatName

      The name of the pixel format (type CFString). This should be the same as the codec name you would use in QuickTime.

      Available in iOS 4.0 and later.

    • kCVPixelFormatConstant

      kCVPixelFormatConstant

      The pixel format constant for QuickTime.

      Available in iOS 4.0 and later.

    • kCVPixelFormatCodecType

      kCVPixelFormatCodecType

      The codec type (type CFString). For example, '2vuy' or k422YpCbCr8CodecType.

      Available in iOS 4.0 and later.

    • kCVPixelFormatFourCC

      kCVPixelFormatFourCC

      The Microsoft FourCC equivalent code for this pixel format (type CFString).

      Available in iOS 4.0 and later.

    • kCVPixelFormatContainsAlpha

      kCVPixelFormatContainsAlpha

      A Boolean value where kCFBooleanTrue indicates that the format contains alpha and some images may be considered transparent; kCFBooleanFalse indicates that there is no alpha and images are always opaque.

      Available in iOS 4.3 and later.

    • kCVPixelFormatPlanes

      kCVPixelFormatPlanes

      The number of image planes associated with this format (type CFNumber). Each plane may contain a single component or an interleaved set of components. Note that if your pixel format is not planar, you can put the required format keys at the top-level dictionary.

      Available in iOS 4.0 and later.

    • kCVPixelFormatBlockWidth

      kCVPixelFormatBlockWidth

      The width, in pixels, of the smallest byte-addressable group of pixels (type CFNumber). Used to assist with allocating memory for pixel formats that don’t have an integer value for bytes per pixel. Assumed to be 1 if this key is not present. Here are some examples of block widths for standard pixel formats:

      • 8-bit luminance only, block width is 1, the bits per block value is 8.

      • 16-bit 1555 RGB, block width is 1, the bits per block value is 16.

      • 32-bit 8888 ARGB, block width is 1, the bits per block value is 32.

      • 2vuy (CbYCrY), block width is 2, the bits per block value is 32.

      • 1-bit bitmap, block width is 8, the bits per block value is 8.

      • v210, block width is 6, the bits per block value is 128 .

      Available in iOS 4.0 and later.

    • kCVPixelFormatBlockHeight

      kCVPixelFormatBlockHeight

      The height, in pixels, of the smallest byte-addressable group of pixels (type CFNumber). Assumed to be 1 if this key is not present.

      Available in iOS 4.0 and later.

    • kCVPixelFormatBitsPerBlock

      kCVPixelFormatBitsPerBlock

      The number of bits per block. For simple pixel formats, this value is the same as the traditional bits-per-pixel value. This key is mandatory in pixel format descriptions. See the description for kCVPixelFormatBlockWidth for examples of bits-per-block values.

      Available in iOS 4.0 and later.

    • kCVPixelFormatBlockHorizontalAlignment

      kCVPixelFormatBlockHorizontalAlignment

      The horizontal alignment requirements of this format (type CFNumber). For example,the alignment for v210 would be 8 here for the horizontal case to match the standard v210 row alignment value of 48. Assumed to be 1 if this key is not present.

      Available in iOS 4.0 and later.

    • kCVPixelFormatBlockVerticalAlignment

      kCVPixelFormatBlockVerticalAlignment

      The vertical alignment requirements of this format (type CFNumber). Assumed to be 1 if this key is not present.

      Available in iOS 4.0 and later.

    • kCVPixelFormatBlackBlock

      kCVPixelFormatBlackBlock

      The bit pattern for a block of black pixels (type CFData. If this key is absent, black is assumed to be all zeros. If present, this should be bitsPerPixel bits long; if bitsPerPixel is less than a byte, repeat the bit pattern for the full byte.

      Available in iOS 4.0 and later.

    • kCVPixelFormatHorizontalSubsampling

      kCVPixelFormatHorizontalSubsampling

      Horizontal subsampling information for this plane (type CFNumber). Assumed to be 1 if this key is not present.

      Available in iOS 4.0 and later.

    • kCVPixelFormatVerticalSubsampling

      kCVPixelFormatVerticalSubsampling

      Vertical subsampling information for this plane (type CFNumber). Assumed to be 1 if this key is not present.

      Available in iOS 4.0 and later.

    • kCVPixelFormatOpenGLFormat

      kCVPixelFormatOpenGLFormat

      The OpenGL format used to describe this image plane (if applicable). See the OpenGL specification for possible values.

      Available in iOS 4.0 and later.

    • kCVPixelFormatOpenGLType

      kCVPixelFormatOpenGLType

      The OpenGL type to describe this image plane (if applicable). See the OpenGL specification for possible values.

      Available in iOS 4.0 and later.

    • kCVPixelFormatOpenGLInternalFormat

      kCVPixelFormatOpenGLInternalFormat

      The OpenGL internal format for this pixel format (if applicable). See the OpenGL specification for possible values.

      Available in iOS 4.0 and later.

    • kCVPixelFormatCGBitmapInfo

      kCVPixelFormatCGBitmapInfo

      The Core Graphics bitmap information for this pixel format (if applicable).

      Available in iOS 4.0 and later.

    • kCVPixelFormatQDCompatibility

      kCVPixelFormatQDCompatibility

      If true, this format is compatible with QuickDraw (type CFBoolean).

      Available in iOS 4.0 and later.

    • kCVPixelFormatCGBitmapContextCompatibility

      kCVPixelFormatCGBitmapContextCompatibility

      If true, this format is compatible with Core Graphics bitmap contexts(type CFBoolean).

      Available in iOS 4.0 and later.

    • kCVPixelFormatCGImageCompatibility

      kCVPixelFormatCGImageCompatibility

      If true, this format is compatible with the CGImage type (type CFBoolean).

      Available in iOS 4.0 and later.

    • kCVPixelFormatOpenGLCompatibility

      kCVPixelFormatOpenGLCompatibility

      If true, this format is compatible with OpenGL (type CFBoolean).

      Available in iOS 4.0 and later.

    • kCVPixelFormatOpenGLESCompatibility

      kCVPixelFormatOpenGLESCompatibility

      If true, this format is compatible with OpenGLES (type CFBoolean).

      Available in iOS 5.0 and later.

    • kCVPixelFormatFillExtendedPixelsCallback

      kCVPixelFormatFillExtendedPixelsCallback

      A custom extended pixel fill algorithm (type CFData). See CVFillExtendedPixelsCallBack and CVFillExtendedPixelsCallBackData for more information.

      Available in iOS 4.0 and later.

    Discussion

    If you need to define a custom pixel format, you must specify these keys in a Core Foundation dictionary. For information about registering your pixel format, see Technical Q&A 1401: Registering Custom Pixel Formats with QuickTime and Core Video.

    In most cases you do not need to specify your own pixel format.

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

    Declaration

    Swift

    var kCVPixelFormatType_1Monochrome: Int { get } var kCVPixelFormatType_2Indexed: Int { get } var kCVPixelFormatType_4Indexed: Int { get } var kCVPixelFormatType_8Indexed: Int { get } var kCVPixelFormatType_1IndexedGray_WhiteIsZero: Int { get } var kCVPixelFormatType_2IndexedGray_WhiteIsZero: Int { get } var kCVPixelFormatType_4IndexedGray_WhiteIsZero: Int { get } var kCVPixelFormatType_8IndexedGray_WhiteIsZero: Int { get } var kCVPixelFormatType_16BE555: Int { get } var kCVPixelFormatType_16LE555: Int { get } var kCVPixelFormatType_16LE5551: Int { get } var kCVPixelFormatType_16BE565: Int { get } var kCVPixelFormatType_16LE565: Int { get } var kCVPixelFormatType_24RGB: Int { get } var kCVPixelFormatType_24BGR: Int { get } var kCVPixelFormatType_32ARGB: Int { get } var kCVPixelFormatType_32BGRA: Int { get } var kCVPixelFormatType_32ABGR: Int { get } var kCVPixelFormatType_32RGBA: Int { get } var kCVPixelFormatType_64ARGB: Int { get } var kCVPixelFormatType_48RGB: Int { get } var kCVPixelFormatType_32AlphaGray: Int { get } var kCVPixelFormatType_16Gray: Int { get } var kCVPixelFormatType_30RGB: Int { get } var kCVPixelFormatType_422YpCbCr8: Int { get } var kCVPixelFormatType_4444YpCbCrA8: Int { get } var kCVPixelFormatType_4444YpCbCrA8R: Int { get } var kCVPixelFormatType_4444AYpCbCr8: Int { get } var kCVPixelFormatType_4444AYpCbCr16: Int { get } var kCVPixelFormatType_444YpCbCr8: Int { get } var kCVPixelFormatType_422YpCbCr16: Int { get } var kCVPixelFormatType_422YpCbCr10: Int { get } var kCVPixelFormatType_444YpCbCr10: Int { get } var kCVPixelFormatType_420YpCbCr8Planar: Int { get } var kCVPixelFormatType_420YpCbCr8PlanarFullRange: Int { get } var kCVPixelFormatType_422YpCbCr_4A_8BiPlanar: Int { get } var kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange: Int { get } var kCVPixelFormatType_420YpCbCr8BiPlanarFullRange: Int { get } var kCVPixelFormatType_422YpCbCr8_yuvs: Int { get } var kCVPixelFormatType_422YpCbCr8FullRange: Int { get } var kCVPixelFormatType_OneComponent8: Int { get } var kCVPixelFormatType_TwoComponent8: Int { get } var kCVPixelFormatType_OneComponent16Half: Int { get } var kCVPixelFormatType_OneComponent32Float: Int { get } var kCVPixelFormatType_TwoComponent16Half: Int { get } var kCVPixelFormatType_TwoComponent32Float: Int { get } var kCVPixelFormatType_64RGBAHalf: Int { get } var kCVPixelFormatType_128RGBAFloat: Int { get }

    Objective-C

    enum { kCVPixelFormatType_1Monochrome = 0x00000001, kCVPixelFormatType_2Indexed = 0x00000002, kCVPixelFormatType_4Indexed = 0x00000004, kCVPixelFormatType_8Indexed = 0x00000008, kCVPixelFormatType_1IndexedGray_WhiteIsZero = 0x00000021, kCVPixelFormatType_2IndexedGray_WhiteIsZero = 0x00000022, kCVPixelFormatType_4IndexedGray_WhiteIsZero = 0x00000024, kCVPixelFormatType_8IndexedGray_WhiteIsZero = 0x00000028, kCVPixelFormatType_16BE555 = 0x00000010, kCVPixelFormatType_16LE555 = 'L555', kCVPixelFormatType_16LE5551 = '5551', kCVPixelFormatType_16BE565 = 'B565', kCVPixelFormatType_16LE565 = 'L565', kCVPixelFormatType_24RGB = 0x00000018, kCVPixelFormatType_24BGR = '24BG', kCVPixelFormatType_32ARGB = 0x00000020, kCVPixelFormatType_32BGRA = 'BGRA', kCVPixelFormatType_32ABGR = 'ABGR', kCVPixelFormatType_32RGBA = 'RGBA', kCVPixelFormatType_64ARGB = 'b64a', kCVPixelFormatType_48RGB = 'b48r', kCVPixelFormatType_32AlphaGray = 'b32a', kCVPixelFormatType_16Gray = 'b16g', kCVPixelFormatType_30RGB = 'R10k', kCVPixelFormatType_422YpCbCr8 = '2vuy', kCVPixelFormatType_4444YpCbCrA8 = 'v408', kCVPixelFormatType_4444YpCbCrA8R = 'r408', kCVPixelFormatType_4444AYpCbCr8 = 'y408', kCVPixelFormatType_4444AYpCbCr16 = 'y416', kCVPixelFormatType_444YpCbCr8 = 'v308', kCVPixelFormatType_422YpCbCr16 = 'v216', kCVPixelFormatType_422YpCbCr10 = 'v210', kCVPixelFormatType_444YpCbCr10 = 'v410', kCVPixelFormatType_420YpCbCr8Planar = 'y420', kCVPixelFormatType_420YpCbCr8PlanarFullRange = 'f420', kCVPixelFormatType_422YpCbCr_4A_8BiPlanar = 'a2vy', kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange = '420v', kCVPixelFormatType_420YpCbCr8BiPlanarFullRange = '420f', kCVPixelFormatType_422YpCbCr8_yuvs = 'yuvs', kCVPixelFormatType_422YpCbCr8FullRange = 'yuvf', kCVPixelFormatType_OneComponent8 = 'L008', kCVPixelFormatType_TwoComponent8 = '2C08', kCVPixelFormatType_OneComponent16Half = 'L00h', kCVPixelFormatType_OneComponent32Float = 'L00f', kCVPixelFormatType_TwoComponent16Half = '2C0h', kCVPixelFormatType_TwoComponent32Float = '2C0f', kCVPixelFormatType_64RGBAHalf = 'RGhA', kCVPixelFormatType_128RGBAFloat = 'RGfA', };

    Constants

    • kCVPixelFormatType_1Monochrome

      kCVPixelFormatType_1Monochrome

      1 bit indexed.

      Available in iOS 4.0 and later.

    • kCVPixelFormatType_2Indexed

      kCVPixelFormatType_2Indexed

      2 bit indexed.

      Available in iOS 4.0 and later.

    • kCVPixelFormatType_4Indexed

      kCVPixelFormatType_4Indexed

      4 bit indexed.

      Available in iOS 4.0 and later.

    • kCVPixelFormatType_8Indexed

      kCVPixelFormatType_8Indexed

      8 bit indexed.

      Available in iOS 4.0 and later.

    • kCVPixelFormatType_1IndexedGray_WhiteIsZero

      kCVPixelFormatType_1IndexedGray_WhiteIsZero

      1 bit indexed gray, white is zero.

      Available in iOS 4.0 and later.

    • kCVPixelFormatType_2IndexedGray_WhiteIsZero

      kCVPixelFormatType_2IndexedGray_WhiteIsZero

      2 bit indexed gray, white is zero.

      Available in iOS 4.0 and later.

    • kCVPixelFormatType_4IndexedGray_WhiteIsZero

      kCVPixelFormatType_4IndexedGray_WhiteIsZero

      4 bit indexed gray, white is zero.

      Available in iOS 4.0 and later.

    • kCVPixelFormatType_8IndexedGray_WhiteIsZero

      kCVPixelFormatType_8IndexedGray_WhiteIsZero

      8 bit indexed gray, white is zero.

      Available in iOS 4.0 and later.

    • kCVPixelFormatType_16BE555

      kCVPixelFormatType_16BE555

      16 bit BE RGB 555.

      Available in iOS 4.0 and later.

    • kCVPixelFormatType_16LE555

      kCVPixelFormatType_16LE555

      16 bit LE RGB 555.

      Available in iOS 4.0 and later.

    • kCVPixelFormatType_16LE5551

      kCVPixelFormatType_16LE5551

      16 bit LE RGB 5551.

      Available in iOS 4.0 and later.

    • kCVPixelFormatType_16BE565

      kCVPixelFormatType_16BE565

      16 bit BE RGB 565.

      Available in iOS 4.0 and later.

    • kCVPixelFormatType_16LE565

      kCVPixelFormatType_16LE565

      16 bit LE RGB 565.

      Available in iOS 4.0 and later.

    • kCVPixelFormatType_24RGB

      kCVPixelFormatType_24RGB

      24 bit RGB.

      Available in iOS 4.0 and later.

    • kCVPixelFormatType_24BGR

      kCVPixelFormatType_24BGR

      24 bit BGR.

      Available in iOS 4.0 and later.

    • kCVPixelFormatType_32ARGB

      kCVPixelFormatType_32ARGB

      32 bit ARGB.

      Available in iOS 4.0 and later.

    • kCVPixelFormatType_32BGRA

      kCVPixelFormatType_32BGRA

      32 bit BGRA.

      Available in iOS 4.0 and later.

    • kCVPixelFormatType_32ABGR

      kCVPixelFormatType_32ABGR

      32 bit ABGR.

      Available in iOS 4.0 and later.

    • kCVPixelFormatType_32RGBA

      kCVPixelFormatType_32RGBA

      32 bit RGBA.

      Available in iOS 4.0 and later.

    • kCVPixelFormatType_64ARGB

      kCVPixelFormatType_64ARGB

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

      Available in iOS 4.0 and later.

    • kCVPixelFormatType_48RGB

      kCVPixelFormatType_48RGB

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

      Available in iOS 4.0 and later.

    • kCVPixelFormatType_32AlphaGray

      kCVPixelFormatType_32AlphaGray

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

      Available in iOS 4.0 and later.

    • kCVPixelFormatType_16Gray

      kCVPixelFormatType_16Gray

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

      Available in iOS 4.0 and later.

    • kCVPixelFormatType_30RGB

      kCVPixelFormatType_30RGB

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

      Available in iOS 4.3 and later.

    • kCVPixelFormatType_422YpCbCr8

      kCVPixelFormatType_422YpCbCr8

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

      Available in iOS 4.0 and later.

    • kCVPixelFormatType_4444YpCbCrA8

      kCVPixelFormatType_4444YpCbCrA8

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

      Available in iOS 4.0 and later.

    • kCVPixelFormatType_4444YpCbCrA8R

      kCVPixelFormatType_4444YpCbCrA8R

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

      Available in iOS 4.0 and later.

    • kCVPixelFormatType_4444AYpCbCr8

      kCVPixelFormatType_4444AYpCbCr8

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

      Available in iOS 4.3 and later.

    • kCVPixelFormatType_4444AYpCbCr16

      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.

      Available in iOS 4.3 and later.

    • kCVPixelFormatType_444YpCbCr8

      kCVPixelFormatType_444YpCbCr8

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

      Available in iOS 4.0 and later.

    • kCVPixelFormatType_422YpCbCr16

      kCVPixelFormatType_422YpCbCr16

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

      Available in iOS 4.0 and later.

    • kCVPixelFormatType_422YpCbCr10

      kCVPixelFormatType_422YpCbCr10

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

      Available in iOS 4.0 and later.

    • kCVPixelFormatType_444YpCbCr10

      kCVPixelFormatType_444YpCbCr10

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

      Available in iOS 4.0 and later.

    • kCVPixelFormatType_420YpCbCr8Planar

      kCVPixelFormatType_420YpCbCr8Planar

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

      Available in iOS 4.0 and later.

    • kCVPixelFormatType_420YpCbCr8PlanarFullRange

      kCVPixelFormatType_420YpCbCr8PlanarFullRange

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

      Available in iOS 4.0 and later.

    • kCVPixelFormatType_422YpCbCr_4A_8BiPlanar

      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.

      Available in iOS 4.0 and later.

    • kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange

      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.

      Available in iOS 4.0 and later.

    • kCVPixelFormatType_420YpCbCr8BiPlanarFullRange

      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.

      Available in iOS 4.0 and later.

    • kCVPixelFormatType_422YpCbCr8_yuvs

      kCVPixelFormatType_422YpCbCr8_yuvs

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

      Available in iOS 4.0 and later.

    • kCVPixelFormatType_422YpCbCr8FullRange

      kCVPixelFormatType_422YpCbCr8FullRange

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

      Available in iOS 4.0 and later.

    • kCVPixelFormatType_OneComponent8

      kCVPixelFormatType_OneComponent8

      8 bit one component, black is zero.

      Available in iOS 5.1 and later.

    • kCVPixelFormatType_TwoComponent8

      kCVPixelFormatType_TwoComponent8

      8 bit two component, black is zero.

      Available in iOS 5.1 and later.

    • kCVPixelFormatType_OneComponent16Half

      kCVPixelFormatType_OneComponent16Half

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

      Available in iOS 6.0 and later.

    • kCVPixelFormatType_OneComponent32Float

      kCVPixelFormatType_OneComponent32Float

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

      Available in iOS 6.0 and later.

    • kCVPixelFormatType_TwoComponent16Half

      kCVPixelFormatType_TwoComponent16Half

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

      Available in iOS 6.0 and later.

    • kCVPixelFormatType_TwoComponent32Float

      kCVPixelFormatType_TwoComponent32Float

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

      Available in iOS 6.0 and later.

    • kCVPixelFormatType_64RGBAHalf

      kCVPixelFormatType_64RGBAHalf

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

      Available in iOS 6.0 and later.

    • kCVPixelFormatType_128RGBAFloat

      kCVPixelFormatType_128RGBAFloat

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

      Available in iOS 6.0 and later.