Design and Implementation of MPEG-4Video Decoder Based on Multi-Core Architecture
- Author
- YuXin
- Advisor
- RongMengTian
- School
- Shanghai Jiaotong University
- Major
- Circuits and Systems
- Classification
- TN919.81 Image coding
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 22
- Citations
- 0
Abstract
In this paper a brief introduction is firstly given about video codectechnology and commonly used implementation schemes as well as theiradvantages/disadvantages respectively. The features and codec procedureof a widely used video standard, MPEG-4AS Profile, are described withXvid codec model. SOC platform based on LEON3micro-processor andthe corresponding tool chains are also introduced.In this paper, Xvid software model is transplanted to LEON3platform,the percentage of CPU resource occupied by every functionblock during decoding process is given according to decodingperformance test on above system. With the design target of decodingCIF format video in time, taking all fators such as speed, bandwidth,implementation complexity, flexibility and extendibility into account,hardware/software(S/H) co-design method and detailed partition schemeare determined based on computing and analysis. The traditional S/H co-design method that CPU and hardwareacceleration blocks are connected via system bus to communicate, willbring high pressure on system bus bandwidth and is not suit for theapplication as video decoding that has tough demand on data transfer. Inorder to resolve this problem, the architecture of CPU andmulti-coprocessors is proposed in this paper, coprocessors could direclyaccess off-chip memory rather than via system bus. Application specificmodule of coprocessor controller CPC is designed with the principle of“Single Instruction, Multiple Data”, picture level S/H co-design isimplemented between CPU and CPC using coprocessor isntruction whilemacro block level pipelined decoding of two coprocessors (i.e., IDCT-CPand MP-CP) are processed under the control of internal command sent byCPC after decoding the coprocessor instructions. In this paper, thearchitecture of decoder, decoding procedure of S/H co-design as well asdata/control flow on system level is described in detail. A scheme“two-plane storage”, which is used for storing decoded result of referencepicture and could significantly enhance the usage efficiency of storagebandwidth, is proposed after analysis and evaluation of system storagebandwith needed.On the basis of architecture scheme, detailed design andimplementation are carried on the aspects of software, hareware and S/Hco-design. On software side, the blocks with decoding function are further optimized on code struction, data interface and algorithms, theperformance could be improved by46.69%afterwards. On hardware side,comprehensive design and implementation schemes of IDCT-CP andMP-CP are addressed on function, operation procedure, interface signalsand timing, bandwith performance analysis, command word definition aswell as detailed implementation of every sub-module. On S/H co-designside, system control softeware is designed to overall control the wholedecoding process by the method of directing coprocessors withcoprocessor instructions; a dedicated block CPC, which behaves as aninterface, is designed to coordinate and communicate between softwareand hardware.During the design process, reuseability and extendibility are alwaysimportant factors taken into account in this paper. Designing theindependent coprocessor controller CPC with separate detailedcoprocessor functions from control software so that the decoder is mucheasier to transplant to other platforms. MP-CP has three independentoperation modes: normal mode, bypass mode and software mode, whichhave different command words and S/H partitions to apply to differentapplications with different features. In the process of motion prediction,dedicated Cache with the replace algorithm “Distance Flag” is designedto aim to the feature of motion prediction, with it the amount of usage ofstorage bandwidth during motion prediction will be decreased by about 20%according to the test result. A unified off-chip memory interfaceblock MCI is designed to provide all of the modules that need transferdata with off-chip memories the standard access interface and timingprotocol, that could improve the extendibility of the system.At last, the decoder implemented with Verilog HDL is integratedinto SOC platform, and is taken a series of function verifications andperformance tests. According to the test result, all the funtions of thedecoder are correct, the decoding speed for CIF format video steam couldbe up to60frames per second at the clock frequency80MHz,, and itsperformance is about4-6times compared to the status before hardwareaccelerating, that fully meets the scheduled perfanmance target.Meanwhile, the design parameters such as speed, area and power arederived from the logic synthesis using130nm target library. The designeddecoder in this paper has an excellent performance/cost ratio compared tothe reference designs.
Table of contents
Summary 6-9
ABSTRACT 9-19
first chapter background and significance 19-22
1.1 topics 19 summary of the work
1.2 topics contents and structure 19-20
1.3 herein arrangements 20-22
Chapter II background Introduction 22 - 37
2.1 video codec technology and implementation Introduction 22-26
2.1.1 video codec technology 22-25
2.1.2 video decoding program analysis 25-26
2.2 MPEG-4 ASP technical Analysis 26-30
2.2.1 MPEG-4 standard profiles 26-27
2.2. 2 MPEG-4 ASP encoding tools 27-28
2.2.3 MPEG-4 ASP decoding process 28-30
2.3 Xvid software model analysis 30 -33
2.3.1 MPEG-4 codec model Introduction 30
2.3.2 MPEG-4 Xvid analysis 30-31
2.3.3 MPEG- 4 Xvid optimization strategy 31-33
2.4 SOC platform Introduction 33-36
2.4.1 Leon3 CPU and its development kit About 33-34 <br / > 2.4.2 AMBA bus system introduced 34-35
2.4.3 SOC platform to introduce 35-36
2.5 Summary 36-37
Chapter III architecture design 37-54
3.1 software partitioning scheme 37-41
3.1.1 software partitioning basic principles 37 <br / > 3.1.2 Xvid porting and performance testing 37-40
3.1.3 task-level hardware and software partitioning scheme 40-41
3.2 system architecture solutions 41-45
3.2.1 hardware implementation to determine 41-42
3.2.2 architecture block diagram of 42-44
3.2.3 decoding process description 44-45
3.3 system-level control flow and data flow 45-48
3.3.1 system control flow 45-46
3.3.2 system data Flow 46-48
3.4 decoded data storage formats and system memory bandwidth 48-53
3.4.1 decoded data storage format 48-52 <br / > 3.4.2 decoder memory bandwidth analysis 52-53
3.5 Summary 53-54
Chapter collaborative software design and hardware realization 54 - 66
4.1 decoder software design 54-59
4.1.1 system-level control software design 54-56
4.1.2 decoding software design and optimization 56-59
4.2 software co- design 59-65
4.2.1 software co mechanisms described in [27] 59
4.2. 2 CPC interface design 59-63
4.2.3 CPC function realization 63-65
4.3 Summary 65-66
Chapter Association design and implementation of the processor design and implementation 66-96
5.1 IDCT-CP of 66-74
5.1.1 functional Overview 66-67
5.1.2 IDCT-CP interface signals 67-68
5.1.3 bandwidth performance requirements analysis 68
5.1.4 detailed implementation plan 68-74
5.2 design and Implementation of MP-CP of 74-94
5.2.1 functional Overview 74-76
5.2.2 performance analysis bandwidth requirements 76-79
5.2.3 MP-CP three operating modes described 79-82
5.2.4 Interface signal Description 82-86
5.2.5 MP -CP command word format 86-89
5.2.6 detailed design 89-94
5.3 Summary 94-96
Chapter VI system Storage solutions designed 96-107
6.1 motion prediction Cache (MPC) design 96-100
6.1.1 MPC Overview 96-97 <br / > 6.1.2 MPC design ideas 97-99
6.1.3 MPC implementation 99-100
6.1.4 MPC performance evaluation 100
6.2 external Memory controller Interface Unit (MCI) design 100-105
6.2.1 MCI block diagram of 100-101
6.2.2 MCI interface signals described 101-105
6.2.3 MCI features 105
6.3 Summary 105-107
Chapter VII of the functional verification and performance testing 107 -116
7.1 verification platforms and programs 107-109
7.1.1 verification Platform Description 107-108
7.1.2 authentication scheme 108 - 109
7.2 decoder function test 109-111
7.2.1 functional Test method 109
7.2.2 function test results 109-111
7.3 decoder performance testing 111-114
7.4 logic synthesis results 114-115
7.5 Summary 115-116
eighth Chapter summary and Outlook 116-119
8.1 paper summarizes 116-117
8.2 outlook and Prospects 117-119
References 119-124
Thanks published during 124-125
pursue a degree academic catalog 125
Related dissertations
- MPEG-4 Video Decoder Co-design of Hardware and Software Based on Mobile Phone Multimedia SOC
- ARM-based MPEG-4 video decoding realization and optimization
- Realization and Optimization of MPEG-4 Video Decoder based on SOC
- TMS320DM642-based MPEG-4 video codec Research and Implementation
- Research and design of the MPEG-4 decoder based on the embedded Linux operating system
- With the Implementation of Multi-channel Audio and Video Monitoring System Based on ARM-Linux
- Design of portal crane video monitoring system based on Ethernet
- Bandwidth-Aware Cache Modeling and Partitioning Strategy Based-on Video Scenarios
- Design and Implementation of H.265-based Software Decoding Platform
- Adaptive Motion Estmation Search Algorithm for Video Compression Technology Based on MPEG-4
- Porting and Optimization of AAC-LC Algorithm for X86and ARM Platforms
- A Design for Remote Video Monitoring System in Network Laboratories
- The Research and Design of Embedded Video Monitoring System Base on ARM
- Study on Video Segmentation Based on Gray Correlation and NS Spatio-Temporal Combination
- Voice Driven Animation System of Face and Mouse
- Research on Shape Error Concealment Techniques of Video Object Based on MPEG-4
- Design and Implementation of the Multi-site and Multi-channel High-definition Video Monitoring Center
- SOPC industrial endoscope mirror image acquisition and processing system design and Implementation Based on
- A Gpu Accelerated Algorithm for Compressive Sensing Based Video Super-resolution
- Design and Research of Video Codec with Hardware Based on Android