Enumeration Case

kvImageNoAllocate

A flag that prevents vImage from allocating additional storage.

Declaration

kvImageNoAllocate = 512

Discussion

When you set this flag, vImage uses the memory provided to the buffer rather than allocating new memory. For example, instead of overwriting a buffer's data property with a newly allocated pointer to memory, vImage uses the memory pointed to by the data property directly. In other cases, it may cause the function to assume ownership of a buffer, rather than allocating a copy. You are responsible for making sure the buffer that you allocate is large enough to hold the image. Most vImage functions do not allocate memory and assume that the buffer's data is already allocated, and, in the case of source image buffers, contain valid pixel data.

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