Function

vImageVerticalReflect_Planar8

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

Declaration

vImage_Error vImageVerticalReflect_Planar8(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, 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

vImageVerticalReflect_ARGBFFFF

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

vImageVerticalReflect_ARGB8888

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

vImageVerticalReflect_Planar16U

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

vImageVerticalReflect_ARGB16U

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

vImageVerticalReflect_ARGB16S

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

vImageVerticalReflect_PlanarF

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