IRC_funtion.h
1.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/**
********************************************************************
* @file IRC_funtion.h
* IRC_funtion.h 的头文件
*
*********************************************************************
*/
/* Define to prevent recursive inclusion 避免重定义 -------------------------------------*/
#ifndef IRC_FUNTION_H
#define IRC_FUNTION_H
/* Includes ------------------------------------------------------------------*/
#include "JZsdk_Base/JZsdk_Code/JZsdk_Code.h"
#include "MediaProc/IRC_funtion/IRC_Param.h"
#ifdef __cplusplus
extern "C" {
#endif
/* Exported constants --------------------------------------------------------*/
/* 常亮定义*/
/* Exported types ----------------------------- -------------------------------*/
typedef enum IRC_DealMode{
IRC_DEAL_MODE_JZ = 0,
IRC_DEAL_MODE_KT = 1,
IRC_DEAL_MODE_SAT = 2,
}IRC_DealMode;
/* Exported functions --------------------------------------------------------*/
T_JZsdkReturnCode IRC_ParamInit(int height, int width, int frameRate, IRC_DealMode dealMode);
T_JZsdkReturnCode IRC_FrameDeal(U16_t *rawData ,unsigned int dataSize, unsigned char **outData, unsigned int *outDataSize);
T_JZsdkReturnCode IRC_SetRawPixel_ResetFlag();
T_JZsdkReturnCode IRC_SetGrayPixel_ResetFlag();
T_JZsdkReturnCode IRC_SetSPC_ResetFlag();
T_JZsdkReturnCode IRC_SetDGCE_ResetFlag();
T_JZsdkReturnCode IRC_Set_OutputPixelColorMode(int value);
T_JZsdkReturnCode IRC_Set_CorrectionMode(int mode);
T_JZsdkReturnCode IRC_Set_RegionBox(int PointNum, int x, int y);
T_JZsdkReturnCode IRC_Set_RegionMode(int mode);
T_JZsdkReturnCode LowAndHigh_MarkRest(int mode);
T_JZsdkReturnCode IRC_Set_GasRange(int flag, int value);
T_JZsdkReturnCode IRC_Set_GasEnhancementColor(int mode);
T_JZsdkReturnCode Proc_IRC_param(int flagcode, enum JZsdk_Widget_Control paramflag, int *value);
typedef enum GasThreshold
{
IRC_GasMax = 0,
IRC_GasMin = 1,
}GasThreshold;
#ifdef __cplusplus
}
#endif
#endif