ISVP-SDK  3.12.0
Ingenic Smart Video Platform SDK
Data Fields
IMPIVSInterface Struct Reference

Data Fields

void * param
 algorithm input parameter
 
int paramSize
 parameter size
 
IMPPixelFormat pixfmt
 input pixel format
 
int(* init )(IMPIVSInterface *inf)
 init algorithm func
 
void(* exit )(IMPIVSInterface *inf)
 exit algorithm func
 
int(* preProcessSync )(IMPIVSInterface *inf, IMPFrameInfo *frame)
 algorithm preprocess func, it's parameter frame hasn't been special locked by SDK IVS module, so no need to unlock by using free date, return >=0-> ok,-1->error
 
int(* processAsync )(IMPIVSInterface *inf, IMPFrameInfo *frame)
 algorithm process func, should be sure unused frames must be unlocked by using free data asap, must be realized for it's a key func to generate algorithm result, return 0->nomal,1->skip check,-1->error
 
int(* getResult )(IMPIVSInterface *inf, void **result)
 get algorithm result
 
int(* releaseResult )(IMPIVSInterface *inf, void *result)
 release algorithm result
 
int(* getParam )(IMPIVSInterface *inf, void *param)
 get algorithm parameter
 
int(* setParam )(IMPIVSInterface *inf, void *param)
 set algorithm parameter
 
int(* flushFrame )(IMPIVSInterface *inf)
 Released all frame which got and cached by processAsync.
 
void * priv
 private info
 

The documentation for this struct was generated from the following file: