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

📄 decimation.h

📁 CHP 4 - Real-Time Digital Signal Processing: Implementations and Applications, Second Edition by Sen
💻 H
字号:
// 
//  Project: Experiment 4.5.8 Implementation of sample rate convertor in real-time - Chapter 4
//  File name: decimation.h   
//
//  Description: This is the header file for the decimation FIR 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  TAPS48to24   15
#define  TAPS24to8   213

#define  DEC_NUM_DATA_IN    (80*6)
#define  DEC_NUM_DATA2      (80*3)
#define  DEC_NUM_DATA_OUT    80

void _decimator(short *x, short blkSize, 
                short *h, short order, 
                short *y, 
                short *w, short *index,
                short dec);

⌨️ 快捷键说明

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