25 lines
667 B
C
25 lines
667 B
C
|
|
/*********************************************************************************************
|
||
|
|
Description: common defines and declarations
|
||
|
|
|
||
|
|
Copyright : All right reserved by NCIC.ICT
|
||
|
|
|
||
|
|
Author : Zhang Zhonghai
|
||
|
|
Date : 2023/08/26
|
||
|
|
***********************************************************************************************/
|
||
|
|
#ifndef __COMMON_H
|
||
|
|
#define __COMMON_H
|
||
|
|
#include <stdio.h>
|
||
|
|
|
||
|
|
#undef MAX
|
||
|
|
#undef MIN
|
||
|
|
#define MAX(x, y) ((x) > (y) ? (x) : (y))
|
||
|
|
#define MIN(x, y) ((x) < (y) ? (x) : (y))
|
||
|
|
|
||
|
|
#define KERNEL_NUM 7
|
||
|
|
|
||
|
|
extern FILE *ins_ext_f_arr[KERNEL_NUM],
|
||
|
|
*del_ext_f_arr[KERNEL_NUM],
|
||
|
|
*score_f_arr[KERNEL_NUM],
|
||
|
|
*retval_f_arr[KERNEL_NUM];
|
||
|
|
|
||
|
|
#endif
|