NVIDIA DRIVE OS Linux API Reference5.1.0.2 Release |
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 0 |
Minor Version number. More... | |
#define | MAX_PYRAMID_LEVELS (10) |
Max allowed levels in a pyramid. More... | |
Typedefs | |
typedef struct NvMediaImagePyramid | NvMediaImagePyramid |
A handle representing image pyramid objects. 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 that NvMediaImagePyramidCreate() created. More... | |
NvMediaStatus | NvMediaImagePyramidLock (NvMediaImagePyramid *pyramid, uint32_t lockAccessType, NvMediaImageSurfaceMap *surfaceMap) |
Locks an image pyramid and returns the associated mapped pointers pointing 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 status of the current/last operation for the image pyramid, and optionally waits for operation to complete/timeout. More... | |
NvMediaImage * | NvMediaImagePyramidGetImageForLevel (NvMediaImagePyramid *pyramid, uint32_t level) |
Returns NvMediaImage pointer of image for a level. More... | |
uint32_t | NvMediaImagePyramidGetNumLevels (NvMediaImagePyramid *pyramid) |
Returns number of levels in the pyramid. More... | |
float | NvMediaImagePyramidGetScale (NvMediaImagePyramid *pyramid) |
Returns scale factor of the pyramid. More... | |