Jetson Linux API Reference

38.2 Release
NvBuffer::NvBufferPlane Struct Reference

Detailed Description

Holds the buffer plane parameters.

Definition at line 108 of file NvBuffer.h.

Collaboration diagram for NvBuffer::NvBufferPlane:

Data Fields

NvBufferPlaneFormat fmt
 Holds the format of the plane. More...
 
unsigned char * data
 Holds a pointer to the plane memory. More...
 
uint32_t bytesused
 Holds the number of valid bytes in the plane. More...
 
int fd
 Holds the file descriptor (FD) of the plane of the exported buffer, in the case of V4L2 MMAP buffers. More...
 
uint32_t mem_offset
 Holds the offset of the first valid byte from the data pointer. More...
 
uint32_t length
 Holds the size of the buffer in bytes. More...
 

Field Documentation

◆ bytesused

uint32_t NvBuffer::NvBufferPlane::bytesused

Holds the number of valid bytes in the plane.

Definition at line 113 of file NvBuffer.h.

◆ data

unsigned char* NvBuffer::NvBufferPlane::data

Holds a pointer to the plane memory.

Definition at line 112 of file NvBuffer.h.

◆ fd

int NvBuffer::NvBufferPlane::fd

Holds the file descriptor (FD) of the plane of the exported buffer, in the case of V4L2 MMAP buffers.

Definition at line 115 of file NvBuffer.h.

◆ fmt

NvBufferPlaneFormat NvBuffer::NvBufferPlane::fmt

Holds the format of the plane.

Definition at line 110 of file NvBuffer.h.

◆ length

uint32_t NvBuffer::NvBufferPlane::length

Holds the size of the buffer in bytes.

Definition at line 119 of file NvBuffer.h.

◆ mem_offset

uint32_t NvBuffer::NvBufferPlane::mem_offset

Holds the offset of the first valid byte from the data pointer.

Definition at line 117 of file NvBuffer.h.


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