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 (1u) |
Major version number. More... | |
#define | NVMEDIA_IMAGE_PYRAMID_VERSION_MINOR (3u) |
Minor version number. More... | |
#define | MAX_PYRAMID_LEVELS (10u) |
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, const NvMediaSurfAllocAttr *attrs, uint32_t numLevels, float_t 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 (const 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 (const NvMediaImagePyramid *pyramid) |
Unlocks an image pyramid. More... | |
NvMediaStatus | NvMediaImagePyramidGetStatus (const 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 (const NvMediaImagePyramid *pyramid, uint32_t level) |
Gets a pointer to the image for a level. More... | |
uint32_t | NvMediaImagePyramidGetNumLevels (const NvMediaImagePyramid *pyramid) |
Returns the number of levels in a pyramid. More... | |
float_t | NvMediaImagePyramidGetScale (const NvMediaImagePyramid *pyramid) |
Returns the scale factor of a pyramid. More... | |