Function

vImageVerticalReflect_ARGB16U(_:_:_:)

Reflects an ARGB16U source image top to bottom across the center horizontal line of the image.

Declaration

func vImageVerticalReflect_ARGB16U(_ src: UnsafePointer<vImage_Buffer>, _ dest: UnsafePointer<vImage_Buffer>, _ flags: vImage_Flags) -> vImage_Error

Parameters

src

A pointer to a vImage buffer structure that contains the source image whose data you want to reflect.

dest

A pointer to a vImage buffer data structure. You're responsible for filling out the height, width, and rowBytes fields of this structure, and for allocating a data buffer of the appropriate size. On return, the data buffer this structure points to contains the destination image data. When you no longer need the data buffer, you must deallocate the memory.

flags

The options to use when performing the operation. If you plan to perform your own tiling or use multithreading, pass kvImageDoNotTile.

Return Value

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

Discussion

This function does not scale or resample. The source and destination buffers must have the same height and the same width.

See Also

Vertical Reflection

func vImageVerticalReflect_ARGBFFFF(UnsafePointer<vImage_Buffer>, UnsafePointer<vImage_Buffer>, vImage_Flags) -> vImage_Error

Reflects an ARGBFFFF source image top to bottom across the center horizontal line of the image.

func vImageVerticalReflect_ARGB8888(UnsafePointer<vImage_Buffer>, UnsafePointer<vImage_Buffer>, vImage_Flags) -> vImage_Error

Reflects an ARGBFFFF source image top to bottom across the center horizontal line of the image.

func vImageVerticalReflect_Planar16U(UnsafePointer<vImage_Buffer>, UnsafePointer<vImage_Buffer>, vImage_Flags) -> vImage_Error

Reflects a Planar16U source image top to bottom across the center horizontal line of the image.

func vImageVerticalReflect_ARGB16S(UnsafePointer<vImage_Buffer>, UnsafePointer<vImage_Buffer>, vImage_Flags) -> vImage_Error

Reflects an ARGB16S source image top to bottom across the center horizontal line of the image.

func vImageVerticalReflect_PlanarF(UnsafePointer<vImage_Buffer>, UnsafePointer<vImage_Buffer>, vImage_Flags) -> vImage_Error

Reflects a PlanarF source image top to bottom across the center horizontal line of the image.

func vImageVerticalReflect_Planar8(UnsafePointer<vImage_Buffer>, UnsafePointer<vImage_Buffer>, vImage_Flags) -> vImage_Error

Reflects a Planar8 source image top to bottom across the center horizontal line of the image.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software