NVIDIA DRIVE OS Linux SDK API Reference

5.2.0 Release
For Test and Development only
nvmedia_iofst.h File Reference

Detailed Description

NVIDIA Media Interface: NvMedia Image OpticalFlow/StereoDisparity (OFST) Estimator API

Definition in file nvmedia_iofst.h.

Go to the source code of this file.

Data Structures

struct  NvMediaIOFST
 Holds an OFST object created and returned by NvMediaIOFSTCreate(). More...
 
struct  NvMediaOFSTInitializeParams
 Holds OFST estimation initialization parameters. More...
 
struct  NvMediaOFSTExternalHintParams
 Holds OFST estimation parameters. More...
 

Macros

#define NVMEDIA_IOFST_VERSION_MAJOR   1
 Major version number. More...
 
#define NVMEDIA_IOFST_VERSION_MINOR   14
 Minor version number. More...
 

Enumerations

enum  NvMediaIOFSTType {
  NVMEDIA_IMAGE_OPTICALFLOW_ESTIMATION_HP_MODE,
  NVMEDIA_IMAGE_STEREODISPARITY_ESTIMATION_HP_MODE,
  NVMEDIA_IMAGE_OPTICALFLOW_ESTIMATION_HQ_MODE,
  NVMEDIA_IMAGE_STEREODISPARITY_ESTIMATION_HQ_MODE,
  NVMEDIA_IMAGE_OPTICALFLOW_ESTIMATION_UHP_MODE,
  NVMEDIA_IMAGE_STEREODISPARITY_ESTIMATION_UHP_MODE
}
 Defines the image estimation type. More...
 
enum  NvMediaOFSTConfigFeatures { NVMEDIA_OFST_CONFIG_ENABLE_PROFILING = (1 << 0) }
 Defines OFST estimation configuration features. More...
 

Functions

NvMediaStatus NvMediaIOFSTGetVersion (NvMediaVersion *version)
 Returns the version information for the NvMedia IOFST library. More...
 
NvMediaIOFSTNvMediaIOFSTCreate (const NvMediaDevice *device, NvMediaIOFSTType estimationType, NvMediaSurfaceType inputFormat, NvMediaSurfaceType outputFormat, const NvMediaOFSTInitializeParams *initParams, uint8_t maxInputBuffering, NvMediaEncoderInstanceId instanceId)
 Creates an NvMediaIOFST object that can compute motion vectors or a disparity map based on differences between two images. More...
 
void NvMediaIOFSTDestroy (const NvMediaIOFST *ofst)
 Destroys the created NvMediaIOFST object and frees associated resources. More...
 
NvMediaStatus NvMediaIOFSTProcessFrame (const NvMediaIOFST *ofst, const NvMediaImage *frame, const NvMediaImage *refFrame, const NvMediaImage *mvs, const NvMediaOFSTExternalHintParams *extHintParams, NvMediaEncoderInstanceId instanceId)
 Performs OF/ST estimation on a specified frame pair. More...
 
NvMediaStatus NvMediaIOFSTImageRegister (const NvMediaIOFST *ofst, const NvMediaImage *image, NvMediaAccessMode accessMode)
 Registers an NvMediaImage for use with an NvMediaIOFST handle. More...
 
NvMediaStatus NvMediaIOFSTImageUnRegister (const NvMediaIOFST *ofst, const NvMediaImage *image)
 Un-registers NvMediaImage which was previously registered with NvMediaIOFST using NvMediaIOFSTImageRegister(). More...