G.729Speech Codec Algorithm Research and Implementation Based on ARM9
- Author
- WangGeng
- Advisor
- ZhangZhengWen
- School
- Hubei University of Technology
- Major
- Power Electronics and Power Drives
- Classification
- TN912.3 Speech Signal Processing
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 131
- Citations
- 0
Abstract
In modern voice communication systems,transmission efficiency and voice qualityare the research hot spots.Low-rate and high quality speech codec is in demand.G.729speech codec algorithm was established by ITU-T protocol (internationaltelecommunication union) in1996, which adopt a technology based on the ConjugateStructure Algebraic Code Excited Linear Prediction (CS-ACELP),a speech codecstandard with a8kbit/s bit rate. Because the speech quality coded and decoded byalgorithm is good, it has advantages of low encoding speed, high compression ratio anda small delay and so on. In many fields of IP Phone,camera phones, satellitecommunications and various multimedia communication systems, G.729has a verywide range of application.The main subject of this study is based on the ARM platform to realize the G.729speech codec algorithm. G.729speech codec algorithm with the much code is verycomplex. Even if the version G.729A is simplified, its algorithm complexity is stillhigh. How to improve the computing complexity and performance of G.729algorithmcoding and decoding in ARM platform, and how to take measures is the key of G.729algorithm realization in ARM platform. To realize the algorithm, this paper set up ahardware development platform based on ARM9, and system chips adopt themicroprocessor S3C2440A with low power consumption, low price and excellentperformance. In order to make whole design simpler, system use the UDA1341TSphonic acquisition chip which the Philips company produced, the chip which can linkthe S3C2440A through the IIS interface. This paper first introduced the G.729algorithm principle and relevance theory, including digital model of speech signal, theshort time domain processing, vector quantization, linear forecasting analysis and otherkey technology, on the basis of these making further analysis and understanding to theG.729speech codec algorithm and the source code. It analyzed the structure andfunction of S3C2440A and UDA1341TS, and designed the system hardware circuitbasing on this, detailed the interface and configuration between the voice capture chipand the main processing chip, and then introduced the software design of the hardwareplatform which has been set up, including the main program design and audio moduledriver design. At last in the reference of the delay and the storage space utilization ofG.729algorithm and in view of the characteristics of ARM9platform, it takes a seriesof measures to the G.729speech codec algorithm, including the C language level,assembly level and the algorithm level optimization, after optimization assessing andtesting the coding efficiency and the sound quality. The results testified that the optimalprogram can complete real-time codec.
Table of contents
Summary 4-5
Abstract 5-9
Chapter 1 Introduction 9-16
1.1 Overview of speech coding technology 9 - the purpose and significance of 11
1.1.1 speech signal compression 9
1.1.2 a brief history and direction of the voice compression coding technology 9-11
1.2 voice encoder performance metrics 11-12
1.3 major voice compression coding standards and performance analysis 12-14
1.4 dissertation topic and research 14-16
1.4.1 the background and significance of 14-15
1.4.2 the main thesis research 15-16
Chapter 2 G. 729 algorithm theory principles involved 16-28
2.1 digital audio signal model 16-19
2.2 short domain speech signal processing 19 <br / > 2.3 linear predictive analysis 19-22
2.4 voice signal vector quantization basic principles 22-27
2.4.1 VQ 23-24
2.4.2 VQ system reduces complexity 24-27
2.5 Summary 27-28
Chapter 3 standard G.729 protocol analysis and research Overview 28-40
3.1 G.729 standard 28-30
3.1.1 encoder 28-30
3.1.2 decoder 30
3.1.3 delay 30
3.2 G.729 encoder principle analysis 30-37
3.2.1 pretreatment 30-31
3.2.2 linear predictive analysis and quantification 31
3.2.3 perceptual weighting 31-32
3.2.4 open-loop pitch analysis calculate 32
3.2.5 impulse response calculation 32-33
3.2.6 adaptive search target signal 33
3.2.7 adaptive Search nbsp code vector ; 33-36
3.2.8 structure and fixed codebook search quantify nbsp 36-37
3.2.9 gain ; 37 <br / > 3.2.10 memory update 37
3.3 G.729 decoder principle analysis 37-39
3.3.1 parameter decoding process 37-39 <br / > 3.3.2 processing 39
3.4 Summary 39-40
Chapter 4 of G.729 algorithm based on ARM9 system design 40 - 60
4.1 overall system design 40-41
4.2 system hardware design Overview 41-49
4.2.1 S3C2440A microprocessor of 41 - 42
4.2.2 Overview of audio processing chip UDA1341TS 42-43
4.2.3 IIS bus interface 43-46
4.2.4 UDAl34lTS interface circuit design 46-48
4.2.5 power, clock and reset circuit 48-49
4.3 system software design 49-59
4.3.1 main design 50
4.3.2 audio module driver design 50-52
4.3.3 G.729 source code analysis 52-59
4.4 of this chapter Summary 59-60
Chapter 5 G.729 algorithm to optimize the research and implementation of ARM9 -based 60-74
5.1 optimization software platform to introduce 60 <br / > develop nbsp 5.2 optimization programs ; 60-61
5.3 C language level optimization 61-63
5.3.1 function optimization 61-62 <br / > 5.3.2 using inline function 62
5.3.3 remove additional overflow checking type 62-63
5.3.4 Changing variables 63 <br / > 5.4 assembly-level optimization 63-69
5.4.1 ARM9 pipeline analysis 63-64
5.4.2 ARM9 assembly instructions 64-65 <br / > 5.4.3 assembler level optimization specific implementation optimize 65-69
5.5 algorithm level 69-71
5.5.1 LSP vector quantization optimization algorithm 69 -71
5.5.2 coarsening of the open-loop pitch search 71
5.6 results and analysis 71-73
5.7 Summary 73-74
Chapter 6 summary and Outlook 74-76
References 76-79
Thanks published study for a degree during the 79-80
papers 80
Related dissertations
- Porting and Optimization of G.723.1Algorithm for ARM Platform
- Research and Realization of G.729Speech Codec Algorithm Based on ZSP500
- Research on the Optimization of the System of Urban-rural Integrated Residents Social Pension Insurance of Laiwu City
- Optimization Study of a Insurance Company Ningxia Branch’s Business Structure
- The Optimization of Fund Contract in the Perspective of Governance Structure
- The Personal Loans Centre Process Optimization Study of Ccb Shaanxi Branch
- Research on Optimization of commercial bank loans business processes Chinese micro enterprise
- Optimization of Commercial Bank Credit Rating Index System for SMEs
- An Optimization Study on Proscenium Support Facilities of Commercial Banks on Queuing Theory
- The Credit Process Optimization of A Bank
- The branches of commercial banks, credit risk management process - a case study of A bank D branch cases
- The Research of Mode of Corporate Governance of China’s Trust Industry Defect and Optimization
- Under the New Situation of the International Monetary System Unbalance Influence on China’s Foreign Exchange Reserves and Its Optimization
- The Study on Constructing Harmony in Urban Communities
- An Investigation of the Management System of Yancheng Local Tax Inspection
- Based on the Subjective Well-being to Optimize the China’s Rural Public Expenditure
- Research on China’s Tax Cost and Optimization
- Analysis on Tax Scale Optimization of Liaoning Province
- Study on the optimization of tax system of China's current stock market
- The Optimal Decision of Slotting Fee and Percentage of Revenue under the Consignment Model