Jetson Linux API Reference

35.1 Release

Detailed Description

Hold the information of single buffer in the batch.

Definition at line 427 of file nvbufsurface.h.

Collaboration diagram for NvBufSurfaceParams:

Data Fields

uint32_t width
 Holds the width of the buffer. More...
 
uint32_t height
 Holds the height of the buffer. More...
 
uint32_t pitch
 Holds the pitch of the buffer. More...
 
NvBufSurfaceColorFormat colorFormat
 Holds the color format of the buffer. More...
 
NvBufSurfaceLayout layout
 Holds BL or PL. More...
 
uint64_t bufferDesc
 Holds a DMABUF FD. More...
 
uint32_t dataSize
 Holds the amount of allocated memory. More...
 
void * dataPtr
 Holds a pointer to allocated memory. More...
 
NvBufSurfacePlaneParams planeParams
 Holds planewise information (width, height, pitch, offset, etc.). More...
 
NvBufSurfaceMappedAddr mappedAddr
 Holds pointers to mapped buffers. More...
 
NvBufSurfaceParamsEx * paramex
 pointers of extended parameters of single buffer in the batch. More...
 
void * _reserved [STRUCTURE_PADDING - 1]
 

Field Documentation

◆ _reserved

void* NvBufSurfaceParams::_reserved[STRUCTURE_PADDING - 1]

Definition at line 454 of file nvbufsurface.h.

◆ bufferDesc

uint64_t NvBufSurfaceParams::bufferDesc

Holds a DMABUF FD.

Valid only for NVBUF_MEM_SURFACE_ARRAY and NVBUF_MEM_HANDLE type memory.

Definition at line 440 of file nvbufsurface.h.

◆ colorFormat

NvBufSurfaceColorFormat NvBufSurfaceParams::colorFormat

Holds the color format of the buffer.

Definition at line 435 of file nvbufsurface.h.

◆ dataPtr

void* NvBufSurfaceParams::dataPtr

Holds a pointer to allocated memory.

Not valid for NVBUF_MEM_SURFACE_ARRAY or NVBUF_MEM_HANDLE.

Definition at line 445 of file nvbufsurface.h.

◆ dataSize

uint32_t NvBufSurfaceParams::dataSize

Holds the amount of allocated memory.

Definition at line 442 of file nvbufsurface.h.

◆ height

uint32_t NvBufSurfaceParams::height

Holds the height of the buffer.

Definition at line 431 of file nvbufsurface.h.

◆ layout

NvBufSurfaceLayout NvBufSurfaceParams::layout

Holds BL or PL.

For dGPU, only PL is valid.

Definition at line 437 of file nvbufsurface.h.

◆ mappedAddr

NvBufSurfaceMappedAddr NvBufSurfaceParams::mappedAddr

Holds pointers to mapped buffers.

Initialized to NULL when the structure is created.

Definition at line 450 of file nvbufsurface.h.

◆ paramex

NvBufSurfaceParamsEx* NvBufSurfaceParams::paramex

pointers of extended parameters of single buffer in the batch.

Definition at line 452 of file nvbufsurface.h.

◆ pitch

uint32_t NvBufSurfaceParams::pitch

Holds the pitch of the buffer.

Definition at line 433 of file nvbufsurface.h.

◆ planeParams

NvBufSurfacePlaneParams NvBufSurfaceParams::planeParams

Holds planewise information (width, height, pitch, offset, etc.).

Definition at line 447 of file nvbufsurface.h.

◆ width

uint32_t NvBufSurfaceParams::width

Holds the width of the buffer.

Definition at line 429 of file nvbufsurface.h.


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