Function

vImageConverter_GetNumberOfDestinationBuffers(_:)

Returns the number of destination buffers written to by the converter.

Declaration

func vImageConverter_GetNumberOfDestinationBuffers(_ converter: vImageConverter) -> UInt

Parameters

converter

A valid converter to query the number of source buffers.

Return Value

The number of destination buffers.

Discussion

This function is for video formats that are planar data formats with data in more than one plane.

See Also

Converting Any-to-Any

Building a Basic Conversion Workflow

Learn the fundamentals of the convert-any-to-any function by converting a CMYK image to an RGB image.

class vImageConverter

A description of a conversion from one image format to another.

func vImageConverter_GetSourceBufferOrder(vImageConverter) -> UnsafePointer<vImageBufferTypeCode>!

Returns a list of vImage source buffer channel names, specifying the order of planes.

func vImageConverter_GetDestinationBufferOrder(vImageConverter) -> UnsafePointer<vImageBufferTypeCode>!

Returns a list of vImage destination buffer channel names, specifying the order of planes.

vImage Buffer Type Codes

Constants that specify the contents of vImage buffers.

func vImageConverter_GetNumberOfSourceBuffers(vImageConverter) -> UInt

Returns the number of source buffers consumed by the converter.