Holds IOFA Initialization API parameters.
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 |
| NvMediaIofaDisparityRange NvMediaIofaInitParams::dispRange |
Stereo Disparity Range
One of the value from NvMediaIofaDisparityRange.
Definition at line 340 of file nvmedia_iofa.h.
| NvMediaIofaEpiSearchRange NvMediaIofaInitParams::epiSearchRange |
Epipolar search range in pixels
One of the value from NvMediaIofaEpiSearchRange.
Definition at line 357 of file nvmedia_iofa.h.
| 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.
| 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.
| uint8_t NvMediaIofaInitParams::ofaDeviceId |
Definition at line 362 of file nvmedia_iofa.h.
| NvMediaIofaMode NvMediaIofaInitParams::ofaMode |
Iofa Mode type
One of ofa mode types provided in NvMediaIofaMode.
Definition at line 301 of file nvmedia_iofa.h.
| 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.
| 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.
| 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.
| NvMediaIofaPreset NvMediaIofaInitParams::preset |
Ofa Preset
One of the value from NvMediaIofaPreset.
Definition at line 353 of file nvmedia_iofa.h.
| NvMediaIofaPydMode NvMediaIofaInitParams::pydMode |
Pyramid SGM Mode
One of the value from NvMediaIofaPydMode.
Definition at line 344 of file nvmedia_iofa.h.
| 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.
| 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.