Research of MPEG-4 AAC Codec Based on Risc
- Author
- MeiYouLiang
- Advisor
- LiuPeng
- School
- Zhejiang University
- Major
- Communication and Information System
- Classification
- TN919.81 Image coding
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 337
- Citations
- 5
Abstract
As a digital audio compression standard, MPEG-2/4 AAC(Advanced Audio Coding) already becomes the core algorithm of the high quality audio coder of the MPEG-4 Standard, and represents the trends of perceptual audio coding technology. To the multi-channel audio signals, MPEG-2/4 AAC can offer extremely high quality audio with bitrate at 64kbps per channel, so it can be applied in many fields.MPEG-2/4 AAC is one of the Hi-Fi audio coding standards, many state-of-arts coding tools, such as Modified Discrete Cosine Transform (MDCT), Time Domain Prediction, Temporal Noise Shaping, and so on, are consisted in this standard. The psychoacoustic model of humanity auditory system and information statistic theory are utilized to get maximum compress bitrate with the precondition of perfect reconstruct quality. For different application fields and software/hardware configuration, MPEG-2/4 AAC can provide different coding/decoding profiles. Different coding tool in different profile requires different computational complexity and memory size. So MPEG-2/4 AAC can provide all-round solutions to the storage and transfer of Hi-Fi audio. This dissertation is target for design an audio codec base on single MCU, and providing a low power, low cost, extensible audio solution.In this dissertation, the MPEG-4 AAC coder is selected as the research target, especially focused on the very computational consuming modules, such as psychoacoustic analysis, filterbank, quantization and coding module of perceptual audio coding technology. The highest computational complexity is the quantization and coding module. It is based on the "two iteration loop" algorithm: the scalefactors are adjusted in different direction by the outer/inner loop, eventually converge on the state of the consumation of coded bit under the constraint of bit reservior and the quantization noise under the signal masking threshold. For the reason of reduction in the numbers of two iteration loops, the initial value and the adjustment algorithm of scalefactors are modified. The coding module is extracted from inner iteration loop to improve coding efficieny. There has a same funtion module in psychoacoustic analysis module and filterbank module, which can transfer the time domain signal to frequency domain, has higher computational complexity. Just one of them is selected in this optimized coding scheme, the procedure of psychoacoustic analysis module is also modified for coding efficiency.MCU selection is the foundation of audio codec. The fundamental instruction set architecture and system architecture of processor RISC3201 are firstly introduced in detail in the 3th part of this dissertation, the aids of multimedia instruction set extension to the improvement of multimedia adaptation is also presented. Then the general procedure and technique of audio implementation on a fixed point system are proposed. At last, the function and characteristic of each module of the MPEG-4 AAC LC profile decoder are analyzed. The fix-pointed decoder algorithm and its optimized implementation are provided, with concerned decode results; the scheme of optimization in assembly style based on RISC3201 and decoder results are also provided.At last, the platform of hardware decoder implementation based on FPGA with the multimedia processor core RISC3201 is discussed in detail. On this platform, the MPEG-4 AAC LC test bitstream can be decoded in real time. The average instruction and average cycle time of decode one audio frame are obtained too. Finally, the instruction set extension which can improve audio decoder efficiency based on RISC3201 microprocessor is putted forward.
Table of contents
Abstract 3-4
ABSTRACT 4-5
directory 5-7
The first chapter 7-15
1.1 The general principles of perceptual audio coding 7-8
1.2 MPEG audio coding method 8-11
1.2.1 MPEG-1/2 Layer Ⅲ 8-9
1.2.2 MPEG-2/4 AAC: 9-10
1.2.3 MPEG-4 audio coding : 10-11
1.3 MPEG audio decoding method 11-13
1.3.1 MPEG-1/2 Layer Ⅲ: 11
1.3.2 MPEG-2/4 AAC 11-12
1.3.3 MPEG audio decoder status 12-13
1.4 RISC features 13-14
1.5 The main research work and content arrangement 14-15
Chapter . AAC audio coding algorithm optimization 15-27
2.1 psychoacoustic analysis modules : 15-19
2.2 analysis filter bank (Filter Bank) and the window switch (Window Switching) 19-20
2.2.1 MDCT and TDAC 19-20
2.2.2 MDCT frequency selective and adaptive window selection techniques 20
2.3 Quantization and noiseless coding module (Quantization and Noiseless Coding) 20-22
2.3.1 nonlinear quantization 21
2.3.2 noiseless coding 21
2.3.3 iterative process 21-22
2.4 fast encoding scheme proposed 22-26
2.4.1 psychoacoustic analysis module 22-24
2.4.2 analysis filter bank 24
2.4.3 quantization and coding module 24-25
2.4.4 Quick AAC encoding architecture 25-26
2.10 Summary 26-27
The third chapter is based on 32-bit RISC core audio decoding research 27-43
3.1 RISC3201 introduction 27-29
3.1.1 RISC3201 instruction set 27-29
3.1.1.1 RISC3201 basic instruction set 28
3.1.1.2 multimedia instruction extensions 28-29
3.1.2 RISC3201 pipeline structure 29
3.2 sentinel system's audio decoding process 29-30
3.3 AAC decoding process and algorithm optimization 30-40
3.3.1 AAC decoding module description 30-31
3.3.2 bitstream demultiplexing module 31-33
3.3.2.1 bitstream buffer size 31
3.3.2.2 bitstream buffer operation 31-33
3.3.3 noiseless decoding module 33-36
3.3.3.1 AAC syntax specification 33-34
3.3.3.2 noiseless decoding module optimization 34-36
3.3.4 inverse quantization module optimization 36-37
3.3.5 scaling factor scaling and de-interleaving module 37
3.3.6 joint stereo decoding module 37-38
3.3.7 PNS decoding module 38
3.3.8 TNS decoding module 38-39
3.3.9 filter bank module 39-40
3.3.10 fixed-point algorithm based on the C language decoder 40
3.4 decoder optimized assembly language 40-42
3.4.1 loop unrolling 40-41
3.4.2 Zero optimization 41
3.4.3 multiplication optimization 41-42
3.4.4 optimized computational complexity Statistics 42
3.5 Summary 42-43
Chapter audio decoder and audio decoder built instruction extensions 43-55
4.1 Constructing RISC3201 core decoding system 43-47
4.1.1 audio decoding results 45-47
4.2 -based application-specific instruction extensions 47-48
4.2.1 Directive extends the basic principles 47
4.2.2 Instruction Extension Method 47-48
4.3 audio decoding based instruction extensions 48-54
4.3.1 bitstream decoding module instruction extensions 49-51
4.3.2 arithmetic part instruction extensions 51-54
4.3.2.1 multiply instruction format adjustment 51-52
4.3.2.2 Media register access instruction extensions 52-53
4.3.2.3 arithmetic logic instruction extensions 53-54
4.4 Summary 54-55
Full Summary 55-56
References 56-60
Master of papers published during 60
Master of participation during the research work 60-61
Thanks 61
Related dissertations
- Research on Audio Coding/Decoding Algorithm and Hardware/Software Codesign
- A Design and Implementation of AVS Audio Decoder Based on Hardware and Software Cooperation
- Investigation and Improvement of MPEG-2 AAC Codec
- Research of Audio Decoding Theory and Design of Audio Decoder in DRM System
- Research and Implementation of Model Machine Based on Combinational Logic Controller
- Design and Optimization of the Pipeline for the64-bits RISC Stream Core
- The Research and Design of RISC Microprocessor Soft Core
- The Design and Realization of Instruction Memory Management Unit in RISC Microprocessor
- Porting and Optimization of AAC-LC Algorithm for X86and ARM Platforms
- PSMC3and DFFA Regulate the RNAi Through Interaction with Human Argonaute2
- Study on Bombyx Mori Protein BmAGO2-binding RNA
- The Study on Embedded Video Surveillance Server
- Linux operating system on the ARM hardware platform transplantation
- The Study of Digital Audio Watermarking Based on Broadcast&TV monitoring
- The Research on Information Hiding in MPEG-2/4Advanced Audio Coding(AAC)
- Design and Research on Microprocessor Unit Based on32-Bits RISC Architecture
- Design of a 32-Bit Embedded RISC Microprocessor Based on FPGA
- Research and Design of Integer Arithmetic and Control Unit for RISC Processor
- Automatic Platform for Parameterized Design of ASIP
- The Design and Implementation of32Bits RISC MCU Based on ARMV4Instruction Set