⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 af_alg_externs.h

📁 dm270 source code
💻 H
字号:
#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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -