MPP Programming Interface Reference Manual  jpl-r3.0.0-rc1
mpi_iva_rms.h File Reference

MPI for IVA RMS. More...

#include "mpi_index.h"

Data Structures

struct  MPI_IVA_RMS_PARAM_S
 Structure for the parameters of regional motion sensor. More...
 
struct  MPI_IVA_RMS_REG_ATTR_S
 Struct for region attributes. More...
 
struct  MPI_IVA_RMS_REG_LIST_S
 Struct for region list. More...
 

Macros

#define MPI_IVA_RMS_MAX_REG_NUM   50
 
#define MPI_IVA_RMS_MIN_REG_NUM   1
 
#define MPI_IVA_RMS_MAX_SEN   255
 
#define MPI_IVA_RMS_MIN_SEN   0
 

Typedefs

typedef UINT32 MPI_RMS_CONF_BF
 

Functions

INT32 MPI_IVA_enableRegMotSens (MPI_WIN idx)
 Enable regional motion sensore on specified video window. More...
 
INT32 MPI_IVA_disableRegMotSens (MPI_WIN idx)
 Disable reginal motion sensor on specified video window. More...
 
INT32 MPI_IVA_setRegMotSensParam (MPI_WIN idx, const MPI_IVA_RMS_PARAM_S *param)
 Set reginal motion sensor parameters. More...
 
INT32 MPI_IVA_getRegMotSensParam (MPI_WIN idx, MPI_IVA_RMS_PARAM_S *param)
 Get reginal motion sensor parameters. More...
 
INT32 MPI_IVA_getRegMotSens (MPI_WIN idx, MPI_IVA_RMS_REG_LIST_S *list)
 Get reginal motion sensor result. More...
 

Detailed Description

MPI for IVA RMS.

Macro Definition Documentation

#define MPI_IVA_RMS_MAX_REG_NUM   50

Max region number.

#define MPI_IVA_RMS_MAX_SEN   255

Max regional motion sensor sensitivity.

#define MPI_IVA_RMS_MIN_REG_NUM   1

Min region number.

#define MPI_IVA_RMS_MIN_SEN   0

Min regional motion sensor sensitivity.

Typedef Documentation

Bit-filed of confidence.

Function Documentation

INT32 MPI_IVA_disableRegMotSens ( MPI_WIN  idx)

Disable reginal motion sensor on specified video window.

Parameters
[in]idxvideo window index.
See also
MPI_IVA_enableRegMotSens()
Return values
MPI_SUCCESSsuccess.
MPI_ERR_DEV_INVALID_WINinvalid video window index.
MPI_ERR_DEV_INVALID_CHNinvalid video channel index.
MPI_ERR_DEV_INVALID_DEVinvalid device index.
MPI_ERR_DEV_NOT_EXISTdevice/channel not exist.
MPI_ERR_DEV_NOT_PERMobject detection hasn't been enabled.
MPI_ERR_DEV_CONFLICTobject detection run on another video window.
MPI_FAILUREunexpected fail.
INT32 MPI_IVA_enableRegMotSens ( MPI_WIN  idx)

Enable regional motion sensore on specified video window.

Parameters
[in]idxvideo window index.
See also
MPI_IVA_disableRegMotSens()
Return values
MPI_SUCCESSsuccess.
MPI_ERR_DEV_INVALID_WINinvalid video window index.
MPI_ERR_DEV_INVALID_CHNinvalid video channel index.
MPI_ERR_DEV_INVALID_DEVinvalid device index.
MPI_ERR_DEV_NOT_EXISTdevice/channel not exist.
MPI_ERR_DEV_BUSYobject detection has been enabled.
MPI_FAILUREunexpected fail.
INT32 MPI_IVA_getRegMotSens ( MPI_WIN  idx,
MPI_IVA_RMS_REG_LIST_S list 
)

Get reginal motion sensor result.

Parameters
[in]idxvideo window index.
[out]paramreginal motion sensor result.
See also
none
Return values
MPI_SUCCESSsuccess.
MPI_ERR_DEV_NULL_POINTERinput pointer is NULL.
MPI_ERR_DEV_INVALID_WINinvalid video window index.
MPI_ERR_DEV_INVALID_CHNinvalid video channel index.
MPI_ERR_DEV_INVALID_DEVinvalid device index.
MPI_ERR_DEV_NOT_EXISTdevice/channel not exist.
MPI_FAILUREunexpected fail.
INT32 MPI_IVA_getRegMotSensParam ( MPI_WIN  idx,
MPI_IVA_RMS_PARAM_S param 
)

Get reginal motion sensor parameters.

Parameters
[in]idxvideo window index.
[out]paramreginal motion sensor parameters.
See also
MPI_IVA_setRegMotSensParam()
Return values
MPI_SUCCESSsuccess.
MPI_ERR_DEV_NULL_POINTERinput pointer is NULL.
MPI_ERR_DEV_INVALID_WINinvalid video window index.
MPI_ERR_DEV_INVALID_CHNinvalid video channel index.
MPI_ERR_DEV_INVALID_DEVinvalid device index.
MPI_ERR_DEV_NOT_EXISTdevice/channel not exist.
MPI_FAILUREunexpected fail.
INT32 MPI_IVA_setRegMotSensParam ( MPI_WIN  idx,
const MPI_IVA_RMS_PARAM_S param 
)

Set reginal motion sensor parameters.

Parameters
[in]idxvideo window index.
[in]paramreginal motion sensor parameters.
See also
MPI_IVA_getRegMotSensParam()
Return values
MPI_SUCCESSsuccess.
MPI_ERR_DEV_NULL_POINTERinput pointer is NULL.
MPI_ERR_DEV_INVALID_WINinvalid video window index.
MPI_ERR_DEV_INVALID_CHNinvalid video channel index.
MPI_ERR_DEV_INVALID_DEVinvalid device index.
MPI_ERR_DEV_INVALID_PARAMinvalid parameters.
MPI_ERR_DEV_NOT_EXISTdevice/channel not exist.
MPI_FAILUREunexpected fail.