NVIDIA DRIVE OS Linux SDK API Reference

6.0.5 Release
nvmedia_iofa.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2021-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: LicenseRef-NvidiaProprietary
4  *
5  * NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
6  * property and proprietary rights in and to this material, related
7  * documentation and any modifications thereto. Any use, reproduction,
8  * disclosure or distribution of this material and related documentation
9  * without an express license agreement from NVIDIA CORPORATION or
10  * its affiliates is strictly prohibited.
11  */
12 
19 #ifndef NVMEDIA_IOFA_H
20 #define NVMEDIA_IOFA_H
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
26 #include <stdint.h>
27 #include <stdbool.h>
28 
29 #include "nvmedia_core.h"
30 #include "nvscisync.h"
31 #include "nvscibuf.h"
32 
44 #define NVMEDIA_IOFA_VERSION_MAJOR 1
45 
46 #define NVMEDIA_IOFA_VERSION_MINOR 1
47 
48 #define NVMEDIA_IOFA_VERSION_PATCH 0
49 
51 #define NVMEDIA_IOFA_MAX_PYD_LEVEL 5U
52 
53 #define NVMEDIA_IOFA_MAX_ROI_SUPPORTED 32U
54 
59 #define NVMEDIA_IOFA_MAX_PRENVSCISYNCFENCES (8U)
60 
64 typedef enum
65 {
74 
82 typedef enum
83 {
93 
98 typedef enum
99 {
117 
121 typedef enum
122 {
128 
132 typedef enum
133 {
141 
145 typedef enum
146 {
152 
156 typedef enum
157 {
175 typedef struct
176 {
178  float F_Matrix[3][3];
180  float H_Matrix[3][3];
182  int32_t epipole_x;
184  int32_t epipole_y;
186  uint8_t direction;
188 
198 typedef struct
199 {
201  uint16_t startX;
203  uint16_t startY;
205  uint16_t endX;
207  uint16_t endY;
209 
213 typedef struct
214 {
216  uint32_t numOfROIs;
220 
224 typedef struct
225 {
227  uint16_t minWidth;
229  uint16_t minHeight;
231  uint16_t maxWidth;
233  uint16_t maxHeight;
235 
242 typedef struct NvMediaIofa
243 {
245  struct NvMediaIofaPriv *ofaPriv;
246 } NvMediaIofa;
247 
251 typedef struct
252 {
261  uint8_t ofaPydLevel;
267  uint16_t width[NVMEDIA_IOFA_MAX_PYD_LEVEL];
273  uint16_t height[NVMEDIA_IOFA_MAX_PYD_LEVEL];
284  uint16_t outWidth[NVMEDIA_IOFA_MAX_PYD_LEVEL];
291  uint16_t outHeight[NVMEDIA_IOFA_MAX_PYD_LEVEL];
308  bool vprMode;
313 
315 
320 typedef struct
321 {
323  uint8_t penalty1[NVMEDIA_IOFA_MAX_PYD_LEVEL];
325  uint8_t penalty2[NVMEDIA_IOFA_MAX_PYD_LEVEL];
330  bool adaptiveP2[NVMEDIA_IOFA_MAX_PYD_LEVEL];
334  uint8_t alphaLog2[NVMEDIA_IOFA_MAX_PYD_LEVEL];
339  bool enableDiag[NVMEDIA_IOFA_MAX_PYD_LEVEL];
343  uint8_t numPasses[NVMEDIA_IOFA_MAX_PYD_LEVEL];
345 
356 typedef struct
357 {
421 
425 typedef struct
426 {
443 
447 typedef struct
448 {
463  bool noopMode;
467 
471 typedef struct
472 {
476  uint32_t swTimeInUS;
478  uint32_t hwTimeInUS;
482 
510  NvMediaVersion *version
511 );
512 
535 NvMediaIofa *
537  void
538 );
539 
583  NvMediaIofa *ofaPubl,
584  const NvMediaIofaInitParams *initParams,
585  const uint8_t maxInputBuffering
586 );
587 
649  const NvMediaIofa *ofaPubl,
650  const NvMediaIofaBufArray *pSurfArray,
651  const NvMediaIofaProcessParams *processParams,
652  const NvMediaIofaEpipolarInfo *pEpiInfo,
653  const NvMediaIofaROIParams *pROIParams
654 );
655 
689  const NvMediaIofa *ofaPubl
690 );
691 
747  const NvMediaIofa *ofaPubl,
748  NvSciBufObj bufObj
749 );
750 
804  const NvMediaIofa *ofaPubl,
805  NvSciBufObj bufObj
806 );
807 
841  const NvMediaIofa *ofaPubl,
842  NvMediaIofaSGMParams *pSGMParams
843 );
844 
878  const NvMediaIofa *ofaPubl,
879  const NvMediaIofaSGMParams *pSGMParams
880 );
881 
923  const NvMediaIofa *ofaPubl,
924  NvMediaIofaProfileData *pProfData
925 );
926 
968  const NvMediaIofa *ofaPubl,
969  const NvMediaIofaMode mode,
970  NvMediaIofaCapability *pCapability
971 );
972 
1009  NvSciBufAttrList attrlist
1010 );
1011 
1062  const NvMediaIofa *ofaPubl,
1063  NvSciSyncAttrList attrlist,
1064  NvMediaNvSciSyncClientType clienttype
1065 );
1066 
1124  const NvMediaIofa *ofaPubl,
1125  NvMediaNvSciSyncObjType syncobjtype,
1126  NvSciSyncObj nvscisync
1127 );
1128 
1189  const NvMediaIofa *ofaPubl,
1190  NvSciSyncObj nvscisync
1191 );
1192 
1239  const NvMediaIofa *ofaPubl,
1240  NvSciSyncObj nvscisyncEOF
1241 );
1242 
1303  const NvMediaIofa *ofaPubl,
1304  const NvSciSyncFence *prenvscisyncfence
1305 );
1306 
1366  const NvMediaIofa *ofaPubl,
1367  NvSciSyncObj eofnvscisyncobj,
1368  NvSciSyncFence *eofnvscisyncfence
1369 );
1370 
1416  const NvMediaIofa *ofaPubl,
1417  NvSciSyncObj nvscisyncSOF
1418 );
1419 
1469  const NvMediaIofa *ofaPubl,
1470  NvSciSyncObj sofnvscisyncobj,
1471  NvSciSyncFence *sofnvscisyncfence
1472 );
1473 
1474 /*
1475  * \defgroup 6x_history_nvmedia_iofa History
1476  * Provides change history for the NvMedia IOFA API.
1477  *
1478  * \section 6x_history_nvmedia_iofa Version History
1479  *
1480  * <b> Version 1.0 </b> September 28, 2021
1481  * - Initial release
1482  *
1483  */
1484 
1486 #ifdef __cplusplus
1487 } /* extern "C" */
1488 #endif
1489 
1490 #endif // NVMEDIA_IOFA_H
1491 
NVMEDIA_IOFA_PYD_LEVEL_MODE
@ NVMEDIA_IOFA_PYD_LEVEL_MODE
A single pyramid level of a input and reference frame will be processed by NvMediaIOFAProcessFrame AP...
Definition: nvmedia_iofa.h:115
NvMediaIofaProfileData::hwTimeInUS
uint32_t hwTimeInUS
ofa hw processing time in micro sec
Definition: nvmedia_iofa.h:478
NvSciSyncTaskStatusOFA_Invalid
@ NvSciSyncTaskStatusOFA_Invalid
task status support is not enable
Definition: nvmedia_iofa.h:169
NvMediaIofaEpipolarInfo::epipole_x
int32_t epipole_x
Epipolar X position in S17.3 format [1 Sign bit, 17-bit integer part, 3-bit fraction part].
Definition: nvmedia_iofa.h:182
NVMEDIA_IOFA_MODE_EPIOF
@ NVMEDIA_IOFA_MODE_EPIOF
OFA epipolar optical flow mode.
Definition: nvmedia_iofa.h:72
NvMediaIofaPreset
NvMediaIofaPreset
Nvmedia Iofa Preset.
Definition: nvmedia_iofa.h:145
NvMediaIOFAUnregisterNvSciSyncObj
NvMediaStatus NvMediaIOFAUnregisterNvSciSyncObj(const NvMediaIofa *ofaPubl, NvSciSyncObj nvscisync)
Unregisters an NvSciSyncObj with NvMediaIofa.
NVMEDIA_IOFA_GRIDSIZE_8X8
@ NVMEDIA_IOFA_GRIDSIZE_8X8
Grid Size 8x8.
Definition: nvmedia_iofa.h:91
NvSciSyncTaskStatusOFA_Error_CRC_Mismatch
@ NvSciSyncTaskStatusOFA_Error_CRC_Mismatch
Definition: nvmedia_iofa.h:163
NvMediaIofaProfileMode
NvMediaIofaProfileMode
Defines NvMedia Iofa Profile Mode.
Definition: nvmedia_iofa.h:132
NvMediaIOFASetSGMConfigParams
NvMediaStatus NvMediaIOFASetSGMConfigParams(const NvMediaIofa *ofaPubl, const NvMediaIofaSGMParams *pSGMParams)
Set the SGM configuration parameters to be used.
NvMediaIofaEpipolarInfo::direction
uint8_t direction
Direction: 0/1 - Search towards / away from epipole.
Definition: nvmedia_iofa.h:186
NvMediaIofaCapability::maxHeight
uint16_t maxHeight
max height supported by IOFA driver
Definition: nvmedia_iofa.h:233
NvMediaIofaROIParams::numOfROIs
uint32_t numOfROIs
Number of ROIs.
Definition: nvmedia_iofa.h:216
NVMEDIA_IOFA_GRIDSIZE_4X4
@ NVMEDIA_IOFA_GRIDSIZE_4X4
Grid Size 4x4.
Definition: nvmedia_iofa.h:89
NvMediaIofaInitParams::pydMode
NvMediaIofaPydMode pydMode
Pyramid SGM Mode One of the value from NvMediaIofaPydMode.
Definition: nvmedia_iofa.h:299
NvMediaIOFASetNvSciSyncObjforSOF
NvMediaStatus NvMediaIOFASetNvSciSyncObjforSOF(const NvMediaIofa *ofaPubl, NvSciSyncObj nvscisyncSOF)
Specifies the NvSciSyncObj to be used for an SOF NvSciSyncFence.
NvMediaIofaCapability::minWidth
uint16_t minWidth
min width supported by IOFA driver
Definition: nvmedia_iofa.h:227
NvMediaIOFAFillNvSciSyncAttrList
NvMediaStatus NvMediaIOFAFillNvSciSyncAttrList(const NvMediaIofa *ofaPubl, NvSciSyncAttrList attrlist, NvMediaNvSciSyncClientType clienttype)
Fills the NvMediaIofa specific NvSciSync attributes.
NvMediaIOFAGetVersion
NvMediaStatus NvMediaIOFAGetVersion(NvMediaVersion *version)
Retrieves the version information for the NvMedia IOFA library.
NvSciSyncTaskStatusOFA_Error_Input_TaskStatus
@ NvSciSyncTaskStatusOFA_Error_Input_TaskStatus
Definition: nvmedia_iofa.h:166
NvMediaIOFAGetProfileData
NvMediaStatus NvMediaIOFAGetProfileData(const NvMediaIofa *ofaPubl, NvMediaIofaProfileData *pProfData)
Get IOFA Profile Data.
NvMediaIofaInitParams
Holds IOFA Initialization API parameters.
Definition: nvmedia_iofa.h:251
NVMEDIA_IOFA_MAX_PYD_LEVEL
#define NVMEDIA_IOFA_MAX_PYD_LEVEL
Maximum number of Pyramid level supported in Pyramid OF mode.
Definition: nvmedia_iofa.h:51
NvSciSyncTaskStatusOFA_Error_Timeout
@ NvSciSyncTaskStatusOFA_Error_Timeout
Definition: nvmedia_iofa.h:164
NvMediaIofa::ofaPriv
struct NvMediaIofaPriv * ofaPriv
An Opaque pointer for internal use.
Definition: nvmedia_iofa.h:245
NvMediaIOFAInsertPreNvSciSyncFence
NvMediaStatus NvMediaIOFAInsertPreNvSciSyncFence(const NvMediaIofa *ofaPubl, const NvSciSyncFence *prenvscisyncfence)
Sets an NvSciSyncFence as a prefence for an NvMediaIOFAProcessFrame() NvSciSyncFence operation.
NVMEDIA_IOFA_MODE_STEREO
@ NVMEDIA_IOFA_MODE_STEREO
IOFA stereo disparity mode.
Definition: nvmedia_iofa.h:67
NvMediaIOFACreate
NvMediaIofa * NvMediaIOFACreate(void)
Creates an NvMediaIofa object that can compute optical flow or stereo disparity using two bufObjs.
NvMediaIOFAGetSGMConfigParams
NvMediaStatus NvMediaIOFAGetSGMConfigParams(const NvMediaIofa *ofaPubl, NvMediaIofaSGMParams *pSGMParams)
Get the SGM configuration parameters being used.
NvMediaIOFAGetEOFNvSciSyncFence
NvMediaStatus NvMediaIOFAGetEOFNvSciSyncFence(const NvMediaIofa *ofaPubl, NvSciSyncObj eofnvscisyncobj, NvSciSyncFence *eofnvscisyncfence)
Gets EOF NvSciSyncFence for an NvMediaIOFAProcessFrame() operation.
NvMediaIofaProfileData::syncWaitTimeInUS
uint32_t syncWaitTimeInUS
ofa hw processing time with sync mode in micro sec
Definition: nvmedia_iofa.h:480
NvMediaStatus
NvMediaStatus
Defines all possible error codes.
Definition: nvmedia_core.h:104
NvMediaIofaROIRectParams
Holds Co-ordinates for Region of Interest.
Definition: nvmedia_iofa.h:198
NvMediaNvSciSyncObjType
NvMediaNvSciSyncObjType
Defines NvMedia NvSciSyncObj types.
Definition: nvmedia_core.h:202
NvMediaIofaBufArray
Holds pointers to NvMedia bufObjs containing input and output surfaces.
Definition: nvmedia_iofa.h:356
NvMediaNvSciSyncClientType
NvMediaNvSciSyncClientType
NvMedia NvSciSync Client Type.
Definition: nvmedia_core.h:189
NvMediaIOFAGetSOFNvSciSyncFence
NvMediaStatus NvMediaIOFAGetSOFNvSciSyncFence(const NvMediaIofa *ofaPubl, NvSciSyncObj sofnvscisyncobj, NvSciSyncFence *sofnvscisyncfence)
Gets SOF NvSciSyncFence for an NvMediaIOFAProcessFrame() operation.
NvMediaIofaPydHintParams::pydHintWidth2x
bool pydHintWidth2x
IOFA HW supported input hint upsampling in X direction false : input hint surface width is same as ...
Definition: nvmedia_iofa.h:436
NvSciSyncAttrList
struct NvSciSyncAttrListRec * NvSciSyncAttrList
A container constituting an NvSciSyncAttrList which contains:
Definition: nvscisync.h:314
NVMEDIA_IOFA_DISPARITY_RANGE_256
@ NVMEDIA_IOFA_DISPARITY_RANGE_256
Maximum Stereo Disparity Range of 256 pixels.
Definition: nvmedia_iofa.h:126
NvSciBufObj
struct NvSciBufObjRefRec * NvSciBufObj
A memory object is a container holding the reconciled NvSciBufAttrList defining constraints of the bu...
Definition: nvscibuf.h:2717
NvMediaIOFAFillNvSciBufAttrList
NvMediaStatus NvMediaIOFAFillNvSciBufAttrList(NvSciBufAttrList attrlist)
Fills the NvMediaIofa specific NvSciBuf attributes which than then be used to allocate an NvSciBufObj...
NvMediaIofaEpipolarInfo::epipole_y
int32_t epipole_y
Epipolar Y position in S17.3 format [1 Sign bit, 17-bit integer part, 3-bit fraction part].
Definition: nvmedia_iofa.h:184
NVMEDIA_IOFA_PROFILE_DISABLED
@ NVMEDIA_IOFA_PROFILE_DISABLED
profiling is disabled
Definition: nvmedia_iofa.h:135
nvscisync.h
NVIDIA Software Communications Interface (SCI) : NvSciSync
NvMediaIOFAGetCapability
NvMediaStatus NvMediaIOFAGetCapability(const NvMediaIofa *ofaPubl, const NvMediaIofaMode mode, NvMediaIofaCapability *pCapability)
Get IOFA Capability.
NVMEDIA_IOFA_GRIDSIZE_2X2
@ NVMEDIA_IOFA_GRIDSIZE_2X2
Grid Size 2x2.
Definition: nvmedia_iofa.h:87
NvMediaIOFAProcessFrame
NvMediaStatus NvMediaIOFAProcessFrame(const NvMediaIofa *ofaPubl, const NvMediaIofaBufArray *pSurfArray, const NvMediaIofaProcessParams *processParams, const NvMediaIofaEpipolarInfo *pEpiInfo, const NvMediaIofaROIParams *pROIParams)
Performs IOFA estimation on a specified frame pair.
NvMediaVersion
Holds NvMedia version information.
Definition: nvmedia_core.h:164
NvMediaIofaROIParams
Structure holds ROI information.
Definition: nvmedia_iofa.h:213
NvMediaIofaProfileData
IOFA Profile Data structure.
Definition: nvmedia_iofa.h:471
NvMediaIofaROIRectParams::startY
uint16_t startY
ROI top-left y index (in pixel unit)
Definition: nvmedia_iofa.h:203
NvMediaIofaSGMParams
Holds SGM parameters TBD: Add more details about SGM Params with input range.
Definition: nvmedia_iofa.h:320
NVMEDIA_IOFA_MAX_ROI_SUPPORTED
#define NVMEDIA_IOFA_MAX_ROI_SUPPORTED
Maximum number of Region of Interest supported on IOFA.
Definition: nvmedia_iofa.h:53
NvMediaIofaPydHintParams
Parameters related to input pyramid hint surface.
Definition: nvmedia_iofa.h:425
NvMediaIofaInitParams::preset
NvMediaIofaPreset preset
Ofa Preset One of the value from NvMediaIofaPreset.
Definition: nvmedia_iofa.h:312
NvMediaIofaProcessParams::noopMode
bool noopMode
noop flag true Avoid ofa processing and signal frame done false Normal ofa processing (default)
Definition: nvmedia_iofa.h:463
NvMediaIofaPydHintParams::pydHintHeight2x
bool pydHintHeight2x
IOFA HW supported input hint upsampling in Y direction false : input hint surface height is same as...
Definition: nvmedia_iofa.h:441
NvSciSyncTaskStatusOFA_Success
@ NvSciSyncTaskStatusOFA_Success
task is finished successully
Definition: nvmedia_iofa.h:159
NvMediaIofaProcessParams::rightDispMap
bool rightDispMap
Enable right view disparity map.
Definition: nvmedia_iofa.h:454
NvMediaIofaInitParams::dispRange
NvMediaIofaDisparityRange dispRange
Stereo Disparity Range One of the value from NvMediaIofaDisparityRange.
Definition: nvmedia_iofa.h:295
NVMEDIA_IOFA_MODE_PYDOF
@ NVMEDIA_IOFA_MODE_PYDOF
IOFA pyramid optical flow mode.
Definition: nvmedia_iofa.h:69
NVMEDIA_IOFA_PRESET_HQ
@ NVMEDIA_IOFA_PRESET_HQ
High Quality Preset.
Definition: nvmedia_iofa.h:148
NVMEDIA_IOFA_DISPARITY_RANGE_128
@ NVMEDIA_IOFA_DISPARITY_RANGE_128
Maximum Stereo Disparity Range of 128 pixels.
Definition: nvmedia_iofa.h:124
NVMEDIA_IOFA_PROFILE_SYNC_ENABLED
@ NVMEDIA_IOFA_PROFILE_SYNC_ENABLED
Profiling enabled with sync mode.
Definition: nvmedia_iofa.h:139
NvMediaIofaCapability::maxWidth
uint16_t maxWidth
max width supported by IOFA driver
Definition: nvmedia_iofa.h:231
NvMediaIofaROIRectParams::endY
uint16_t endY
ROI bottom-right index (in pixel unit).
Definition: nvmedia_iofa.h:207
nvmedia_core.h
NVIDIA Media Interface: Core
NvMediaIOFADestroy
NvMediaStatus NvMediaIOFADestroy(const NvMediaIofa *ofaPubl)
Destroys the created NvMediaIofa object and frees associated resources.
NvMediaIofaProcessParams
Holds IOFA Process Frame API parameters.
Definition: nvmedia_iofa.h:447
NvMediaIofa
struct NvMediaIofa NvMediaIofa
Holds an IOFA object created and returned by NvMediaIOFACreate().
NvMediaIofa
Holds an IOFA object created and returned by NvMediaIOFACreate().
Definition: nvmedia_iofa.h:242
NvSciSyncTaskStatusOFA_Execution_Start
@ NvSciSyncTaskStatusOFA_Execution_Start
Definition: nvmedia_iofa.h:162
NvMediaIofaPydMode
NvMediaIofaPydMode
Modes for pyramid SGM Applicable to Pyramid SGM IOFA mode only.
Definition: nvmedia_iofa.h:98
NvMediaIofaMode
NvMediaIofaMode
Defines mode supported by IOFA Driver.
Definition: nvmedia_iofa.h:64
NvMediaIOFASetNvSciSyncObjforEOF
NvMediaStatus NvMediaIOFASetNvSciSyncObjforEOF(const NvMediaIofa *ofaPubl, NvSciSyncObj nvscisyncEOF)
Specifies the NvSciSyncObj to be used for an EOF NvSciSyncFence.
NvMediaIOFAUnregisterNvSciBufObj
NvMediaStatus NvMediaIOFAUnregisterNvSciBufObj(const NvMediaIofa *ofaPubl, NvSciBufObj bufObj)
Un-registers NvSciBufObj which was previously registered with NvMediaIofa using NvMediaIOFARegisterNv...
NvSciBufAttrList
struct NvSciBufAttrListRec * NvSciBufAttrList
A container constituting an attribute list which contains.
Definition: nvscibuf.h:2735
NvMediaIOFARegisterNvSciSyncObj
NvMediaStatus NvMediaIOFARegisterNvSciSyncObj(const NvMediaIofa *ofaPubl, NvMediaNvSciSyncObjType syncobjtype, NvSciSyncObj nvscisync)
Registers an NvSciSyncObj with NvMediaIofa.
NvMediaIofaProcessParams::pydHintParams
NvMediaIofaPydHintParams pydHintParams
Pyramid hints parameters.
Definition: nvmedia_iofa.h:465
NvMediaIofaROIRectParams::startX
uint16_t startX
ROI top-left x index (in pixel unit)
Definition: nvmedia_iofa.h:201
NvMediaIofaEpipolarInfo
Structure holds Epipolar information.
Definition: nvmedia_iofa.h:175
NvMediaIofaInitParams::ofaPydLevel
uint8_t ofaPydLevel
Number of input pyramid level Number of input pyramid levels used for pyramid optical flow estimati...
Definition: nvmedia_iofa.h:261
NvSciSyncFence
Defines the opaque NvSciSyncFence.
Definition: nvscisync.h:240
NvMediaIofaProcessParams::currentPydLevel
uint8_t currentPydLevel
Current level to process in Pyd SGM LEVEL Mode valid range of values is between 0 to ofaPydLevel-1.
Definition: nvmedia_iofa.h:458
NVMEDIA_IOFA_PROFILE_ENABLED
@ NVMEDIA_IOFA_PROFILE_ENABLED
Profiling enabled with Async mode.
Definition: nvmedia_iofa.h:137
NVMEDIA_IOFA_PYD_FRAME_MODE
@ NVMEDIA_IOFA_PYD_FRAME_MODE
All pyramid levels of a input and reference frame will be processed in single NvMediaIOFAProcessFrame...
Definition: nvmedia_iofa.h:106
nvscibuf.h
NVIDIA Software Communications Interface (SCI) : NvSciBuf
NvMediaIOFARegisterNvSciBufObj
NvMediaStatus NvMediaIOFARegisterNvSciBufObj(const NvMediaIofa *ofaPubl, NvSciBufObj bufObj)
Registers an NvSciBufObj for use with an NvMediaIofa handle.
NvMediaIofaGridSize
NvMediaIofaGridSize
Defines the Output Grid Size.
Definition: nvmedia_iofa.h:82
NvMediaIofaCapability::minHeight
uint16_t minHeight
min height supported by IOFA driver
Definition: nvmedia_iofa.h:229
NvMediaIOFAInit
NvMediaStatus NvMediaIOFAInit(NvMediaIofa *ofaPubl, const NvMediaIofaInitParams *initParams, const uint8_t maxInputBuffering)
Initializes the parameters for optical flow and stereo estimation.
NvMediaIofaProfileData::swTimeInUS
uint32_t swTimeInUS
ofa sw driver execution time in micro sec
Definition: nvmedia_iofa.h:476
NvMediaIofaDisparityRange
NvMediaIofaDisparityRange
Defines IOFA Stereo DISPARITY RANGE.
Definition: nvmedia_iofa.h:121
NvMediaIofaInitParams::ofaMode
NvMediaIofaMode ofaMode
Iofa Mode type One of ofa mode types provided in NvMediaIofaMode.
Definition: nvmedia_iofa.h:256
NvMediaIofaInitParams::profiling
NvMediaIofaProfileMode profiling
Profiling Support One of the value from NvMediaIofaProfileMode.
Definition: nvmedia_iofa.h:303
NvSciSyncTaskStatusOFA
NvSciSyncTaskStatusOFA
NvMedia Iofa task status error codes.
Definition: nvmedia_iofa.h:156
NvSciSyncTaskStatusOFA_Error
@ NvSciSyncTaskStatusOFA_Error
task status error codes
Definition: nvmedia_iofa.h:161
NvSciSyncTaskStatusOFA_Error_SW
@ NvSciSyncTaskStatusOFA_Error_SW
Definition: nvmedia_iofa.h:167
NvMediaIofaCapability
Nvmedia Iofa Capability structure.
Definition: nvmedia_iofa.h:224
NVMEDIA_IOFA_GRIDSIZE_1X1
@ NVMEDIA_IOFA_GRIDSIZE_1X1
Grid Size 1x1.
Definition: nvmedia_iofa.h:85
NvSciSyncObj
struct NvSciSyncObjRec * NvSciSyncObj
A Synchronization Object is a container holding the reconciled NvSciSyncAttrList defining constraints...
Definition: nvscisync.h:295
NvMediaIofaProfileData::validProfData
bool validProfData
Indicate if profile data is valid or not.
Definition: nvmedia_iofa.h:474
NvSciSyncTaskStatusOFA_Error_HW
@ NvSciSyncTaskStatusOFA_Error_HW
Definition: nvmedia_iofa.h:165
NVMEDIA_IOFA_PRESET_HP
@ NVMEDIA_IOFA_PRESET_HP
High Performance Preset.
Definition: nvmedia_iofa.h:150
NvMediaIofaPydHintParams::pydHintMagnitudeScale2x
bool pydHintMagnitudeScale2x
IOFA HW supported input hint mv magnitude scaling.
Definition: nvmedia_iofa.h:431
NvMediaIofaROIRectParams::endX
uint16_t endX
ROI bottom-right index (in pixel unit).
Definition: nvmedia_iofa.h:205
NvMediaIofaInitParams::vprMode
bool vprMode
Input and Output Surface in VPR (Not supported) true use VPR memory for input and output surface ...
Definition: nvmedia_iofa.h:308