vImageCVImageFormat_CopyConversionMatrix(_:_:_:)
Copies an RGB-to-YpCbCr conversion matrix to an image format’s internal matrix.
Declaration
func vImageCVImageFormat_CopyConversionMatrix(_ format: vImageCVImageFormat, _ matrix: UnsafeRawPointer, _ inType: vImageMatrixType) -> vImage_ErrorParameters
- format:
The destination Vimagecvimageformat instance.
- matrix:
The matrix that the function copies to the destination image format.
- inType:
The type of the matrix.
Return Value
kvImageNoError; otherwise, one of the error codes in Data Types and Constants.