14 #ifndef NVMEDIA_IOFST_H
15 #define NVMEDIA_IOFST_H
37 #define NVMEDIA_IOFST_VERSION_MAJOR 1
39 #define NVMEDIA_IOFST_VERSION_MINOR 13
186 uint8_t maxInputBuffering,
High Performance OpticalFlow.
#define NvMediaSurfaceType
Defines the set of NvMedia surface types.
NvMediaIOFSTType
Defines the image estimation type.
uint32_t NvMediaBool
A boolean value, holding NVMEDIA_TRUE or NVMEDIA_FALSE.
NvMediaStatus NvMediaIOFSTImageUnRegister(const NvMediaIOFST *ofst, const NvMediaImage *image)
This API is not functional.
Ultra High Performance OpticalFlow.
struct NvMediaDevice NvMediaDevice
An opaque handle representing an NvMediaDevice object.
NvMediaStatus NvMediaIOFSTImageRegister(const NvMediaIOFST *ofst, const NvMediaImage *image, NvMediaAccessMode accessMode)
Registers NvMediaImage for use with a NvMediaIOFST handle.
NvMediaStatus
Defines all possible error codes.
Ultra High Performance StereoDisparity.
void * meExternalHints
Specifies a pointer to ME external hints for the current frame.
NvMediaBool enableSegmentMap
Enables the external segment ID map, as follows: A value of NVMEDIA_TRUE enables it...
High Quality StereoDisparity.
void NvMediaIOFSTDestroy(const NvMediaIOFST *ofst)
Destroys an NvMediaIOFST object.
NvMediaOFSTConfigFeatures
Defines OFST estimation configuration features.
NvMediaStatus NvMediaIOFSTGetVersion(NvMediaVersion *version)
Returns the version information for the NvMedia IOFST library.
NvMediaIOFST * NvMediaIOFSTCreate(const NvMediaDevice *device, NvMediaIOFSTType estimationType, NvMediaSurfaceType inputFormat, NvMediaSurfaceType outputFormat, const NvMediaOFSTInitializeParams *initParams, uint8_t maxInputBuffering, NvMediaEncoderInstanceId instanceId)
Creates an OFST object that can create motion vectors based on the difference between two frames...
Holds OFST estimation parameters.
High Performance StereoDisparity.
High Quality OpticalFlow.
NvMediaStatus NvMediaIOFSTProcessFrame(const NvMediaIOFST *ofst, NvMediaImage *frame, NvMediaImage *refFrame, NvMediaImage *mvs, const NvMediaOFSTExternalHintParams *extHintParams, NvMediaEncoderInstanceId instanceId)
Performs OFST estimation on a specified frame pair.