资源简介
G.729的实现代码。
G.729是利用共扼结构-代数激励编码线性预测(CS-ACELP)以 8 bit/s 进行语音编码

代码片段和文件信息
/*************************************************************************/
/* */
/* LD-CELP G.728 */
/* */
/* Low-Delay Code Excitation Linear Prediction speech compression. */
/* */
/* Copyright: Analog Devices Inc. 1993 */
/* */
/* Author: Alex Zatsman. */
/* */
/* This program was written mostly for testing Analog Devices‘ g21k C */
/* compiler for the ADSP21000 architecture family. While the program */
/* works on Sparc and ADSP21020 it has NOT been tested with the */
/* official test data from CCITT/ITU. */
/* */
/* The program is distributed as is WITHOUT ANY WARRANTY EITHER */
/* EXPLICIT OR IMPLIED. */
/* */
/*************************************************************************/
#include “common.h“
#include “fast.h“
#include “parm.h“
#include “data.h“
#include “prototyp.h“
static int sf_levdur (real[] real LPC_MEM []);
static int levdur (real[] real LPC_MEM [] int);
static void hybwin(int lpsize int framesize int nrsize
real old_input[] real new_input[] real output[]
real WIN_MEM window[] real rec[] real decay);
static void bw_expand2(real input[]
real COEFF_MEM z_out[] real COEFF_MEM p_out[]
int order real z_vec[] real p_vec[]);
static void bw_expand1(real input[] real COEFF_MEM p_out[]
int order real p_vec[]);
/********************************** Adapter for Perceptual Weighting Filter */
static real
pwf_z_vec[LPCW+1] /* Arrays for band widening: zeros and*/
pwf_p_vec[LPCW+1] /* poles */
pwf_old_input[LPCW+NFRSZ+NONRW]
pwf_rec[LPCW+1]; /* Recursive Part */
void
pwf_adapter (real input[]
real COEFF_MEM z_out[] /* zero coefficients */
real COEFF_MEM p_out[]) /* pole coefficients */
{
static real
acorr[LPCW+1] /* autocorrelation coefficients */
lpcoeff[LPCW+1];
static real LPC_MEM
temp[LPCW+1];
hybwin(LPCW /* lpsize */
NFRSZ /* framesize */
NONRW /* nrsize -- nonrecursive size */
pwf_old_input
input
acorr
hw_percw
pwf_rec
0.5);
if (levdur(acorr temp LPCW))
RCOPY(temp lpcoeff LPCW+1);
bw_expand2 (lpcoeff z_out p_out LPCW
pwf_z_vec pwf_p_vec);
}
void
init_pwf_adapter (real COEFF_MEM z_co[] real COEFF_MEM p_co[])
{
real zv = 1.0
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 6964 1993-07-21 05:00 G.729\G729(LD-CELP)\020_hdr.asm
文件 2829 1993-08-12 00:50 G.729\G729(LD-CELP)\21kflags.h
文件 10492 1993-08-14 04:32 G.729\G729(LD-CELP)\adapters.c
文件 2969 1993-08-14 04:34 G.729\G729(LD-CELP)\cbindex.asm
文件 1538 1993-08-13 03:37 G.729\G729(LD-CELP)\cbindex.h
文件 5269 2002-08-07 11:45 G.729\G729(LD-CELP)\ccelp\ccelp.dsp
文件 533 2002-08-07 11:42 G.729\G729(LD-CELP)\ccelp\ccelp.dsw
文件 123904 2007-06-02 13:50 G.729\G729(LD-CELP)\ccelp\ccelp.ncb
文件 69632 2007-06-02 13:50 G.729\G729(LD-CELP)\ccelp\ccelp.opt
文件 6209 1993-08-14 04:33 G.729\G729(LD-CELP)\cmain.c
文件 6480 1993-08-14 04:33 G.729\G729(LD-CELP)\codebook.c
文件 3843 1993-08-13 23:06 G.729\G729(LD-CELP)\common.h
文件 14791 1993-08-14 04:33 G.729\G729(LD-CELP)\data.c
文件 1340 1993-08-13 05:05 G.729\G729(LD-CELP)\data.h
文件 5444 1993-08-14 04:33 G.729\G729(LD-CELP)\dmain.c
文件 791 1993-07-21 01:45 G.729\G729(LD-CELP)\ez.ach
文件 4730 1993-08-14 04:33 G.729\G729(LD-CELP)\ezplay.c
文件 2956 1993-07-23 20:07 G.729\G729(LD-CELP)\fast.h
文件 6910 1993-08-14 04:33 G.729\G729(LD-CELP)\filters.c
文件 6745 1993-08-14 04:34 G.729\G729(LD-CELP)\fio21k.asm
文件 2053 1993-08-14 04:33 G.729\G729(LD-CELP)\global.c
文件 4024 1993-08-14 04:34 G.729\G729(LD-CELP)\io-sparc.c
文件 2370 1994-05-07 01:13 G.729\G729(LD-CELP)\Makefile
文件 1243 1993-07-17 07:45 G.729\G729(LD-CELP)\parm.h
文件 12087 1993-08-14 04:34 G.729\G729(LD-CELP)\postfil.c
文件 1677 1993-08-13 04:38 G.729\G729(LD-CELP)\prototyp.h
文件 108 1993-08-14 03:09 G.729\G729(LD-CELP)\qsize.h
文件 3359 1994-05-07 01:12 G.729\G729(LD-CELP)\README
文件 2649 2004-11-24 17:40 G.729\G729A_Eval\EasyG729A.h
文件 4514 2004-11-24 17:47 G.729\G729A_Eval\EasyG729A_decoder.c
............此处省略26个文件信息
- 上一篇:labview实现图像分类
- 下一篇:Devexpress13.1.5破解
相关资源
- VisualStudioUninstaller vs卸载工具
- 组态王驱动开发包3.0.0.7(中文)
- 多窗口后台鼠标连点器
- 使用选择性重传协议实现UDP可靠通信
- VC 获得文件属性 获取文件的创建时
- 读者写者问题(读者优先,写者优先
- 用VC 编写的仿QQ聊天室程序源代码
- 外点法程序
- 外罚函数程序
- qt-电子点菜系统
- 推箱子及人工智能寻路C 源代码
- 自己写的航空订票系统c 版--数据结构
- 数据结构实验魔王语言
- MUSIC算法c 实现
- C 餐厅叫号系统(QT平)
- 国际象棋c 完整版
-
ob
jectARX给Auto CAD加工具条 - 画图程序MFC/VC/VC CRectTracker 串行化
- MFC网络编程实例
- c 课程设计 职工信息管理系统
- VC 游戏编程—附源代码
- IpHlpApi.h&IpHlpApi.lib
- 清华大学 c 郑莉 ppt课件
- c 程序判断离散数学中命题公式
- 多项式求和(数据结构C 版)
- vc 6.0开发的流程图编辑器
- VC 天空盒(skyBox)实现(附源代码)
- c MFC 画多边形
- 用C 实现的对网络上的ARP数据包进行
- Microsoft基本类库 (MFC)(C 库)
评论
共有 条评论