ETSI TS 126 204-2016 Digital cellular telecommunications system (Phase 2+) (GSM) Universal Mobile Telecommunications System (UMTS) LTE Speech codec speech processing functions Adap.pdf

上传人:feelhesitate105 文档编号:741847 上传时间:2019-01-11 格式:PDF 页数:21 大小:159KB
下载 相关 举报
ETSI TS 126 204-2016 Digital cellular telecommunications system (Phase 2+) (GSM) Universal Mobile Telecommunications System (UMTS) LTE Speech codec speech processing functions Adap.pdf_第1页
第1页 / 共21页
ETSI TS 126 204-2016 Digital cellular telecommunications system (Phase 2+) (GSM) Universal Mobile Telecommunications System (UMTS) LTE Speech codec speech processing functions Adap.pdf_第2页
第2页 / 共21页
ETSI TS 126 204-2016 Digital cellular telecommunications system (Phase 2+) (GSM) Universal Mobile Telecommunications System (UMTS) LTE Speech codec speech processing functions Adap.pdf_第3页
第3页 / 共21页
ETSI TS 126 204-2016 Digital cellular telecommunications system (Phase 2+) (GSM) Universal Mobile Telecommunications System (UMTS) LTE Speech codec speech processing functions Adap.pdf_第4页
第4页 / 共21页
ETSI TS 126 204-2016 Digital cellular telecommunications system (Phase 2+) (GSM) Universal Mobile Telecommunications System (UMTS) LTE Speech codec speech processing functions Adap.pdf_第5页
第5页 / 共21页
点击查看更多>>
资源描述

1、 ETSI TS 1Digital cellular telecommUniversal Mobile TelSpeech codec sAdaptive Multi-Rate - (3GPP TS 26.2floppy3TECHNICAL SPECIFICATION126 204 V13.1.0 (2016mmunications system (Phase elecommunications System (LTE; c speech processing functionWideband (AMR-WB) speecANSI-C code .204 version 13.1.0 Rele

2、ase 1316-04) e 2+) (GSM); (UMTS); ons; ech codec; 13) ETSI ETSI TS 126 204 V13.1.0 (2016-04)13GPP TS 26.204 version 13.1.0 Release 13Reference RTS/TSGS-0426204vd10 Keywords GSM,LTE,UMTS ETSI 650 Route des Lucioles F-06921 Sophia Antipolis Cedex - FRANCE Tel.: +33 4 92 94 42 00 Fax: +33 4 93 65 47 16

3、 Siret N 348 623 562 00017 - NAF 742 C Association but non lucratif enregistre la Sous-Prfecture de Grasse (06) N 7803/88 Important notice The present document can be downloaded from: http:/www.etsi.org/standards-search The present document may be made available in electronic versions and/or in prin

4、t. The content of any electronic and/or print versions of the present document shall not be modified without the prior written authorization of ETSI. In case of any existing or perceived difference in contents between such versions and/or in print, the only prevailing document is the print of the Po

5、rtable Document Format (PDF) version kept on a specific network drive within ETSI Secretariat. Users of the present document should be aware that the document may be subject to revision or change of status. Information on the current status of this and other ETSI documents is available at http:/port

6、al.etsi.org/tb/status/status.asp If you find errors in the present document, please send your comment to one of the following services: https:/portal.etsi.org/People/CommiteeSupportStaff.aspx Copyright Notification No part may be reproduced or utilized in any form or by any means, electronic or mech

7、anical, including photocopying and microfilm except as authorized by written permission of ETSI. The content of the PDF version shall not be modified without the written authorization of ETSI. The copyright and the foregoing restriction extend to reproduction in all media. European Telecommunication

8、s Standards Institute 2016. All rights reserved. DECTTM, PLUGTESTSTM, UMTSTMand the ETSI logo are Trade Marks of ETSI registered for the benefit of its Members. 3GPPTM and LTE are Trade Marks of ETSI registered for the benefit of its Members and of the 3GPP Organizational Partners. GSM and the GSM l

9、ogo are Trade Marks registered and owned by the GSM Association. ETSI ETSI TS 126 204 V13.1.0 (2016-04)23GPP TS 26.204 version 13.1.0 Release 13Intellectual Property Rights IPRs essential or potentially essential to the present document may have been declared to ETSI. The information pertaining to t

10、hese essential IPRs, if any, is publicly available for ETSI members and non-members, and can be found in ETSI SR 000 314: “Intellectual Property Rights (IPRs); Essential, or potentially Essential, IPRs notified to ETSI in respect of ETSI standards“, which is available from the ETSI Secretariat. Late

11、st updates are available on the ETSI Web server (https:/ipr.etsi.org/). Pursuant to the ETSI IPR Policy, no investigation, including IPR searches, has been carried out by ETSI. No guarantee can be given as to the existence of other IPRs not referenced in ETSI SR 000 314 (or the updates on the ETSI W

12、eb server) which are, or may be, or may become, essential to the present document. Foreword This Technical Specification (TS) has been produced by ETSI 3rd Generation Partnership Project (3GPP). The present document may refer to technical specifications or reports using their 3GPP identities, UMTS i

13、dentities or GSM identities. These should be interpreted as being references to the corresponding ETSI deliverables. The cross reference between GSM, UMTS, 3GPP and ETSI identities can be found under http:/webapp.etsi.org/key/queryform.asp. Modal verbs terminology In the present document “shall“, “s

14、hall not“, “should“, “should not“, “may“, “need not“, “will“, “will not“, “can“ and “cannot“ are to be interpreted as described in clause 3.2 of the ETSI Drafting Rules (Verbal forms for the expression of provisions). “must“ and “must not“ are NOT allowed in ETSI deliverables except when used in dir

15、ect citation. ETSI ETSI TS 126 204 V13.1.0 (2016-04)33GPP TS 26.204 version 13.1.0 Release 13Contents Intellectual Property Rights 2g3Foreword . 2g3Modal verbs terminology 2g3Foreword . 4g31 Scope 5g32 References 5g33 Definitions and abbreviations . 6g33.1 Definitions 6g33.2 Abbreviations . 6g34 C c

16、ode structure 6g34.1 Contents of the C source code 6g34.2 Program execution 6g34.3 Code hierarchy . 7g34.4 Variables, constants and tables . 12g34.4.1 Description of fixed tables used in the C-code . 13g34.4.2 Static variables used in the C-code . 14g35 Homing procedure 17g36 File formats 18g36.1 Sp

17、eech file (encoder input/decoder output) 18g36.2 Mode control file (encoder input) . 18g36.3 Parameter bitstream file (encoder output/decoder input) . 18g3Annex A (informative): Change history . 19g3History 20g3ETSI ETSI TS 126 204 V13.1.0 (2016-04)43GPP TS 26.204 version 13.1.0 Release 13Foreword T

18、his Technical Specification (TS) has been produced by the 3rdGeneration Partnership Project (3GPP). The contents of the present document are subject to continuing work within the TSG and may change following formal TSG approval. Should the TSG modify the contents of the present document, it will be

19、re-released by the TSG with an identifying change of release date and an increase in version number as follows: Version x.y.z where: x the first digit: 1 presented to TSG for information; 2 presented to TSG for approval; 3 or greater indicates TSG approved document under change control. y the second

20、 digit is incremented for all changes of substance, i.e. technical enhancements, corrections, updates, etc. z the third digit is incremented when editorial only changes have been incorporated in the document. ETSI ETSI TS 126 204 V13.1.0 (2016-04)53GPP TS 26.204 version 13.1.0 Release 131 Scope The

21、present document contains an electronic copy of the ANSI-C code for the Floating-point Adaptive Multi-Rate Wideband codec. This floating-point codec specification is mainly targeted to be used in multimedia applications or in packet-based applications. The bit-exact fixed-point ANSI-C code in 3GPP T

22、S 26.173 remains the preferred implementation for all applications, but the floating-point codec may be used instead of the fixed-point codec when the implementation platform is better suited for a floating-point implementation. It has been verified that the fixed-point and floating-point codecs int

23、eroperate with each other without any artifacts. The floating-point ANSI-C code in the present document is the only standard conforming non-bit-exact implementation of the Adaptive Multi-Rate Wideband speech transcoder (3GPP TS 26.190 2), Voice Activity Detection (3GPP TS 26.194 6), comfort noise ge

24、neration (3GPP TS 26.192 4), and source controlled rate operation (3GPP TS 26.193 5). The floating-point code also contains example solutions for substituting and muting of lost frames (3GPP TS 26.191 3). The fixed-point specification in 26.173 shall remain the only allowed implementation for the 3G

25、 AMR-WB speech service and the use of the floating-point codec is strictly limited to other services. The floating-point encoder in the present document is a non-bit-exact implementation of the fixed-point encoder producing quality indistinguishable from that of the fixed-point encoder. The decoder

26、in the present document is functionally a bit-exact implementation of the fixed-point decoder, but the code has been optimized for speed and the standard fixed-point libraries are not used as such. 2 References The following documents contain provisions which, through reference in this text, constit

27、ute provisions of the present document. References are either specific (identified by date of publication, edition number, version number, etc.) or non-specific. For a specific reference, subsequent revisions do not apply. For a non-specific reference, the latest version applies. In the case of a re

28、ference to a 3GPP document (including a GSM document), a non-specific reference implicitly refers to the latest version of that document in the same Release as the present document. 1 3GPP TS 26.174: “AMR speech codec, wideband; Test sequences“. 2 3GPP TS 26.190: “Mandatory Speech Codec speech proce

29、ssing functions AMR Wideband speech codec; Transcoding functions“. 3 3GPP TS 26.191: “AMR speech codec, wideband; Error concealment of lost frames“. 4 3GPP TS 26.192: “Mandatory Speech Codec speech processing functions AMR Wideband Speech Codec; Comfort noise aspects“. 5 3GPP TS 26.193: “AMR speech

30、codec, wideband; Source controlled rate operation“. 6 3GPP TS 26.194: “Mandatory Speech Codec speech processing functions AMR Wideband speech codec; Voice Activity Detector (VAD)“. 7 RFC 3267 A Real-Time Transport Protocol (RTP) Payload Format and File Storage Format for Adaptive Multi-Rate (AMR) an

31、d Adaptive Multi-Rate Wideband (AMR-WB) Audio Codecs, June 2002. ETSI ETSI TS 126 204 V13.1.0 (2016-04)63GPP TS 26.204 version 13.1.0 Release 133 Definitions and abbreviations 3.1 Definitions For the purposes of the present document, the terms and definitions given in TS 26.190 2, TS 26.191 3, TS 26

32、.192 4, TS 26.193 5 and TS 26.194 6. 3.2 Abbreviations For the purposes of the present document, the following abbreviations apply: AMR-WB Adaptive Multi-Rate WideBand ANSI American National Standards Institute GSM Global System for Mobile communications I/O Input/OutputRAM Random Access Memory ROM

33、Read Only Memory 4 C code structure This clause gives an overview of the structure of the bit-exact C code and provides an overview of the contents and organization of the C code attached to the present document. The C code has been verified on the following systems: - IBM PC/AT compatible computers

34、 with Windows NT40 and Microsoft Visual C+ v.6.0 compiler. - IBM PC/AT compatible computers with Windows NT40 and Intel C/C+ v.4.0 compiler. ANSI-C was selected as the programming language because portability was desirable. 4.1 Contents of the C source code The C code distribution has all files in t

35、he root level. The distributed files with suffix “c“ contain the source code and the files with suffix “h“ are the header files. The ROM data is contained in “rom“ files with suffix “c“. Makefiles are provided for the platforms in which the C code has been verified (listed above). Once the software

36、is installed, this directory will have a compiled version of encoder and decoder and all the object files. 4.2 Program execution The Adaptive Multi-Rate Wideband codec is implemented in two programs: - (encoder) speech encoder; - (decoder) speech decoder. The programs should be called like: - encode

37、r encoder options ; - decoder . The speech files contain 16-bit linear encoded PCM speech samples and the parameter files contain encoded speech data and some additional flags. ETSI ETSI TS 126 204 V13.1.0 (2016-04)73GPP TS 26.204 version 13.1.0 Release 13The encoder and decoder options will be expl

38、ained by running the applications without input arguments. See the file readme.txt for more information on how to run the encoder and decoder programs. 4.3 Code hierarchy Tables 1 and 2 are call graphs that show the functions used in the speech codec, including the functions of VAD, DTX, and comfort

39、 noise generation. Each column represents a call level and each cell a function. The functions contain calls to the functions in rightwards neighbouring cells. The time order in the call graphs is from the top downwards as the processing of a frame advances. All standard C functions: memcpy(), fwrit

40、e(), etc. have been omitted. The initialization of the static RAM (i.e. calling the _init functions) is also omitted. ETSI ETSI TS 126 204 V13.1.0 (2016-04)83GPP TS 26.204 version 13.1.0 Release 13Table 1: Speech encoder call structure E_MAIN_encode E_UTIL_decim_12k8 E_UTIL_down_samp E_UTIL_interpol

41、 E_UTIL_decim_12k8 E_UTIL_hp50_12k8 _UTIL_hp50_12k8 E_UTIL_f_preemph _DTX_vad E_DTX_filter_bank E_DTX_filter5 E_DTX_filter3 E_DTX_level_calculation E_DTX_decision E_DTX_noise_estimate_update E_DTX_update_cntrl E_DTX_hangover_addition E_DTX_speech_estimate E_DTX_tx_handler _DTX_reset E_LPC_isf_init E

42、_MAIN_parm_store _UTIL_autocorr E_LPC_lag_wind _LPC_lev_dur E_LPC_a_isp_conversion E_LPC_chebyshev _LPC_f_int_isp_find E_LPC_f_isp_a_conversion E_LPC_f_isp_pol_get E_LPC_isp_isf_conversion _GAIN_clip_isf_test E_LPC_a_weight_UTIL_residu E_UTIL_deemph _GAIN_lp_decim2E_GAIN_open_loop_search _GAIN_olag_

43、median E_GAIN_sort E_DTX_pitch_tone_detection_GAIN_open_loop_search E_GAIN_olag_median_DTX_pitch_tone_detectionE_UTIL_residu _DTX_buffer E_DTX_exe E_DTX_frame_indices_find E_DTX_isf_history_aver E_DTX_isf_q E_LPC_isf_sub_vq E_LPC_isf_noise_d E_LPC_f_isf_reorder E_DTX_dithering_control E_UTIL_random

44、E_MAIN_reset E_GAIN_clip_init E_DTX_reset E_DTX_vad_reset E_LPC_isf_2s3s_quantise E_LPC_stage1_isf_vq E_LPC_isf_sub_vq E_LPC_stage1_isf_vq E_LPC_isf_sub_vq E_LPC_isf_2s3s_decode E_LPC_isf_reorder E_LPC_isf_2s5s_quantise E_LPC_stage1_isf_vq E_LPC_isf_sub_vq E_LPC_isf_2s5s_decode E_LPC_isf_reorder E_L

45、PC_isf_isp_conversion _LPC_int_isp_find E_LPC_isp_a_conversion E_LPC_isp_pol_get E_UTIL_l_extract E_UTIL_mpy_32_16 E_UTIL_l_extract E_UTIL_mpy_32_16 E_UTIL_residu _DTX_buffer E_UTIL_residuE_UTIL_synthesis E_LPC_a_weight _UTIL_residuE_UTIL_deemph _UTIL_f_preemph ETSI ETSI TS 126 204 V13.1.0 (2016-04)

46、93GPP TS 26.204 version 13.1.0 Release 13E_LPC_a_weight E_UTIL_synthesisE_UTIL_residu_LPC_a_weight E_UTIL_synthesisE_UTIL_deemph_GAIN_closed_loop_search E_GAIN_norm_corr E_UTIL_f_convolve E_GAIN_norm_corr_interpolate E_GAIN_clip_test _GAIN_adaptive_codebook_excitation E_UTIL_convolve E_ACELP_xy1_cor

47、r E_ACELP_codebook_target_update E_UTIL_convolve E_ACELP_xy1_corr E_ACELP_codebook_target_update E_UTIL_f_preemph _GAIN_f_pitch_sharpening E_ACELP_xh_corrE_ACELP_2t E_ACELP_4t E_ACELP_h_vec_corr1E_ACELP_h_vec_corr2E_ACELP_2pulse_search E_ACELP_quant_1p_N1 E_ACELP_quant_2p_2N1 E_ACELP_quant_3p_3N1 E_

48、ACELP_quant_2p_2N1 E_ACELP_quant_1p_N1 E_ACELP_quant_4p_4N E_ACELP_quant_4p_4N1 E_ACELP_quant_2p_2N1 E_ACELP_quant_1p_N1 E_ACELP_quant_3p_3N1 E_ACELP_quant_2p_2N1 E_ACELP_quant_3p_3N1 E_ACELP_quant_5p_5N E_ACELP_quant_3p_3N1 E_ACELP_quant_2p_2N1 E_ACELP_quant_6p_6N_2 E_ACELP_quant_5p_5N E_ACELP_quan

49、t_1p_N1 E_ACELP_quant_4p_4N E_ACELP_quant_2p_2N1 E_ACELP_quant_3p_3N1 E_UTIL_preemph _GAIN_pitch_sharpeningE_ACELP_xy2_corr E_ACELP_gains_quantise E_UTIL_dot_product12 E_UTIL_saturate_31 E_UTIL_norm_lE_UTIL_normalized_inverse_sqrt E_UTIL_l_extract E_UTIL_saturateE_UTIL_mpy_32_16 E_UTIL_log2_32 E_UTIL_norm_l E_UTIL_normalized_log2E_UTIL_signal_up_scale _UTIL_signal_down_scale E_GAIN_clip_pit_test _UTIL_signal_down_scale E_GAIN_voice_factor E_UTIL_dot_product12 E_UTIL_norm_l E_UTIL_norm_s E_UTIL_norm_s E

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 标准规范 > 国际标准 > 其他

copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1