Implementation and Optimization of the Codec in the IP Phone Terminal Based on MCF5249

Author
ZhangWei
Advisor
DingPengLin
School
Tianjin University
Major
Communication and Information System
Classification
TN76 Modulation technique and the modulator,demodulator and the demodulator
Degree
Master's thesis
Year
2006
Downloads
62
Citations
0

Request the full text

Abstract

IP telephony is the use of the Internet to transmit voice communication, with the advantage of low prices . Under the impetus of the Internet technology , IP telephony is being more and more attention. This paper presents a ColdFire V2 core based IP telephone terminal implementations and hardware platforms in M5249C3 a G.723.1 voice codec implementation and optimization. MCF5249 chip processor operating frequency is 140MHz, integrated a eMAC ( enhanced multiply-accumulate unit ) coprocessor can be performed simultaneously four multiply accumulate operations , that is, a machine cycle can be completed four data multiply-accumulate operations. In some applications can replace the MCU DSP dual-core solution , reducing hardware design complexity and cost . ITU-T G.723.1 International Telecommunication Union developed 5.3kbit / s and 6.3 kbit / s dual rate speech coding recommendations multimedia communications were predicted using algebraic codebook excitation (ACELP) algorithm and multi-pulse Maximum Likelihood Quantization (MP- MLQ) algorithm . The code recommends widely used in multimedia communications, cellular mobile communications and IP telephony and other fields. The difficulty lies in this topic G.723.1 codec required large amount of computation , while the MCF5249 's eMAC instruction set and library functions without DSP abundant. In this thesis study the G.723.1 voice compression protocol , based on the specific characteristics for the ColdFire architecture to ITU-T provides the source as the basis for the G.723.1 speech codec algorithm -level optimization and assembly -level optimization , and the voice codec ported to μClinux operating system . Optimized G.723.1 voice codec is real-time call.

Table of contents

Abstract 3-4 ABSTRACT 4-7 first chapter 7-12 1.1 IP Phone Introduction 7 1.2 IP telephony development process 7-8 1.3 IP telephony prospects 8 1.4 IP phone key technology 8-11 <br / > 1.4.1 Signaling Technology 8-9 1.4.2 coding technology 9 1.4.3 Real-time transmission technology 9-10 1.4 1.4 Quality of Service (QoS) assurance techniques 10 1.4.5 network transmission technology 10 1.4.6 Other key technology 10-11 1.5 project tasks 11-12 Chapter IP telephone terminal design 12-20 2.1 IP telephone terminal design Introduction 12-13 2.2 MCU + DSP program 13-14 2.3 ColdFire programs 14-15 2.4 MCF5249 introduction 15-20 2.4.1 MCF5249 chip features 15-17 2.4.2 Programming mode 17-18 2.4.3 hardware multiply-accumulate unit 18-20 Chapter voice coding decoder 20-33 3.1 voice codec function 20 3.2 Classification of voice codecs 20-22 3.2.1 Waveform Coding 20 3.2.2 parametric coding 20-21 3.2.3 hybrid coding 21 3.2.4 Comparison of several speech codecs 21-22 3.3 ITU-T G.723.1 standard 22-33 3.3.1 Standard Profile 22 3.3.2 Input Signal 22 3.3.3 encoding process 22-31 3.3.4 decoding process 31-33 Chapter IV Implementation and Optimization nbsp G.723.1 ; 33-47 4.1 G.723.1 implementation on the ColdFire 33 4.2 algorithm-level optimization 33-38 4.2.1 op-consuming analysis 34 4.2.2 optimized for multiply-add operations 34-36 4.2.3 to reduce the number of search optimization 36-37 4.2. 4 instead of an array with a pointer operations update 37-38 4.2.5 remove redundant part 38 4.3 assembler level optimization 38-43 4.3 .1 assembler program 38-40 4.3.2 optimized instruction with eMAC 40-41 4.3.3 with 32bit instead of 16bit operating operating 41-42 4.3.4 loop unrolling 42 4.3.5 on structure optimization 42-43 4.3.6 assembler debugging process Some experience 43 4.4 to μCLinux transplanted 43-47 4.4.1 modify the compiler differences between 43-45 4.4.2 Linux under the program cross-compiler and debugging 45-47 Chapter optimization results and performance testing 47-52 5.1 test vectors 47-48 5.2 algorithm-level optimization test 48 5.3 assembler level optimization test 48-50 5.4 Voice Test 50-51 5.5 Optimization Evaluation 51-52 5.5.1 Space required from the program perspective 51 5.5.2 from a program running speed run 51-52 Conclusion 52-53 References 53-56 Thanks 56

Related dissertations

  1. Porting and Optimization of G.723.1Algorithm for ARM Platform
  2. Optimization of G.723.1 Speech Codec Based on MCF5249
    ZhangPing ·Tianjin University ·2006 ·Master's thesis
  3. Implementation and Optimization of Audio Codec Based on Embedded μClinux OS
    QiaoGuangJun ·Tianjin University ·2006 ·Master's thesis
  4. Research on the Optimization of the System of Urban-rural Integrated Residents Social Pension Insurance of Laiwu City
    HaoXiaoJuan ·Shandong Agricultural University ·2013 ·Master's thesis
  5. Optimization Study of a Insurance Company Ningxia Branch’s Business Structure
    SunZuo ·Ningxia University ·2014 ·Master's thesis
  6. The Optimization of Fund Contract in the Perspective of Governance Structure
    YaoZhuangLong ·Central South University ·2013 ·Master's thesis
  7. The Personal Loans Centre Process Optimization Study of Ccb Shaanxi Branch
    LiuMing ·Northwestern University ·2012 ·Master's thesis
  8. Research on Optimization of commercial bank loans business processes Chinese micro enterprise
    ZhouXiaoDan ·Inner Mongolia University ·2013 ·Master's thesis
  9. Optimization of Commercial Bank Credit Rating Index System for SMEs
  10. An Optimization Study on Proscenium Support Facilities of Commercial Banks on Queuing Theory
    ChenMei ·Harbin Institute of Technology ·2012 ·Master's thesis
  11. The Credit Process Optimization of A Bank
    WangHe ·Liaoning University ·2012 ·Master's thesis
  12. The branches of commercial banks, credit risk management process - a case study of A bank D branch cases
    JinYanXin ·Yunnan University of Finance ·2013 ·Master's thesis
  13. The Research of Mode of Corporate Governance of China’s Trust Industry Defect and Optimization
    HuZuo ·East China Normal University ·2013 ·Master's thesis
  14. Under the New Situation of the International Monetary System Unbalance Influence on China’s Foreign Exchange Reserves and Its Optimization
    LinLeTing ·Dongbei University of Finance ·2013 ·Master's thesis
  15. The Study on Constructing Harmony in Urban Communities
    ZhaoZuoZuo ·Yanshan University ·2012 ·Master's thesis
  16. An Investigation of the Management System of Yancheng Local Tax Inspection
    YanXueJun ·Suzhou University ·2012 ·Master's thesis
  17. Based on the Subjective Well-being to Optimize the China’s Rural Public Expenditure
  18. Research on China’s Tax Cost and Optimization
  19. Analysis on Tax Scale Optimization of Liaoning Province
    LuZuoZuo ·Shenyang University ·2013 ·Master's thesis
  20. Study on the optimization of tax system of China's current stock market
    WangBing ·Capital University of Economics ·2014 ·Master's thesis