firmware/br-ext-chip-xiongmai/package/xiongmai-osdrv-xm530/files/include/xm/mpi_smartVda.h

54 lines
1.2 KiB
C
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/******************************************************************************
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