NVIDIA DRIVE OS Linux API Reference Release
For Test and Development only

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
NvMediaImageSurfaceMap Struct Reference

Detailed Description

Holds an image surface map descriptor used by NvMediaImageLock().

It contains up to 6 surface descriptors, depending on the image type.

Definition at line 192 of file nvmedia_image.h.

Collaboration diagram for NvMediaImageSurfaceMap:

Data Fields

NvMediaSurfaceType type
 Holds image surface type. More...
uint32_t width
 Holds image width. More...
uint32_t height
 Holds image height. More...
uint32_t surfaces
 Holds the number of surfaces in the image. More...
NvMediaImageSurface surface [6]
 Holds surface descriptors. More...
void * metaData
 Holds a pointer to metadata associated with the surface. More...

Field Documentation

uint32_t NvMediaImageSurfaceMap::height

Holds image height.

Definition at line 198 of file nvmedia_image.h.

void* NvMediaImageSurfaceMap::metaData

Holds a pointer to metadata associated with the surface.

Definition at line 205 of file nvmedia_image.h.

NvMediaImageSurface NvMediaImageSurfaceMap::surface[6]

Holds surface descriptors.

Only the first surface number of elements is valid.

Definition at line 203 of file nvmedia_image.h.

uint32_t NvMediaImageSurfaceMap::surfaces

Holds the number of surfaces in the image.

Definition at line 200 of file nvmedia_image.h.

NvMediaSurfaceType NvMediaImageSurfaceMap::type

Holds image surface type.

Definition at line 194 of file nvmedia_image.h.

uint32_t NvMediaImageSurfaceMap::width

Holds image width.

Definition at line 196 of file nvmedia_image.h.

The documentation for this struct was generated from the following file: