mirror of https://github.com/OpenIPC/firmware.git
54 lines
1.2 KiB
C
54 lines
1.2 KiB
C
/******************************************************************************
|
||
Copyright (C), 2015-2020, XM. Co., Ltd.
|
||
******************************************************************************
|
||
File Name : mpi_smartVda.h (libsmart.a mpi)
|
||
Version : Initial Draft
|
||
Author : XM Isp software group
|
||
Created : 2017/9/25
|
||
|
||
Description : The common data type defination
|
||
Function List :
|
||
History :
|
||
1.Date : 2017/9/25
|
||
Author : Lycai
|
||
Modification : creat
|
||
******************************************************************************/
|
||
#ifndef _MPI_SMARTVDA_H_
|
||
#define _MPI_SMARTVDA_H_
|
||
#include "xm_type.h"
|
||
|
||
|
||
|
||
typedef struct stResult
|
||
{
|
||
XM_U32 uiFlag; /*1:有目标 0:无目标*/
|
||
XM_U8 reserved[16];
|
||
}Move_Detect_Result_S;
|
||
|
||
typedef struct xmMove_Detect_Para_S//移动侦测参数设置
|
||
{
|
||
XM_U8 Enable;//侦测使能 0:不使能 1:使能
|
||
XM_U8 Sensitivity;//灵敏度
|
||
XM_U8 reserved[16];
|
||
}Move_Detect_Para_S;
|
||
|
||
|
||
|
||
|
||
//灯泡移动侦测检测的接口
|
||
XM_S32 MoveDetect_Creat(int nChannel);
|
||
XM_S32 MoveDetect_SetParam(int nChannel,Move_Detect_Para_S *pstParam);
|
||
XM_S32 MoveDetect_GetResult(int nChannel,Move_Detect_Result_S *pstResult);//返回 1:有目标 0:无目标
|
||
XM_S32 MoveDetect_Destory(int nChannel);
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
#endif
|
||
|
||
|