convert(lumaSource:chromaSource:conversionInfo:)
Populates the pixel buffer with ARGB data from the given luminance and chrominance pixel buffers.
Declaration
func convert(lumaSource: vImage.PixelBuffer<vImage.Planar8>, chromaSource: vImage.PixelBuffer<vImage.Interleaved8x2>, conversionInfo: vImage_YpCbCrToARGB)Parameters
- lumaSource:
The source luminance buffer.
- chromaSource:
The source CbCr chrominance buffer.
- conversionInfo:
An opaque representation of a 3 x 3 converson matrix for converting Y’CbCr signals to RGB.