Data Types and Constants

Overview

The data types and constants defined in this document are used by vImage functions. The primary vImage data type is the vImage_Buffer, which contains a pointer to image data along with other image data information. The vImage framework also defines data types for planar and interleaved pixel types, a resampling callback filter, and an affine transform. It provides constants that specify errors that can be returned by vImage functions and flags that you can pass to a function to specify a variety of processing options.

Topics

Data Types

vImage_Buffer

The basic data structure used by vImage functions for passing image data.

vImagePixelCount

A type for the number of pixels.

vImage_AffineTransform

A structure for values that represent an affine transformation.

vImage_AffineTransform_Double

A structure for values that represent a double-precision affine transformation.

vImage_CGAffineTransform

A structure for values that represent a Core-Graphics-compatible affine transformation.

vImage_Error

A type for image errors.

vImage_Flags

A type for processing options.

Pixel_8

A type for an 8-bit planar pixel value

Pixel_F

A type for a floating-point planar pixel value

Pixel_8888

A type for an interleaved, 8 bits per channel pixel value.

Pixel_FFFF

A type for an interleaved, floating-point pixel value.

GammaFunction

A type for a gamma function.

ResamplingFilter

A pointer to a resampling filter callback function.

Constants

Error Codes

Error codes returned by vImage functions.

Processing Flags

Set flags on vImage operations to specify processing options.

Dithering Methods

Constants that define different dithering methods.

Availability Flags

These flags, defined as constants by the SDK, indicate the availability of particular vImage features.

Decode Arrays

Decode array constant to use with 16Q12 formatted data.

See Also