Contents

init(lumaSource:chromaSource:conversionInfo:)

Creates a 4-channel, 8-bit-per-channel interleaved buffer from a planar Yp buffer and a two-channel interleaved CbCr buffer.

Declaration

init(lumaSource: vImage.PixelBuffer<vImage.Planar8>, chromaSource: vImage.PixelBuffer<vImage.Interleaved8x2>, conversionInfo: vImage_YpCbCrToARGB)

Parameters

  • lumaSource:

    The source buffer that contains the luminance data.

  • chromaSource:

    The source buffer that contains the chrominance data.

  • conversionInfo:

    An opaque representation of a 3x3 converson matrix for converting Y’CbCr signals to RGB.

See Also

Creating an interleaved buffer from another buffer