MPI for IVA. More...
Data Structures | |
| struct | MPI_IVA_OD_PARAM_S |
| Structure for the parameters of object detection. More... | |
| struct | MPI_IVA_OBJ_ATTR_S |
| Struct for object attributes. More... | |
| struct | MPI_IVA_OBJ_LIST_S |
| Struct for object list. More... | |
Macros | |
| #define | MPI_IVA_MAX_OBJ_NUM 10 |
| #define | MPI_IVA_OD_MAX_QUA 63 |
| #define | MPI_IVA_OD_MIN_QUA 0 |
| #define | MPI_IVA_OD_MAX_TRACK_REFINE 63 |
| #define | MPI_IVA_OD_MIN_TRACK_REFINE 0 |
| #define | MPI_IVA_OD_MAX_OBJ_SIZE 255 |
| #define | MPI_IVA_OD_MIN_OBJ_SIZE 0 |
| #define | MPI_IVA_OD_MAX_SEN 255 |
| #define | MPI_IVA_OD_MIN_SEN 0 |
| #define | MPI_IVA_OD_MAX_LIFE 160 |
| #define | MPI_IVA_OD_ENABLE_STOP_DET 1 |
| #define | MPI_IVA_OD_DISABLE_STOP_DET 0 |
Functions | |
| INT32 | MPI_IVA_enableObjDet (MPI_WIN idx) |
| Enable object detection on specified video window. More... | |
| INT32 | MPI_IVA_disableObjDet (MPI_WIN idx) |
| Disable object detection on specified video window. More... | |
| INT32 | MPI_IVA_setObjParam (MPI_WIN idx, const MPI_IVA_OD_PARAM_S *param) |
| Set object detection parameters. More... | |
| INT32 | MPI_IVA_getObjParam (MPI_WIN idx, MPI_IVA_OD_PARAM_S *param) |
| Get object detection parameters. More... | |
| INT32 | MPI_IVA_getObjList (MPI_WIN idx, MPI_IVA_OBJ_LIST_S *list) |
| Get current object list. More... | |
| INT32 | MPI_IVA_getBitStreamObjList (MPI_WIN idx, UINT32 timestamp, MPI_IVA_OBJ_LIST_S *list) |
| Get object list for specific frame index. More... | |
MPI for IVA.
| #define MPI_IVA_MAX_OBJ_NUM 10 |
Max object number.
| #define MPI_IVA_OD_DISABLE_STOP_DET 0 |
Disable stop detect of object.
| #define MPI_IVA_OD_ENABLE_STOP_DET 1 |
Enable stop detect of object.
| #define MPI_IVA_OD_MAX_LIFE 160 |
Max life of object.
| #define MPI_IVA_OD_MAX_OBJ_SIZE 255 |
Max object size(percentage in a frame size).
| #define MPI_IVA_OD_MAX_QUA 63 |
Max object detection quality index.
| #define MPI_IVA_OD_MAX_SEN 255 |
Max object detection sensitivity.
| #define MPI_IVA_OD_MAX_TRACK_REFINE 63 |
Max object detection track refinement index.
| #define MPI_IVA_OD_MIN_OBJ_SIZE 0 |
Min object size(percentage in a frame size).
| #define MPI_IVA_OD_MIN_QUA 0 |
Min object detection quality index.
| #define MPI_IVA_OD_MIN_SEN 0 |
Min object detection sensitivity.
| #define MPI_IVA_OD_MIN_TRACK_REFINE 0 |
Min object detection track refinement index.
Disable object detection 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 object detection 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_getBitStreamObjList | ( | MPI_WIN | idx, |
| UINT32 | timestamp, | ||
| MPI_IVA_OBJ_LIST_S * | list | ||
| ) |
Get object list for specific frame index.
| [in] | idx | video window index. |
| [in] | timestamp | time stamp from bit-stream. |
| [out] | list | object list. |
| 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_ERR_DEV_NOT_PERM | object detection hasn't been enabled. |
| MPI_ERR_DEV_CONFLICT | object detection run on another video window. |
| MPI_ERR_DEV_INVALID_PARAM | frame count difference is too large. |
| MPI_FAILURE | unexpected fail. |
| INT32 MPI_IVA_getObjList | ( | MPI_WIN | idx, |
| MPI_IVA_OBJ_LIST_S * | list | ||
| ) |
Get current object list.
| [in] | idx | video window index. |
| [out] | list | object list. |
| 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_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. |
| INT32 MPI_IVA_getObjParam | ( | MPI_WIN | idx, |
| MPI_IVA_OD_PARAM_S * | param | ||
| ) |
Get object detection parameters.
| [in] | idx | video window index. |
| [out] | param | object detection 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_setObjParam | ( | MPI_WIN | idx, |
| const MPI_IVA_OD_PARAM_S * | param | ||
| ) |
Set object detection parameters.
| [in] | idx | video window index. |
| [in] | param | object detection 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. |