Digital signal processor (DSP) optimization method based on G729 speech compression coding algorithm

A technology of compression coding and optimization method, applied in speech analysis, instruments, etc., can solve problems such as difficult embedded real-time application and high algorithm complexity

CN102903366AInactive Publication Date: 2013-01-30CHONGQING UNIV
0 Cites 8 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2013-01-30
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

A digital signal processor (DSP) optimization method based on a G729 speech compression coding algorithm is characterized by comprising the following steps: using a DSP software development environment of a CCS version 3.3, transplanting an open-source source code of the G729 speech coding algorithm to TMS320C55X, and successfully performing speed coding; performing improvement of a polynomial rooting algorithm on a linear predictive coding (LPC) stage of the algorithm, optimizing a search algorithm of a codebook at a search stage of the fixed codebook, and simplifying the distance searching process in the calculation process of a vector distance; arranging a compiler; and rewriting some module functions sequentially on the C language level and the assembling level. The DSP optimization method has the remarkable advantages that the coding time is short, and difficulty of multichannel voice in real-time coding on a DSP can be overcome.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to an optimization technology based on an embedded speech compression algorithm. The real-time control of multi-channel voice is realized on TMS320C55X series DSP, and the voice compression coding protocol is G729. technical background

[0002] Digital voice communication is the fastest growing and most popular service in the current information industry. The digitization of mobile communication has expanded channel capacity, improved service quality, and promoted the rapid development of this industry. Compared with analog voice, digital voice has the advantages of strong anti-interference, good confidentiality, convenient management and control, and low production cost. With the development of society, people have higher and higher requirements for communication. P2P voice communication technology has been very mature, but in more and more occasions, people have one-to-many, many-to-many voice communication needs. At the sam...

Examples

Embodiment Construction

[0077] Install the DSP software development environment on the PC, using CCS3.3 version. Transplant the open source code of G729 speech coding algorithm to TMS320C5502. In order to examine the operating efficiency of the C code after transplantation, the Profiler tool that comes with CCS is used to analyze the operating efficiency of the codec function, so as to provide effective guidance for optimization. The analysis results are shown in Table 1.

[0078]

[0079] LPC Phase 1 LPC Phase 2 LPC Phase 3 Fixed codebook search phase parameter encoding The number of clocks required to encode a frame 2864870 2473685 2187140 8371690 40478780

[0080] Table 1 Execution time occupied by each part of the encoder before algorithm optimization

[0081] Through analysis, it is found that most of the encoding time is spent on LPC analysis, codebook search, especially the fixed codebook search stage, and vector quantization, so algorithm optimization is ...