===================================================================
TS 26.104
REL-5 V5.4.0 2004-03
REL-6 V6.1.0 2004-03
REL-7 V7.0.0 2007-06
REL-8 V8.0.0 2008-12
REL-9 V9.0.0 2008-12
REL-10 V10.0.0 2010-03
3GPP AMR Floating-point Speech Codec
===================================================================
This readme.txt shortly explains the compilation and use of the AMR floating
point C-code. The package contains C-source files for the AMR floating-point
speech encoder and optimized fixed-point speech decoder. The optimized
fixed-point speech decoder is bit-exact with 3GPP TS 26.073 fixed-point
speech decoder version 7.0.0.
COMPILING THE SOFTWARE
======================
By default the encoder output and decoder input are formatted according to the
MIME file storage format used e.g. by the MMS service. The specification of
this format can be found in RFC 3267 "Real-Time Transport Protocol(RTP) Payload
Format and File Storage Format for the Adaptive Multi-Rate (AMR) and Adaptive
Multi-Rate Wideband (AMR-WB) Audio Codecs", sections 5.1 and 5.3.
If you want to compile a package with an output compatible with the existing
3GPP AMR fixed-point C-code and its file format, define "ETSI"
during compiling (in the compiler's command line). Hence the output
of the encoder and the input of the decoder will use the ETSI "word"-
format (one bit per word) used by the official 3GPP AMR fixed-point codec.
If you want to compile a package with an output compatible with the AMR IF2
format of the 3GPP specification TS 26.101 "Mandatory speech processing
functions; AMR speech codec frame structure", defining "IF2" during compiling.
NOTE: When using the ETSI stream format the user must take care that the mode index
and the frame type are valid, else the decoder will crash. There is no error
protection using this format.
For the VAD Option 1 define VAD=VAD1 and for the VAD Option 2 use
VAD=VAD2. The default is VAD1.
Makefiles for gcc and Microsoft C++ version 6.0 are included in this package.
Using MS VC++ makefile, command line is:
nmake /f makefile.win32 CFG=ETSI VAD=VAD1
When compiling the encoder, you have to compile the files:
encoder.c
interf_enc.c
sp_enc.c
interf_enc.h
interf_rom.h
rom_enc.h
sp_enc.h
typedef.h
When compiling the decoder, you have to compile files:
sp_dec.c
decoder.c
interf_dec.c
interf_dec.h
interf_rom.h
rom_dec.h
sp_dec.h
typedef.h
RUNNING THE SOFTWARE
====================
Usage of the "encoder" program is as follows:
encoder [-dtx] mode speech_file bitstream_file
or
encoder [-dtx] -modefile=mode_file speech_file bitstream_file
<mode> = MR475, MR515, MR59, MR67, MR74, MR795, MR102 or MR122
[mode_file] is optional and the format is the same as in the mode file
of the corresponding 3GPP TS 26.073 fixed-point C-code. The file is
an ascii-file containing one mode per line.
Usage of the "decoder" program is as follows:
decoder speech_file synthesis_file
HISTORY
=======
v. 3.0.0 24.8.00
v. 3.1.0 19.12.00
v. 4.0.0 19.12.00
R99 V. 3.2.0 13.06.01
REL-4 V. 4.1.0 13.06.01
R99 V. 3.3.0 01.09.01
REL-4 V. 4.2.0 01.09.01
R99 V. 3.4.0 08.02.02
REL-4 V. 4.3.0 08.02.02
R99 V. 3.5.0 14.01.03
REL-4 V. 4.4.0 14.01.03
REL-5 V. 5.1.0 14.01.03
REL-4 V. 4.5.0 12.06.03
REL-5 V. 5.2.0 12.06.03
REL-5 V. 5.3.0 17.12.03
REL-6 V. 6.0.0 17.12.03
REL-5 V. 5.4.0 05.03.04
REL-6 V. 6.1.0 05.03.04
REL-7 V. 7.0.0 05.06.07
REL-8 V. 8.0.0 10.12.08
REL-9 V. 9.0.0 10.12.09
没有合适的资源?快使用搜索试试~ 我知道了~
ANSI-C code for the floating-point Adaptive Multi-Rate (AMR) spe...
共17个文件
h:8个
c:6个
win32:1个
5星 · 超过95%的资源 需积分: 10 13 下载量 74 浏览量
2014-04-17
12:39:27
上传
评论
收藏 210KB ZIP 举报
温馨提示
3rd Generation Partnership Project; Technical Specification Group Services and System Aspects; ANSI-C code for the floating-point Adaptive Multi-Rate (AMR) speech codec (Release 10)
资源推荐
资源详情
资源评论
收起资源包目录
26104-a00_ANSI_C_source_code.zip (17个子文件)
c-code
makefile.gcc 4KB
makefile.win32 2KB
interf_rom.h 25KB
sp_enc.h 1KB
interf_enc.c 18KB
typedef.h 494B
rom_dec.h 140KB
sp_dec.h 2KB
interf_enc.h 1KB
rom_enc.h 218KB
interf_dec.c 19KB
interf_dec.h 925B
sp_dec.c 157KB
sp_enc.c 315KB
encoder.c 6KB
decoder.c 4KB
readme.txt 4KB
共 17 条
- 1
资源评论
- wujinjie7462014-06-24很有帮助,非常感谢!
- miai72015-10-24非常感谢,虽然我还没编译成功
kevinbor
- 粉丝: 1
- 资源: 13
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功