NVIDIA DRIVE OS Linux API Reference

5.1.3.0 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
nvmedia_image_pyramid.h File Reference

Detailed Description

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

NvMediaImagePyramidNvMediaImagePyramidCreate (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...
 
NvMediaImageNvMediaImagePyramidGetImageForLevel (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...