Jetson Linux API Reference

32.6.1 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
_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

uint32_t _NvBufferParams::dmabuf_fd

Holds the DMABUF FD of the hardware buffer.

Definition at line 427 of file nvbuf_utils.h.

uint32_t _NvBufferParams::height[MAX_NUM_PLANES]

height of each planes of hardware buffer.

Definition at line 443 of file nvbuf_utils.h.

uint32_t _NvBufferParams::layout[MAX_NUM_PLANES]

layout type of each planes of hardware buffer.

Definition at line 451 of file nvbuf_utils.h.

int32_t _NvBufferParams::memsize

size of the memory.

(Applicale for NvBufferPayload_MemHandle)

Definition at line 433 of file nvbuf_utils.h.

uint32_t _NvBufferParams::num_planes

number of planes of hardware buffer.

Definition at line 439 of file nvbuf_utils.h.

void* _NvBufferParams::nv_buffer

pointer to hardware buffer memory.

Definition at line 429 of file nvbuf_utils.h.

uint32_t _NvBufferParams::nv_buffer_size

size of hardware buffer.

Definition at line 435 of file nvbuf_utils.h.

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.

NvBufferPayloadType _NvBufferParams::payloadType

payload type of the buffer.

Definition at line 431 of file nvbuf_utils.h.

uint32_t _NvBufferParams::pitch[MAX_NUM_PLANES]

pitch of each planes of hardware buffer.

Definition at line 445 of file nvbuf_utils.h.

NvBufferColorFormat _NvBufferParams::pixel_format

video format type of hardware buffer.

Definition at line 437 of file nvbuf_utils.h.

uint32_t _NvBufferParams::psize[MAX_NUM_PLANES]

size of each vodeo planes of hardware buffer.

Definition at line 449 of file nvbuf_utils.h.

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: