Function

vImageHorizontalReflect_ARGB16S

Reflects an ARGB16S source image left to right across the center vertical line of the image.

Declaration

vImage_Error vImageHorizontalReflect_ARGB16S(const vImage_Buffer *src, const vImage_Buffer *dest, vImage_Flags flags);

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 it returns 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

Horizontal Reflection

vImageHorizontalReflect_ARGBFFFF

Reflects an ARGBFFFF source image left to right across the center vertical line of the image.

vImageHorizontalReflect_ARGB8888

Reflects an ARGB8888 source image left to right across the center vertical line of the image.

vImageHorizontalReflect_ARGB16U

Reflects an ARGB16U source image left to right across the center vertical line of the image.

vImageHorizontalReflect_PlanarF

Reflects a PlanarF source image left to right across the center vertical line of the image, placing the result in a destination buffer.

vImageHorizontalReflect_Planar8

Reflects a Planar8 source image left to right across the center vertical line of the image.

vImageHorizontalReflect_Planar16U

Reflects a Planar16U source image left to right across the center vertical 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