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

📄 fir-lib.c

📁 Reference Implementation of G.711 standard and other voice codecs
💻 C
字号:
/*                                                          v2.3 - 03/Dec/2004  =============================================================================                          U    U   GGG    SSSS  TTTTT                          U    U  G       S       T                          U    U  G  GG   SSSS    T                          U    U  G   G       S   T                           UUU     GG     SSS     T                   ========================================                    ITU-T - USER'S GROUP ON SOFTWARE TOOLS                   ========================================       =============================================================       COPYRIGHT NOTE: This source code, and all of its derivations,       is subject to the "ITU-T General Public License". Please have       it  read  in    the  distribution  disk,   or  in  the  ITU-T       Recommendation G.191 on "SOFTWARE TOOLS FOR SPEECH AND  AUDIO       CODING STANDARDS".       =============================================================MODULE:         FIRFLT, HIGH QUALITY FIR UP/DOWN-SAMPLING FILTER                Sub-unit: Basic FIR filtering routinesORIGINAL BY:                Rudolf Hofmann                Advanced Development Digital Signal Processing                PHILIPS KOMMUNIKATIONS INDUSTRIE AG                Kommunikationssysteme                Thurn-und-Taxis-Strasse 14                D-8500 Nuernberg 10 (Germany)                Phone : +49 911 526-2603                FAX   : +49 911 526-3385                EMail : hf@pkinbg.uucpDESCRIPTION:        This file contains procedures for FIR up-/down-sampling 	filtering, independently of filter characteristics initialized by	functions present in other sub-units of this module.FUNCTIONS:  Global (have prototype in firflt.h)         = hq_kernel(...)        :  FIR-filter function         = hq_reset(...)         :  clear state variables                                    (needed only if another signal should                                    be processed with the same filter)         = hq_free(...)          :  deallocate FIR-filter memory  Local (Used by other sub-units of this module, should not be needed by          the user's program. Prototypes here and in the sub-units that use 	 it, but not in firflt.h)         = fir_initialization(...) : common initialization function for                                   all filter types;  Local (should be used only here -- prototypes only in this file)         = fir_upsampling_kernel(...) : kernel function for all FIR                                   up-sampling procedures;         = fir_downsampling_kernel(...) : kernel function for all FIR                                   down-sampling procedures;HISTORY:    16.Dec.91 v0.1 First beta-version <hf@pkinbg.uucp>    28.Feb.92 v1.0 Release of 1st version to UGST <hf@pkinbg.uucp>    20.Apr.94 v2.0 Added new filtering routines: modified IRS at 16kHz and                   48kHz, Delta-SM, Linear-phase band-pass.                   <simao@cpqd.ansp.br>    30.Sep.94 v2.1 Updated to accomodate changes in the name of the name and                   slitting of module in several files, for ease of expansion.    22.Feb.96 v2.2 Changed inclusion of stdlib.h to inconditional, as                   suggested by Kirchherr (FI/DBP Telekom) to run under				   OpenVMS/AXP <simao@ctd.comsat.com>    03.Dec.04 v2.3 Added correction in fir_downsampling_kernel() for sample-based 				   operation.	<Cyril Guillaum

⌨️ 快捷键说明

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