NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release

Detailed Description

Holds IOFA Initialization API parameters.

  • Maturity: GA

Definition at line 296 of file nvmedia_iofa.h.

Data Fields

NvMediaIofaMode ofaMode
 Iofa Mode type
One of ofa mode types provided in NvMediaIofaMode. More...
 
uint8_t ofaPydLevel
 Number of input pyramid level
Number of input pyramid levels used for pyramid optical flow estimation
ofaPydLevel variable is not used for other OFA modes. More...
 
uint16_t width [NVMEDIA_IOFA_MAX_PYD_LEVEL]
 Input width
Valid range of width can be queried by calling NvMediaIOFAGetCapability API. More...
 
uint16_t height [NVMEDIA_IOFA_MAX_PYD_LEVEL]
 Input height
Valid range of height can be queried by calling NvMediaIOFAGetCapability API. More...
 
NvMediaIofaGridSize gridSize [NVMEDIA_IOFA_MAX_PYD_LEVEL]
 OFA Grid size per pyramid level
One of the value from NvMediaIofaGridSize. More...
 
uint16_t outWidth [NVMEDIA_IOFA_MAX_PYD_LEVEL]
 Output width
Valid range of outWidth is depedent on valid input width and valid grid size
outWidth is calculated based on width and gridsize for that level
outwidth = (width + (1 << gridSize) - 1)) >> gridSize Application should set outWidth based on above equation. More...
 
uint16_t outHeight [NVMEDIA_IOFA_MAX_PYD_LEVEL]
 Output height
Valid range of outHeight is depedent on valid input height and valid grid size
outHeight is calculated based on height and gridsize for that level
outHeight = (height + (1 << gridSize) - 1)) >> gridSize Application should set outHeight based on above equation. More...
 
NvMediaIofaDisparityRange dispRange
 Stereo Disparity Range
One of the value from NvMediaIofaDisparityRange. More...
 
NvMediaIofaPydMode pydMode
 Pyramid SGM Mode
One of the value from NvMediaIofaPydMode. More...
 
bool vprMode
 Input and Output Surface in VPR (Not supported)
true use VPR memory for input and output surface
false use normal memory for input and output surface. More...
 
NvMediaIofaPreset preset
 Ofa Preset
One of the value from NvMediaIofaPreset. More...
 
NvMediaIofaEpiSearchRange epiSearchRange
 Epipolar search range in pixels
One of the value from NvMediaIofaEpiSearchRange. More...
 
uint8_t ofaDeviceId
 

Field Documentation

◆ dispRange

NvMediaIofaDisparityRange NvMediaIofaInitParams::dispRange

Stereo Disparity Range
One of the value from NvMediaIofaDisparityRange.

Definition at line 340 of file nvmedia_iofa.h.

◆ epiSearchRange

NvMediaIofaEpiSearchRange NvMediaIofaInitParams::epiSearchRange

Epipolar search range in pixels
One of the value from NvMediaIofaEpiSearchRange.

Definition at line 357 of file nvmedia_iofa.h.

◆ gridSize

NvMediaIofaGridSize NvMediaIofaInitParams::gridSize[NVMEDIA_IOFA_MAX_PYD_LEVEL]

OFA Grid size per pyramid level
One of the value from NvMediaIofaGridSize.

Definition at line 322 of file nvmedia_iofa.h.

◆ height

uint16_t NvMediaIofaInitParams::height[NVMEDIA_IOFA_MAX_PYD_LEVEL]

Input height
Valid range of height can be queried by calling NvMediaIOFAGetCapability API.


Height of the input and reference NvSciBufObj that needs to be processed should be equal to the value which is passed here.

Definition at line 318 of file nvmedia_iofa.h.

◆ ofaDeviceId

uint8_t NvMediaIofaInitParams::ofaDeviceId

Definition at line 362 of file nvmedia_iofa.h.

◆ ofaMode

NvMediaIofaMode NvMediaIofaInitParams::ofaMode

Iofa Mode type
One of ofa mode types provided in NvMediaIofaMode.

Definition at line 301 of file nvmedia_iofa.h.

◆ ofaPydLevel

uint8_t NvMediaIofaInitParams::ofaPydLevel

Number of input pyramid level
Number of input pyramid levels used for pyramid optical flow estimation
ofaPydLevel variable is not used for other OFA modes.

Definition at line 306 of file nvmedia_iofa.h.

◆ outHeight

uint16_t NvMediaIofaInitParams::outHeight[NVMEDIA_IOFA_MAX_PYD_LEVEL]

Output height
Valid range of outHeight is depedent on valid input height and valid grid size
outHeight is calculated based on height and gridsize for that level
outHeight = (height + (1 << gridSize) - 1)) >> gridSize Application should set outHeight based on above equation.

Definition at line 336 of file nvmedia_iofa.h.

◆ outWidth

uint16_t NvMediaIofaInitParams::outWidth[NVMEDIA_IOFA_MAX_PYD_LEVEL]

Output width
Valid range of outWidth is depedent on valid input width and valid grid size
outWidth is calculated based on width and gridsize for that level
outwidth = (width + (1 << gridSize) - 1)) >> gridSize Application should set outWidth based on above equation.

Definition at line 329 of file nvmedia_iofa.h.

◆ preset

NvMediaIofaPreset NvMediaIofaInitParams::preset

Ofa Preset
One of the value from NvMediaIofaPreset.

Definition at line 353 of file nvmedia_iofa.h.

◆ pydMode

NvMediaIofaPydMode NvMediaIofaInitParams::pydMode

Pyramid SGM Mode
One of the value from NvMediaIofaPydMode.

Definition at line 344 of file nvmedia_iofa.h.

◆ vprMode

bool NvMediaIofaInitParams::vprMode

Input and Output Surface in VPR (Not supported)
true use VPR memory for input and output surface
false use normal memory for input and output surface.

Definition at line 349 of file nvmedia_iofa.h.

◆ width

uint16_t NvMediaIofaInitParams::width[NVMEDIA_IOFA_MAX_PYD_LEVEL]

Input width
Valid range of width can be queried by calling NvMediaIOFAGetCapability API.


Width of the input and reference NvSciBufObj that needs to be processed should be equal to the value which is passed here.

Definition at line 312 of file nvmedia_iofa.h.


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