-
Notifications
You must be signed in to change notification settings - Fork 0
/
coeff.h
executable file
·40 lines (26 loc) · 944 Bytes
/
coeff.h
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
/* vim: set tabstop=4:softtabstop=4:shiftwidth=4:noexpandtab */
/*
2.4 kbps MELP Proposed Federal Standard speech coder
*/
/* coeff.h: filter coefficient header file */
/* 定义常数 h文件声明变量 */
/* */
#ifndef _COEFF_H_
#define _COEFF_H_
#include "sc1200.h"
/* Lowpass filter coefficient in second-order sections */
extern const int16_t lpf_num[];
extern const int16_t lpf_den[];
/* Butterworth bandpass filters in second-order sections */
extern const int16_t bpf_num[];
extern const int16_t bpf_num_class[];
/* sign of coefficients for bpf_den is reversed */
extern const int16_t bpf_den[];
extern const int16_t bpf_den_class[];
/* Hamming window coefficents in Q15 */
extern const int16_t win_cof[];
/* Bandpass filter coeffients */
extern const int16_t bp_cof[][MIX_ORD + 1];
/* Triangle pulse dispersion filter */
extern const int16_t disp_cof[];
#endif