af_alg_externs.h

来自「dm270 source code」· C头文件 代码 · 共 54 行

H
54
字号
#ifndef __AF_ALG_EXTERNS_H__
#define  __AF_ALG_EXTERNS_H__

#include <system/h3a270.h>
#include <user/af_ctrl.h>

/* 
Focus value data output to file via CCS
0:DISABLE
1:ENABLE
*/				
#define AF_OUT_DATA					0		
#define AF_DEBUG					1

#define IIR_FILTER_NONE				0
#define IIR_FILTER_BUTTER_WIDE		1
#define IIR_FILTER_BUTTER_MED		2
#define IIR_FILTER_BUTTER_NARROW	3
#define IIR_FILTER_ELLIP_NARROW		4
#define IIR_FILTER_CHEBY_NARROW		5
#define IIR_FILTER_FIR_HIGHPASS		6
#define IIR_FILTER_ID_MAX			7

extern char *iir_filter_str[];

extern int  fine_step_size;
extern char out_buff[];
extern int af_hstart, af_vstart, af_hend, af_vend;

extern Uint16 MIN_MOTOR_VALUE;
extern Uint16 MAX_MOTOR_VALUE;
extern int cur_motor_value;

STATUS AFAlgSetFilter(AF_CTRL *af_ctrl, Uint16 filter_id_0, Uint16 filter_id_1);
STATUS AFAlgSharpCalcReset();
int	   AFAlgSharpCalc(char *data_addr);
STATUS AFAlgFocusMotorInit();
STATUS CCDM_MotorCtrlReset();
STATUS CCDM_MotorCtrl(int motor_value);

#if AF_OUT_DATA

#include <stdio.h>

extern BOOL dump_data;
extern ULONG focus_value[360][50];

int DumpDataToFile();

#endif

#endif /* __AF_ALG_EXTERNS_H__	*/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?