Jetson Linux API Reference

32.7.4 Release
_NvBufferParams Struct Reference

Detailed Description

Holds parameters for a hardware buffer.

Definition at line 424 of file nvbuf_utils.h.

Data Fields

uint32_t dmabuf_fd
 Holds the DMABUF FD of the hardware buffer. More...
 
void * nv_buffer
 pointer to hardware buffer memory. More...
 
NvBufferPayloadType payloadType
 payload type of the buffer. More...
 
int32_t memsize
 size of the memory. More...
 
uint32_t nv_buffer_size
 size of hardware buffer. More...
 
NvBufferColorFormat pixel_format
 video format type of hardware buffer. More...
 
uint32_t num_planes
 number of planes of hardware buffer. More...
 
uint32_t width [MAX_NUM_PLANES]
 width of each planes of hardware buffer. More...
 
uint32_t height [MAX_NUM_PLANES]
 height of each planes of hardware buffer. More...
 
uint32_t pitch [MAX_NUM_PLANES]
 pitch of each planes of hardware buffer. More...
 
uint32_t offset [MAX_NUM_PLANES]
 memory offset values of each video planes of hardware buffer. More...
 
uint32_t psize [MAX_NUM_PLANES]
 size of each vodeo planes of hardware buffer. More...
 
uint32_t layout [MAX_NUM_PLANES]
 layout type of each planes of hardware buffer. More...
 

Field Documentation

◆ dmabuf_fd

uint32_t _NvBufferParams::dmabuf_fd

Holds the DMABUF FD of the hardware buffer.

Definition at line 427 of file nvbuf_utils.h.

◆ height

uint32_t _NvBufferParams::height[MAX_NUM_PLANES]

height of each planes of hardware buffer.

Definition at line 443 of file nvbuf_utils.h.

◆ layout

uint32_t _NvBufferParams::layout[MAX_NUM_PLANES]

layout type of each planes of hardware buffer.

Definition at line 451 of file nvbuf_utils.h.

◆ memsize

int32_t _NvBufferParams::memsize

size of the memory.

(Applicale for NvBufferPayload_MemHandle)

Definition at line 433 of file nvbuf_utils.h.

◆ num_planes

uint32_t _NvBufferParams::num_planes

number of planes of hardware buffer.

Definition at line 439 of file nvbuf_utils.h.

◆ nv_buffer

void* _NvBufferParams::nv_buffer

pointer to hardware buffer memory.

Definition at line 429 of file nvbuf_utils.h.

◆ nv_buffer_size

uint32_t _NvBufferParams::nv_buffer_size

size of hardware buffer.

Definition at line 435 of file nvbuf_utils.h.

◆ offset

uint32_t _NvBufferParams::offset[MAX_NUM_PLANES]

memory offset values of each video planes of hardware buffer.

Definition at line 447 of file nvbuf_utils.h.

◆ payloadType

NvBufferPayloadType _NvBufferParams::payloadType

payload type of the buffer.

Definition at line 431 of file nvbuf_utils.h.

◆ pitch

uint32_t _NvBufferParams::pitch[MAX_NUM_PLANES]

pitch of each planes of hardware buffer.

Definition at line 445 of file nvbuf_utils.h.

◆ pixel_format

NvBufferColorFormat _NvBufferParams::pixel_format

video format type of hardware buffer.

Definition at line 437 of file nvbuf_utils.h.

◆ psize

uint32_t _NvBufferParams::psize[MAX_NUM_PLANES]

size of each vodeo planes of hardware buffer.

Definition at line 449 of file nvbuf_utils.h.

◆ width

uint32_t _NvBufferParams::width[MAX_NUM_PLANES]

width of each planes of hardware buffer.

Definition at line 441 of file nvbuf_utils.h.


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