Structure

vImage_YpCbCrToARGBMatrix

A 3 x 3 matrix for converting Y'CbCr signals to RGB.

Declaration

struct vImage_YpCbCrToARGBMatrix

Overview

The 3 x 3 matrix is given by:

Topics

Creating a Conversion Matrix

init(Yp: Float, Cr_R: Float, Cr_G: Float, Cb_G: Float, Cb_B: Float)

Creates a 3 x 3 matrix for converting Y'CbCr signals to RGB.

init()

Creates a 3 x 3 zero matrix for converting Y'CbCr signals to RGB.

Conversion Matrix Elements

var Yp: Float

The Yp value in the conversion matrix.

var Cr_R: Float

The Cr_R value in the conversion matrix.

var Cr_G: Float

The Cr_G value in the conversion matrix.

var Cb_G: Float

The Cb_G value in the conversion matrix.

var Cb_B: Float

The Cb_B value in the conversion matrix.

Conversion Matrices

var kvImage_YpCbCrToARGBMatrix_ITU_R_601_4: UnsafePointer<vImage_YpCbCrToARGBMatrix>!

Y'CbCr-to-RGB conversion matrix for ITU Recommendation BT.601-4.

var kvImage_YpCbCrToARGBMatrix_ITU_R_709_2: UnsafePointer<vImage_YpCbCrToARGBMatrix>!

Y'CbCr-to-RGB conversion matrix for ITU Recommendation BT.709-2.

See Also

Converting from YUV Formats

struct vImageYpCbCrType

Constants indicating the encoding of a YUV image format type to be used with RGB / Y'CbCr conversions.

struct vImageARGBType

Constants indicating the encoding of an ARGB image format type to be used with RGB / Y'CbCr conversions.

struct vImage_YpCbCrToARGB

An opaque representation of a 3 x 3 matrix for converting Y'CbCr signals to RGB.

struct vImage_YpCbCrPixelRange

Range and clamping information for Y'CbCr pixel formats.