Loading [MathJax]/extensions/tex2jax.js
|
NVIDIA DRIVE OS Linux SDK API Reference
|
6.0.6 Release
|
Go to the documentation of this file.
19 #ifndef NVMEDIA_IOFA_H
20 #define NVMEDIA_IOFA_H
44 #define NVMEDIA_IOFA_VERSION_MAJOR 1
46 #define NVMEDIA_IOFA_VERSION_MINOR 1
48 #define NVMEDIA_IOFA_VERSION_PATCH 0
51 #define NVMEDIA_IOFA_MAX_PYD_LEVEL 5U
53 #define NVMEDIA_IOFA_MAX_ROI_SUPPORTED 32U
59 #define NVMEDIA_IOFA_MAX_PRENVSCISYNCFENCES (8U)
178 float F_Matrix[3][3];
180 float H_Matrix[3][3];
585 const uint8_t maxInputBuffering
1394 #endif // NVMEDIA_IOFA_H
@ NVMEDIA_IOFA_PYD_LEVEL_MODE
A single pyramid level of a input and reference frame will be processed by NvMediaIOFAProcessFrame AP...
@ NvSciSyncTaskStatusOFA_Invalid
task status support is not enable
@ NVMEDIA_IOFA_MODE_EPIOF
OFA epipolar optical flow mode.
NvMediaIofaPreset
Nvmedia Iofa Preset.
NvMediaStatus NvMediaIOFAUnregisterNvSciSyncObj(const NvMediaIofa *ofaPubl, NvSciSyncObj nvscisync)
Unregisters an NvSciSyncObj with NvMediaIofa.
@ NVMEDIA_IOFA_GRIDSIZE_8X8
Grid Size 8x8.
@ NvSciSyncTaskStatusOFA_Error_CRC_Mismatch
NvMediaIofaProfileMode
Defines NvMedia Iofa Profile Mode.
NvMediaStatus NvMediaIOFASetSGMConfigParams(const NvMediaIofa *ofaPubl, const NvMediaIofaSGMParams *pSGMParams)
Set the SGM configuration parameters to be used.
@ NVMEDIA_IOFA_GRIDSIZE_4X4
Grid Size 4x4.
NvMediaStatus NvMediaIOFAFillNvSciSyncAttrList(const NvMediaIofa *ofaPubl, NvSciSyncAttrList attrlist, NvMediaNvSciSyncClientType clienttype)
Fills the NvMediaIofa specific NvSciSync attributes.
NvMediaStatus NvMediaIOFAGetVersion(NvMediaVersion *version)
Retrieves the version information for the NvMedia IOFA library.
@ NvSciSyncTaskStatusOFA_Error_Input_TaskStatus
NvMediaStatus NvMediaIOFAGetProfileData(const NvMediaIofa *ofaPubl, NvMediaIofaProfileData *pProfData)
Get IOFA Profile Data.
#define NVMEDIA_IOFA_MAX_PYD_LEVEL
Maximum number of Pyramid level supported in Pyramid OF mode.
@ NvSciSyncTaskStatusOFA_Error_Timeout
NvMediaStatus NvMediaIOFAInsertPreNvSciSyncFence(const NvMediaIofa *ofaPubl, const NvSciSyncFence *prenvscisyncfence)
Sets an NvSciSyncFence as a prefence for an NvMediaIOFAProcessFrame() NvSciSyncFence operation.
@ NVMEDIA_IOFA_MODE_STEREO
IOFA stereo disparity mode.
NvMediaIofa * NvMediaIOFACreate(void)
Creates an NvMediaIofa object that can compute optical flow or stereo disparity using two bufObjs.
NvMediaStatus NvMediaIOFAGetSGMConfigParams(const NvMediaIofa *ofaPubl, NvMediaIofaSGMParams *pSGMParams)
Get the SGM configuration parameters being used.
NvMediaStatus NvMediaIOFAGetEOFNvSciSyncFence(const NvMediaIofa *ofaPubl, NvSciSyncObj eofnvscisyncobj, NvSciSyncFence *eofnvscisyncfence)
Gets EOF NvSciSyncFence for an NvMediaIOFAProcessFrame() operation.
NvMediaStatus
Defines all possible error codes.
NvMediaNvSciSyncObjType
Defines NvMedia NvSciSyncObj types.
NvMediaNvSciSyncClientType
NvMedia NvSciSync Client Type.
struct NvSciSyncAttrListRec * NvSciSyncAttrList
A container constituting an NvSciSyncAttrList which contains:
@ NVMEDIA_IOFA_DISPARITY_RANGE_256
Maximum Stereo Disparity Range of 256 pixels.
struct NvSciBufObjRefRec * NvSciBufObj
A memory object is a container holding the reconciled NvSciBufAttrList defining constraints of the bu...
NvMediaStatus NvMediaIOFAFillNvSciBufAttrList(NvSciBufAttrList attrlist)
Fills the NvMediaIofa specific NvSciBuf attributes which than then be used to allocate an NvSciBufObj...
@ NVMEDIA_IOFA_PROFILE_DISABLED
profiling is disabled
NVIDIA Software Communications Interface (SCI) : NvSciSync
NvMediaStatus NvMediaIOFAGetCapability(const NvMediaIofa *ofaPubl, const NvMediaIofaMode mode, NvMediaIofaCapability *pCapability)
Get IOFA Capability.
@ NVMEDIA_IOFA_GRIDSIZE_2X2
Grid Size 2x2.
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.
#define NVMEDIA_IOFA_MAX_ROI_SUPPORTED
Maximum number of Region of Interest supported on IOFA.
@ NvSciSyncTaskStatusOFA_Success
task is finished successully
@ NVMEDIA_IOFA_MODE_PYDOF
IOFA pyramid optical flow mode.
@ NVMEDIA_IOFA_PRESET_HQ
High Quality Preset.
@ NVMEDIA_IOFA_DISPARITY_RANGE_128
Maximum Stereo Disparity Range of 128 pixels.
@ NVMEDIA_IOFA_PROFILE_SYNC_ENABLED
Profiling enabled with sync mode.
NvMediaStatus NvMediaIOFADestroy(const NvMediaIofa *ofaPubl)
Destroys the created NvMediaIofa object and frees associated resources.
struct NvMediaIofa NvMediaIofa
Holds an IOFA object created and returned by NvMediaIOFACreate().
@ NvSciSyncTaskStatusOFA_Execution_Start
NvMediaIofaPydMode
Modes for pyramid SGM Applicable to Pyramid SGM IOFA mode only.
NvMediaIofaMode
Defines mode supported by IOFA Driver.
NvMediaStatus NvMediaIOFASetNvSciSyncObjforEOF(const NvMediaIofa *ofaPubl, NvSciSyncObj nvscisyncEOF)
Specifies the NvSciSyncObj to be used for an EOF NvSciSyncFence.
NvMediaStatus NvMediaIOFAUnregisterNvSciBufObj(const NvMediaIofa *ofaPubl, NvSciBufObj bufObj)
Un-registers NvSciBufObj which was previously registered with NvMediaIofa using NvMediaIOFARegisterNv...
struct NvSciBufAttrListRec * NvSciBufAttrList
A container constituting an attribute list which contains.
NvMediaStatus NvMediaIOFARegisterNvSciSyncObj(const NvMediaIofa *ofaPubl, NvMediaNvSciSyncObjType syncobjtype, NvSciSyncObj nvscisync)
Registers an NvSciSyncObj with NvMediaIofa.
Defines the opaque NvSciSyncFence.
@ NVMEDIA_IOFA_PROFILE_ENABLED
Profiling enabled with Async mode.
@ NVMEDIA_IOFA_PYD_FRAME_MODE
All pyramid levels of a input and reference frame will be processed in single NvMediaIOFAProcessFrame...
NVIDIA Software Communications Interface (SCI) : NvSciBuf
NvMediaStatus NvMediaIOFARegisterNvSciBufObj(const NvMediaIofa *ofaPubl, NvSciBufObj bufObj)
Registers an NvSciBufObj for use with an NvMediaIofa handle.
NvMediaIofaGridSize
Defines the Output Grid Size.
NvMediaStatus NvMediaIOFAInit(NvMediaIofa *ofaPubl, const NvMediaIofaInitParams *initParams, const uint8_t maxInputBuffering)
Initializes the parameters for optical flow and stereo estimation.
NvMediaIofaDisparityRange
Defines IOFA Stereo DISPARITY RANGE.
NvSciSyncTaskStatusOFA
NvMedia Iofa task status error codes.
@ NvSciSyncTaskStatusOFA_Error
task status error codes
@ NvSciSyncTaskStatusOFA_Error_SW
@ NVMEDIA_IOFA_GRIDSIZE_1X1
Grid Size 1x1.
struct NvSciSyncObjRec * NvSciSyncObj
A Synchronization Object is a container holding the reconciled NvSciSyncAttrList defining constraints...
@ NvSciSyncTaskStatusOFA_Error_HW
@ NVMEDIA_IOFA_PRESET_HP
High Performance Preset.
人人超碰97caoporen国产