NVIDIA Media Interface: Image Pyramid Processing
Description: This file contains the Image Pyramid Processing API.
Definition in file nvmedia_image_pyramid.h.
Go to the source code of this file.
Macros | |
#define | NVMEDIA_IMAGE_PYRAMID_VERSION_MAJOR 1 |
Major version number. More... | |
#define | NVMEDIA_IMAGE_PYRAMID_VERSION_MINOR 1 |
Minor version number. More... | |
#define | MAX_PYRAMID_LEVELS (10) |
Maximum number of levels allowed in a pyramid. More... | |
Typedefs | |
typedef struct NvMediaImagePyramid | NvMediaImagePyramid |
A handle representing an image pyramid object. More... | |
Functions | |
NvMediaImagePyramid * | NvMediaImagePyramidCreate (NvMediaDevice *device, NvMediaSurfaceType type, NvMediaSurfAllocAttr *attrs, uint32_t numLevels, float scale, uint32_t numAttrs, uint32_t flags) |
Allocates an image pyramid. More... | |
void | NvMediaImagePyramidDestroy (NvMediaImagePyramid *pyramid) |
Destroys an image pyramid created by NvMediaImagePyramidCreate(). More... | |
NvMediaStatus | NvMediaImagePyramidLock (NvMediaImagePyramid *pyramid, uint32_t lockAccessType, NvMediaImageSurfaceMap *surfaceMap) |
Locks an image pyramid and returns the associated mapped pointers to the image pyramid surface data. More... | |
void | NvMediaImagePyramidUnlock (NvMediaImagePyramid *pyramid) |
Unlocks an image pyramid. More... | |
NvMediaStatus | NvMediaImagePyramidGetStatus (NvMediaImagePyramid *pyramid, uint32_t millisecondWait, NvMediaTaskStatus *status) |
Gets the status of the current or most recent operation for the image pyramid; optionally waits for the current operation to complete or time out. More... | |
NvMediaImage * | NvMediaImagePyramidGetImageForLevel (NvMediaImagePyramid *pyramid, uint32_t level) |
Gets a pointer to the image for a level. More... | |
uint32_t | NvMediaImagePyramidGetNumLevels (NvMediaImagePyramid *pyramid) |
Returns the number of levels in a pyramid. More... | |
float | NvMediaImagePyramidGetScale (NvMediaImagePyramid *pyramid) |
Returns the scale factor of a pyramid. More... | |