Contents

vImageCVImageFormat_SetChromaSiting(_:_:)

Sets the chrominance siting of a Core Video image format.

Declaration

func vImageCVImageFormat_SetChromaSiting(_ format: vImageCVImageFormat, _ siting: CFString!) -> vImage_Error

Parameters

  • format:

    The Core Video image format to update.

  • siting:

    The new siting information for the format.

Return Value

kvImageNoError; otherwise, one of the error codes in Data Types and Constants.

Discussion

4:2:0 and 4:2:0 YpCbCr image formats that have subsampled chrominance require the position of the chrominance samples relative to the luminance samples.

See Also

Related Documentation

Querying and setting the chrominance siting