interpolation.h

来自「CHP 4 - Real-Time Digital Signal Process」· C头文件 代码 · 共 28 行

H
28
字号
// 
//  Project: Experiment 4.5.6 Interpolaiton using FIR filter - Chapter 4
//  File name: interpolation.h   
//
//  Description: This is the header file for a fixed-point interpolation filter
//
//  For the book "Real Time Digital Signal Processing: 
//                Implementation and Application, 2nd Ed"
//                By Sen M. Kuo, Bob H. Lee, and Wenshun Tian
//                Publisher: John Wiley and Sons, Ltd
//
//  Tools used: CCS v.2.12.07
//              TMS320VC5510 DSK Rev-C
//

#define  TAPS8to16         196
#define  TAPS16to48         66

#define  INT_NUM_DATA_IN    80
#define  INT_NUM_DATA2      (INT_NUM_DATA_IN*2)
#define  INT_NUM_DATA_OUT   (INT_NUM_DATA2*3)

void _interpolate(short *x, short blkSize, 
                  short *h, short order, 
                  short *y, 
                  short *w, short *index,
                  short interp);

⌨️ 快捷键说明

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