Functions and structures for dealing with VPI pyramids. More...
Go to the source code of this file.
Data Structures | |
struct | VPIPyramidData |
Stores the pyramid contents. More... | |
Macros | |
#define | VPI_MAX_PYRAMID_LEVEL_COUNT (10) |
Maximum number of pyramid levels. | |
Functions | |
VPIStatus | vpiPyramidCreate (uint32_t width, uint32_t height, VPIImageFormat fmt, uint32_t numLevels, float scale, uint32_t flags, VPIPyramid *pyr) |
Create an empty image pyramid instance with the specified flags. More... | |
void | vpiPyramidDestroy (VPIPyramid pyr) |
Destroy an image pyramid instance as well as all resources it owns. More... | |
VPIStatus | vpiPyramidGetFlags (VPIPyramid pyr, uint32_t *flags) |
Returns the flags associated with the pyramid. More... | |
VPIStatus | vpiPyramidGetType (VPIPyramid pyr, VPIImageFormat *type) |
Returns the image type of the pyramid levels. More... | |
VPIStatus | vpiPyramidGetNumLevels (VPIPyramid pyr, uint32_t *numLevels) |
Get the image pyramid level count. More... | |
VPIStatus | vpiPyramidGetSize (VPIPyramid pyr, uint32_t outSize, uint32_t *outWidth, uint32_t *outHeight) |
Get the image width and height in pixels (for all levels at once). More... | |
VPIStatus | vpiPyramidLock (VPIPyramid pyr, VPILockMode lock, VPIPyramidData *out) |
Acquires the lock on a pyramid object and returns pointers to each level of the pyramid. More... | |
VPIStatus | vpiPyramidUnlock (VPIPyramid pyr) |
Releases the lock on a image pyramid object. More... | |
VPIStatus | vpiImageCreatePyramidLevelWrapper (VPIPyramid pyr, uint32_t level, VPIImage *img) |
Creates an image that wraps one pyramid level. More... | |
Functions and structures for dealing with VPI pyramids.
Definition in file Pyramid.h.