global.c

来自「16kb/s Low Delay CELP 算法」· C语言 代码 · 共 46 行

C
46
字号
/*************************************************************************//*                                                                       *//*                            LD-CELP  G.728                             *//*                                                                       *//*    Low-Delay Code Excitation Linear Prediction speech compression.    *//*                                                                       *//*    Code edited by Michael Concannon.                                  *//*    Based on code written by Alex Zatsman, Analog Devices 1993         *//*                                                                       *//*************************************************************************/#include "common.h"/*  This data is used by both encoder and decoder. We have to define it   once for cases when encoder and decoder are linked together (like ezplay).  */#include "common.h"ACLASS real sf_coeff[LPC+1];ACLASS real gp_coeff[LPCLG+1];ACLASS real pwf_z_coeff[LPCW+1];ACLASS real pwf_p_coeff[LPCW+1];ACLASS real shape_energy[NCWD];ACLASS real imp_resp[IDIM];ACLASS real sf_coeff_next[LPC+1];ACLASS real gp_coeff_next[LPCLG+1];ACLASS real pwf_z_coeff_next[LPCW+1];ACLASS real pwf_p_coeff_next[LPCW+1];ACLASS real shape_energy_next[NCWD];ACLASS real imp_resp_next[IDIM];ACLASS int sf_coeff_obsolete_p;ACLASS int gp_coeff_obsolete_p;ACLASS int pwf_z_coeff_obsolete_p;ACLASS int pwf_p_coeff_obsolete_p;ACLASS int shape_energy_obsolete_p;ACLASS int imp_resp_obsolete_p;real synspeech [QSIZE];		/* Synthesized Speech */real qspeech [QSIZE];		/* Quantized  Speech */real log_gains[QSIZE/IDIM];	/* Logarithm of Gains */int VOLATILE ffase = -4;

⌨️ 快捷键说明

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