MPI for IVA RMS. More...
#include "mpi_common.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... | |
MPI for IVA RMS.
#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 UINT32 MPI_RMS_CONF_BF |
Bit-filed of confidence.
Disable reginal motion sensor on specified video window.
[in] | idx | video window index. |
MPI_SUCCESS | success. |
MPI_ERR_DEV_INVALID_WIN | invalid video window index. |
MPI_ERR_DEV_INVALID_CHN | invalid video channel index. |
MPI_ERR_DEV_INVALID_DEV | invalid device index. |
MPI_ERR_DEV_NOT_EXIST | device/channel not exist. |
MPI_ERR_DEV_NOT_PERM | object detection hasn't been enabled. |
MPI_ERR_DEV_CONFLICT | object detection run on another video window. |
MPI_FAILURE | unexpected fail. |
Enable regional motion sensore on specified video window.
[in] | idx | video window index. |
MPI_SUCCESS | success. |
MPI_ERR_DEV_INVALID_WIN | invalid video window index. |
MPI_ERR_DEV_INVALID_CHN | invalid video channel index. |
MPI_ERR_DEV_INVALID_DEV | invalid device index. |
MPI_ERR_DEV_NOT_EXIST | device/channel not exist. |
MPI_ERR_DEV_BUSY | object detection has been enabled. |
MPI_FAILURE | unexpected fail. |
INT32 MPI_IVA_getRegMotSens | ( | MPI_WIN | idx, |
MPI_IVA_RMS_REG_LIST_S * | list | ||
) |
Get reginal motion sensor result.
[in] | idx | video window index. |
[out] | param | reginal motion sensor result. |
MPI_SUCCESS | success. |
MPI_ERR_DEV_NULL_POINTER | input pointer is NULL. |
MPI_ERR_DEV_INVALID_WIN | invalid video window index. |
MPI_ERR_DEV_INVALID_CHN | invalid video channel index. |
MPI_ERR_DEV_INVALID_DEV | invalid device index. |
MPI_ERR_DEV_NOT_EXIST | device/channel not exist. |
MPI_FAILURE | unexpected fail. |
INT32 MPI_IVA_getRegMotSensParam | ( | MPI_WIN | idx, |
MPI_IVA_RMS_PARAM_S * | param | ||
) |
Get reginal motion sensor parameters.
[in] | idx | video window index. |
[out] | param | reginal motion sensor parameters. |
MPI_SUCCESS | success. |
MPI_ERR_DEV_NULL_POINTER | input pointer is NULL. |
MPI_ERR_DEV_INVALID_WIN | invalid video window index. |
MPI_ERR_DEV_INVALID_CHN | invalid video channel index. |
MPI_ERR_DEV_INVALID_DEV | invalid device index. |
MPI_ERR_DEV_NOT_EXIST | device/channel not exist. |
MPI_FAILURE | unexpected fail. |
INT32 MPI_IVA_setRegMotSensParam | ( | MPI_WIN | idx, |
const MPI_IVA_RMS_PARAM_S * | param | ||
) |
Set reginal motion sensor parameters.
[in] | idx | video window index. |
[in] | param | reginal motion sensor parameters. |
MPI_SUCCESS | success. |
MPI_ERR_DEV_NULL_POINTER | input pointer is NULL. |
MPI_ERR_DEV_INVALID_WIN | invalid video window index. |
MPI_ERR_DEV_INVALID_CHN | invalid video channel index. |
MPI_ERR_DEV_INVALID_DEV | invalid device index. |
MPI_ERR_DEV_INVALID_PARAM | invalid parameters. |
MPI_ERR_DEV_NOT_EXIST | device/channel not exist. |
MPI_FAILURE | unexpected fail. |