NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release

Detailed Description

Attributes structure for NvMedia2DCreate().

This type holds the attributes to control the behaviour of the NvMedia2D context. These attributes take effect during the call to NvMedia2DCreate().


Usage considerations

  • Maturity: Experimental
See also
NvMedia2DGetDefaultAttributes()
NvMedia2DCreate()

Definition at line 260 of file nvmedia_2d.h.

Data Fields

uint32_t numComposeParameters
 Number of compose parameters objects to allocate. More...
 
uint32_t maxRegisteredBuffers
 Maximum number of buffers that can be registered. More...
 
uint32_t maxRegisteredSyncs
 Maximum number of sync objects that can be registered. More...
 
uint32_t maxFilterBuffers
 Maximum number of filter buffers that can be created. More...
 
uint32_t maxLdcWarpMaps
 Maximum number of LDC warp maps that can be created. More...
 
uint32_t maxLdcMaskMaps
 Maximum number of LDC mask maps that can be created. More...
 
uint32_t maxTnrStates
 Maximum number of TNR states that can be created. More...
 
bool enableDiagnostics
 Enable diagnostics functionality. More...
 
uint32_t numaNodeId
 NUMA node ID for hardware instance selection. More...
 
uint32_t flags
 Internal use only. More...
 

Field Documentation

◆ enableDiagnostics

bool NvMedia2DAttributes::enableDiagnostics

Enable diagnostics functionality.

When true, diagnostics resources are allocated and diagnostics tests can be set to be executed with NvMedia2DSetDiagnosticsTest().

See also
NvMedia2DSetDiagnosticsTest()
NvMedia2DCapabilities::numDiagnosticsTests

Definition at line 327 of file nvmedia_2d.h.

◆ flags

uint32_t NvMedia2DAttributes::flags

Internal use only.

Definition at line 337 of file nvmedia_2d.h.

◆ maxFilterBuffers

uint32_t NvMedia2DAttributes::maxFilterBuffers

Maximum number of filter buffers that can be created.

Must be in range [0, 16].

See also
NvMedia2DFilterBuffer
NvMedia2DCreateFilterBuffer()

Definition at line 293 of file nvmedia_2d.h.

◆ maxLdcMaskMaps

uint32_t NvMedia2DAttributes::maxLdcMaskMaps

Maximum number of LDC mask maps that can be created.

Must be in range [0, 64].

See also
NvMedia2DLdcMaskMap
NvMedia2DCreateLdcMaskMap()

Definition at line 309 of file nvmedia_2d.h.

◆ maxLdcWarpMaps

uint32_t NvMedia2DAttributes::maxLdcWarpMaps

Maximum number of LDC warp maps that can be created.

Must be in range [0, 64].

See also
NvMedia2DLdcWarpMap
NvMedia2DCreateLdcWarpMap()

Definition at line 301 of file nvmedia_2d.h.

◆ maxRegisteredBuffers

uint32_t NvMedia2DAttributes::maxRegisteredBuffers

Maximum number of buffers that can be registered.

Must be in range [1, 1024].

See also
NvMedia2DRegisterNvSciBufObj()

Definition at line 277 of file nvmedia_2d.h.

◆ maxRegisteredSyncs

uint32_t NvMedia2DAttributes::maxRegisteredSyncs

Maximum number of sync objects that can be registered.

Must be in range [1, 256].

See also
NvMedia2DRegisterNvSciSyncObj()

Definition at line 285 of file nvmedia_2d.h.

◆ maxTnrStates

uint32_t NvMedia2DAttributes::maxTnrStates

Maximum number of TNR states that can be created.

Must be in range [0, 64].

See also
NvMedia2DTnrState
NvMedia2DCreateTnrState()

Definition at line 317 of file nvmedia_2d.h.

◆ numaNodeId

uint32_t NvMedia2DAttributes::numaNodeId

NUMA node ID for hardware instance selection.

Configures which NUMA node the hardware and synchronization objects will be associated with.

Definition at line 334 of file nvmedia_2d.h.

◆ numComposeParameters

uint32_t NvMedia2DAttributes::numComposeParameters

Number of compose parameters objects to allocate.

Must be in range [1, 16].

See also
NvMedia2DComposeParameters
NvMedia2DGetComposeParameters()

Definition at line 269 of file nvmedia_2d.h.


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