Contents

vImageConverter_GetSourceBufferOrder(_:)

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

Declaration

func vImageConverter_GetSourceBufferOrder(_ converter: vImageConverter) -> UnsafePointer<vImageBufferTypeCode>!

Parameters

  • converter:

    A valid Vimageconverter instance to query the source buffer channel names and order of planes.

Return Value

An array of buffer type codes (see vImage Buffer Type Codes) that ends with kvImageBufferTypeCode_EndOfList.

Discussion

This function describes the identity of each buffer passed in the srcs parameters of vImageConvert_AnyToAny(_:_:_:_:_:), so you can order the buffers correctly. It’s provided for informational purposes, to help you configure image processing pipelines to vImage that aren’t supported through more direct means.

See Also

Querying a converter’s properties