|
NVIDIA DRIVE OS Linux SDK API Reference
|
6.0.9 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 3
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 16U
176 float F_Matrix[3][3];
178 float H_Matrix[3][3];
568 const uint8_t maxInputBuffering
1341 #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.
@ NVMEDIA_IOFA_GRIDSIZE_8X8
Grid Size 8x8.
@ NvSciSyncTaskStatusOFA_Error_CRC_Mismatch
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
#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_EPI_SEARCH_RANGE_128
Maximum Epipolar Flow Search Range of 128 pixels.
@ 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.
NvMediaIofaEpiSearchRange
Defines IOFA Flow Epipolar Search Range.
NvMediaNvSciSyncObjType
Defines NvMedia NvSciSyncObj types.
NvMediaNvSciSyncClientType
NvMedia NvSciSync Client Type.
NvMediaStatus NvMediaIOFAUnregisterNvSciSyncObj(const NvMediaIofa *ofaPubl, NvSciSyncObj syncObj)
Unregisters an NvSciSyncObj with NvMediaIofa.
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...
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.
@ NVMEDIA_IOFA_EPI_SEARCH_RANGE_256
Maximum Epipolar Flow Search Range of 256 pixels.
#define NVMEDIA_IOFA_MAX_ROI_SUPPORTED
Maximum number of Region of Interest supported on IOFA.
NvMediaStatus NvMediaIOFARegisterNvSciSyncObj(const NvMediaIofa *ofaPubl, NvMediaNvSciSyncObjType syncobjtype, NvSciSyncObj syncObj)
Registers an NvSciSyncObj with NvMediaIofa.
@ 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.
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.
Defines the opaque NvSciSyncFence.
@ NVMEDIA_IOFA_PYD_FRAME_MODE
All pyramid levels of a input and reference frame will be processed in single NvMediaIOFAProcessFrame...
NvMediaStatus NvMediaIOFAProcessFrame(const NvMediaIofa *ofaPubl, const NvMediaIofaBufArray *pSurfArray, const NvMediaIofaProcessParams *pProcessParams, const NvMediaIofaEpipolarInfo *pEpiInfo, const NvMediaIofaROIParams *pROIParams)
Performs IOFA estimation on a specified frame pair.
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国产