ISVP-SDK  3.12.0
Ingenic Smart Video Platform SDK
imp_ivs_move.h
Go to the documentation of this file.
1 /*
2  * IMP IVS Move func header file.
3  *
4  * Copyright (C) 2016 Ingenic Semiconductor Co.,Ltd
5  */
6 
7 #ifndef __IMP_IVS_MOVE_H__
8 #define __IMP_IVS_MOVE_H__
9 
10 #ifdef __cplusplus
11 #if __cplusplus
12 extern "C"
13 {
14 #endif
15 #endif /* __cplusplus */
16 
17 #define IMP_IVS_MOVE_MAX_ROI_CNT 52
18 
19 #include <imp/imp_ivs.h>
20 
36 typedef struct {
37  int sense[IMP_IVS_MOVE_MAX_ROI_CNT];
38  int skipFrameCnt; /*< motion detected interval frame numbers */
40  IMPRect roiRect[IMP_IVS_MOVE_MAX_ROI_CNT]; /*< detect region of information */
41  int roiRectCnt; /*< detect region information counts */
43 
44 /*
45  * Motion detection algorithm output parameter structure
46  */
47 typedef struct {
48  int retRoi[IMP_IVS_MOVE_MAX_ROI_CNT]; /*< region checkout result, 0:no motion, 1:move, region count equals to roiRectCnt */
50 
64 
75 
80 #ifdef __cplusplus
81 #if __cplusplus
82 }
83 #endif
84 #endif /* __cplusplus */
85 #endif /* __IMP_IVS_MOVE_H__ */
IMPFrameInfo frameInfo
frame information, only need to assign width and height
Definition: imp_ivs_move.h:39
IMP frame image information definition.
Definition: imp_common.h:54
Definition: imp_ivs.h:137
IMPIVSInterface * IMP_IVS_CreateMoveInterface(IMP_IVS_MoveParam *param)
Create motion detection interface.
void IMP_IVS_DestroyMoveInterface(IMPIVSInterface *moveInterface)
Destroy move detection interface.
IMP IVS module.
Motion detection algorithm input parameter structure.
Definition: imp_ivs_move.h:36
Definition: imp_ivs_move.h:47
IMP Rectangle area information.
Definition: imp_common.h:160