Enumeration

Error Codes

Error codes returned by vImage functions.

Declaration

enum : int {
    ...
};

Topics

Constants

kvImageNoError

The vImage function completed without error.

kvImageRoiLargerThanInputBuffer

The region of interest, as specified by the srcOffsetToROI_X and srcOffsetToROI_Y parameters and the height and width of the destination buffer, extends beyond the bottom edge or right edge of the source buffer.

kvImageInvalidKernelSize

Either the kernel height, the kernel width, or both, are even.

kvImageInvalidEdgeStyle

The edge style specified is invalid. This usually means that a particular function requires you to set at least one edge option flag (kvImageCopyInPlace, kvImageBackgroundColorFill, or kvImageEdgeExtend), but you did not specify one. See Processing Flags for more information about these flags.

kvImageInvalidOffset_X

The srcOffsetToROI_X parameter that specifies the left edge of the region of interest is greater than the width of the source image.

kvImageInvalidOffset_Y

The srcOffsetToROI_Y parameter that specifies the top edge of the region of interest is greater than the height of the source image.

kvImageMemoryAllocationError

An attempt to allocate memory failed.

kvImageNullPointerArgument

A pointer parameter is NULL and it must not be.

kvImageInvalidParameter

Invalid parameter.

kvImageBufferSizeMismatch

The function requires the source and destination buffers to have the same height and the same width, but they do not.

kvImageUnknownFlagsBit

The flag is not recognized.

kvImageInternalError

A serious error occured inside vImage, which prevented vImage from continuing.

kvImageUnsupportedConversion

Some lower level conversion APIs only support conversion among a sparse matrix of image formats.