Back to Jetson Inference

Jetson Inference: _NvBufferParams Struct Reference

docs/html/struct__NvBufferParams.html

latest6.7 KB
Original Source

| | Jetson Inference

DNN Vision Library |

Public Attributes | List of all members

_NvBufferParams Struct Reference [Buffer Manager](group ee nvbuffering__group.html)

Holds parameters for a hardware buffer. More...

#include <nvbuf_utils.h>

|

Public Attributes

| | uint32_t | dmabuf_fd | | | Holds the DMABUF FD of the hardware buffer. More...
| | | | void * | nv_buffer | | | pointer to hardware buffer memory. More...
| | | | [NvBufferPayloadType](group ee nvbuffering__group.html#gac974d52b75557ea676df309b5e0d3106) | 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](group ee nvbuffering__group.html#gaae53b45fe3f04b8f9135cb80baeac6e4) | 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](group__ee nvbuffering group.html#gace0ae4e1f4091c09e0aaaba06666c825)] | | | width of each planes of hardware buffer. More...
| | | | uint32_t | height [[MAX_NUM_PLANES](group__ee nvbuffering group.html#gace0ae4e1f4091c09e0aaaba06666c825)] | | | height of each planes of hardware buffer. More...
| | | | uint32_t | pitch [[MAX_NUM_PLANES](group__ee nvbuffering group.html#gace0ae4e1f4091c09e0aaaba06666c825)] | | | pitch of each planes of hardware buffer. More...
| | | | uint32_t | offset [[MAX_NUM_PLANES](group__ee nvbuffering group.html#gace0ae4e1f4091c09e0aaaba06666c825)] | | | memory offset values of each video planes of hardware buffer. More...
| | | | uint32_t | psize [[MAX_NUM_PLANES](group__ee nvbuffering group.html#gace0ae4e1f4091c09e0aaaba06666c825)] | | | size of each vodeo planes of hardware buffer. More...
| | | | uint32_t | layout [[MAX_NUM_PLANES](group__ee nvbuffering group.html#gace0ae4e1f4091c09e0aaaba06666c825)] | | | layout type of each planes of hardware buffer. More...
| | |

Detailed Description

Holds parameters for a hardware buffer.

Member Data Documentation

dmabuf_fd

| uint32_t _NvBufferParams::dmabuf_fd |

Holds the DMABUF FD of the hardware buffer.

height

| uint32_t _NvBufferParams::height[[MAX_NUM_PLANES](group ee nvbuffering__group.html#gace0ae4e1f4091c09e0aaaba06666c825)] |

height of each planes of hardware buffer.

layout

| uint32_t _NvBufferParams::layout[[MAX_NUM_PLANES](group ee nvbuffering__group.html#gace0ae4e1f4091c09e0aaaba06666c825)] |

layout type of each planes of hardware buffer.

memsize

| int32_t _NvBufferParams::memsize |

size of the memory.

(Applicale for NvBufferPayload_MemHandle)

num_planes

| uint32_t _NvBufferParams::num_planes |

number of planes of hardware buffer.

nv_buffer

| void* _NvBufferParams::nv_buffer |

pointer to hardware buffer memory.

nv_buffer_size

| uint32_t _NvBufferParams::nv_buffer_size |

size of hardware buffer.

offset

| uint32_t _NvBufferParams::offset[[MAX_NUM_PLANES](group ee nvbuffering__group.html#gace0ae4e1f4091c09e0aaaba06666c825)] |

memory offset values of each video planes of hardware buffer.

payloadType

| [NvBufferPayloadType](group ee nvbuffering__group.html#gac974d52b75557ea676df309b5e0d3106) _NvBufferParams::payloadType |

payload type of the buffer.

pitch

| uint32_t _NvBufferParams::pitch[[MAX_NUM_PLANES](group ee nvbuffering__group.html#gace0ae4e1f4091c09e0aaaba06666c825)] |

pitch of each planes of hardware buffer.

pixel_format

| [NvBufferColorFormat](group ee nvbuffering__group.html#gaae53b45fe3f04b8f9135cb80baeac6e4) _NvBufferParams::pixel_format |

video format type of hardware buffer.

psize

| uint32_t _NvBufferParams::psize[[MAX_NUM_PLANES](group ee nvbuffering__group.html#gace0ae4e1f4091c09e0aaaba06666c825)] |

size of each vodeo planes of hardware buffer.

width

| uint32_t _NvBufferParams::width[[MAX_NUM_PLANES](group ee nvbuffering__group.html#gace0ae4e1f4091c09e0aaaba06666c825)] |

width of each planes of hardware buffer.


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