The Research and Realization of AC-3 Audio Encoding Algorithms
- Author
- LiXin
- Advisor
- GuoChengMing
- School
- Tianjin University
- Major
- Signal and Information Processing
- Classification
- TN912.3 Speech Signal Processing
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 107
- Citations
- 3
Abstract
AC-3 is a digital audio coding technology developed by Dolby Lab in the early 1990s. By adopting this technology, 5 full frequency band channels and a low frequency effect channel can be transferred or stored, while the space required is less than one channel linear PCM data in CD. So AC-3 technology has been widely adopted for the audio codec in DVD films, HDTV, digital movies, etc. Currently, the study on the realization of decoder is very mature, but concerning to the specific study on the encoding technology of AC-3, the achievement is rather limited. Therefore, this paper mainly disusses on several relative issues of AC-3 encoding.This thesis firstly describes the core encoding technology of the AC-3 standard, and realizes the encoder and decoder by C language, transplants C codes to the DSP developing platform TMS320DM642EVM and TMS320C6713DSK. The audio information is collected and coded in DM642. Then coded audio stream is transferred to C6713DSK through the serial port, and decoded in real-time. So AC-3 audio codec system is established finally.This paper mainly focuses on the analysis of the encoding algorithm of AC-3. Firstly, the framework of the encoder is accomplished. Secondly, the core arithmetic modules in AC-3 encoder are discussed in detail, including input PCM, analysis filter band, coupling technology, rematrix, encode exponent, bit allocation, quantize mantissas and pack AC-3 frame. Thirdly, the key modules are optimized in order to improve coding quality and increasing coding speed: the N point MDCT fast algorithm by N/4 point FFT is utilized, and realized by the assembly language. A new method based on the quantitative analysis is proposed so that the bit allocation can be accomplished more quickly under certain accuracy and a great amount of time can be saved. With the coupling module, the encoder can process the multi-channel audio in a low bit stream rate.The encoder algorithm is transplanted and optimized based on DM642 hardware platform. Now the encoder is passed through the subjective test which includes 12 test sequences, with 128kbps bit stream rate the average MOS point is 3.88. For the moment the encoder can run real-time on DM642 platform at 112 MHz for two-channel audio coding.
Table of contents
Abstract 3-4
ABSTRACT 4-7
first chapter 7-13
1.1 Introduction 7
1.2 digital audio encoding standard 7-10
1.3 the Dolby AC-3 development and characteristics of 10-11
1.4 topics significance 11
1.5 thesis research content and arrangement of the chapters 11-13
the second chapter of AC-3 audio coding algorithm for 13-36
2.1 the AC-3 system structure 13-15
2.2 the AC-3 audio coding key technology 15-35
2.2.1 Input PCM 15-17
2.2.2 Filter Bank 17-21
2.2.3 Coupling Module 21-24
2.2.4 Matrix reset 24-25
2.2.5 index coding 25-27
2.2.6 Bit Allocation 27-34
2.2.7 mantissa quantization and frame generated 34-35
2.3 Summary 35-36
the third chapter of transplantation and optimization of the DM642EVM AC-3 encoder 36-48
3.1 TMS320DM642EVM platform introduced 36-40
3.1.1 on TMS320DM642 hardware structure 36-38
3.1.2 TMS320C64 core performance 38-39
3.1.3 TMS320DM642 platform developed by CSL and BSL library 39-40
3.2 DSP hardware platform optimized 40-47
3.2.1 C code performance optimization 41-42
3.2.2 compiler to use 42-43
3.2.3 Inline functions 43
3.2.4 compilation optimization 43-47
3.3 Summary 47-48
Chapter AC-3 audio codec system implementation 48-69
4.1 audio signal acquisition and encoding 48-58
4.1.1 TLV320AIC23B high-quality audio chip introduced 48-49
4.1.2 AIC23B configuration and use 49-52
4.1.3 McASP configuration and use 52-53
4.1.4 using the EDMA to read the sampled data 53-55
4.1.5 using the ping-pong buffer to achieve the coordination of data collection and coding 55-58
4.2 audio data to send and receive 58-65
4.2.1 McBSP multi-channel buffer port 58-59
4.2.2 the McBSP control registers 59-62
4.2.3 communication scheme choice 62
4.2.4 specific communication program 62-65
4.3 audio decoding and real-time playback 65-68
4.3.1 audio digital-analog conversion chip AIC23 65-66
4.3.2 audio decoding and playback of the coordination 66-68
4.4 Summary 68-69
Chapter V AC-3 audio encoder performance analysis 69-72
5.1 AC-3 audio encoder quality assessment 69-70
5.2 the AC-3 audio encoder performance evaluation 70-72
Conclusion 72-73
References 73-75
published papers and research note 75-76
Acknowledgements 76
Related dissertations
- Research on the Misty and Smoggy Image Processing Based on DSP
- The Research of Swing Tracking Technology on Autocollimation Measurement
- Research on the Iris Recogniton System Based on DSP
- The System Design of Audio Decoding Based on CPU CK610
- The Implementation and Optimization of MPEG-4AAC Codec Based on the DM642Platform
- Design of a Lane Departure Warning System Based on DM642
- Design Implementation of Video Sureillance System Based on H.264
- Research and Realization of Moving Object Detection Algorithm Based on DM642
- Design and Implementation the System of Urban Traffic Peccancy
- Research and Design of the a Column Blind Spot Elimination System Based on TMS320DM642
- A Hand-shape Image Acquisition and Processing System Based on DSP
- Research on Pedestrian Detection for Assistance System on Vehicle
- Research on Iris Recognition Device
- Research on Road Pedestrian Recognition Algorithm Based on DSP for Driver Assistance System on Vehicle
- Research of Acquisition and Recognition System Based on Hand Features
- Research on Detection and Tracking of Moving Object in Video Sequences
- Design and implementation of a platform for video image processing based on TMS320DM642
- Design and Implementation of Underwater Video Acoustic Transmission System
- Design of and Research on DSP-Based Video and Audio Processing System
- Research on the real time transmission of multi-channel audio based on IP