Optimization of H.264 Video Coding Algorithm and Data Memory Organization for Decoder
- Author
- JiangQiaoWei
- Advisor
- LiuPeng
- School
- Zhejiang University
- Major
- Information and Communication Engineering
- Classification
- TN919.81 Image coding
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 296
- Citations
- 4
- H.264
- motion compensation
- Motion Vector Estimation
- multi-frame prediction
- memory organization
- Optimization
Abstract
H.264/AVC is the video coding standard developed by ITU-T Video Coding Experts Group and the ISO/IEC Moving Picture Experts Group, which achieves enhanced compression performance and provides a "network-friendly" video representation. However, these advantages are obtained at the cost of increased computational complexity, which has more requirements on the storage and processing capability of the hardware.Motion compensation is a key component of a hybrid video coding standard such as H.264 and it can effectively remove the redundance of successive video signals. As motion estimation at quarter-pixel accuracy with variable block sizes and multiple reference frames is adopted, the computational complexity of motion estimation is increased largely and it can consume 60% (1 reference frame) to 80% (5 reference frames) of the total encoding time of H.264 codec. In order to reduce the computational complexity of H.264 codec, this paper focuses on the research work of algorithms on fast motion estimation, and new algorithms on fast motion vector estimation and multi-frame prediction are proposed respectively. They are line prediction based pseudo-diamond search (LPPDS) algorithm and spatial prediction based multi-frame selection algorithm.Small diamond search pattern (SDSP) is adopted in the line prediction based pseudo-diamond search algorithm. The algorithm first chooses the prediction point with the munium distortion as the initial search point to apply one step of SDSP search, then performs the line prediction to find the best center points of each step of diamond search, so that the best intetger position can be found in fewer steps. At the same time, the new algorithm can be used with many fractional pixel search algorithms well to reduce the computational load of the whole motion estimation. Simulation results demonstrate that the proposed LPPDS algorithm provided a search points reduction in average of about 50% compared with diamond search algorithm while keeping almost the same compression ratio and picture quality.In the spatial prediction based multi-frame selection algorithm, best reference frames of the neighbouring blocks are used to predict the best reference frame for current block, these frames are considered as the reference frame candidates of current block. The best reference frame is only selected from the candidates to reduce the computational load of multi-frame selection. At the same time an adaptive threshold for cost of motion estimation is adopted to reduce the probability that the selected reference frame is not the best. As a result the compression ratio and picture quality will be ensured.In this paper we also study the memory organization of H.264 decoder based on DSP. Memory organization is very important for the decoder software implementation based on DSP.Good memory organization will speed up data accessing and make the transplant of code on diferent plateforms easy. According to the storage capacity and the efficiency of data transfer between internal and external memory, double buffering technique is used in the memory organization of H.264 decoder. Simulation results demonstrate that the memory organization is reasonable.
Table of contents
Abstract 3-4
ABSTRACT 4-6
directory 6-8
chart Index 8-10
first a chapter of introduction 10-21
1.1 video compression coding principle and the main technical 10-11
1.1.1 entropy coding 10-11
1.1 .2 predictive coding 11
1.1.3 transform coding 11
1.1.4 other coding 11
1.2 digital video coding standard 11-13
1.2.1 H.261 12
1.2.2 MPEG-1 standard 12
1.2.3 MPEG-2/H.262 standards 12
1.2.4 H.263 standard 12-13
1.2.5 MPEG-4 standard 13
1.2.6 H.264/AVC standard 13
1.3 H.264/AVC adopt major new technology 13-17
1.4 codec optimized 17-18
1.4. an optimized background and purpose 17
1.4.2 H.264 encoder algorithm optimization 17-18
1.4.3 DSP-based H.264 decoder storage structure optimization 18
1.5 the content of this arrangement and the main contribution 18-21
Chapter fast motion vector search algorithm 21-36
2.1 fast integer pixel Sports Search algorithms 21-24
2.2 fast search algorithm sub- pixel motion Summary 24-26
2.3对diamond search algorithm 26-35 <br / > 2.3.1 first step to improve - to SDSP lieu DS 26-30
2.3.1.1 theoretical analysis 26-30
2.3.1.2 experimental results 30
2.3.2 Step improve 30-32
2.3.2.1 SDSP in the spatial orientation SAD 30-32
2.3.3 based the quasi- linear predictive diamond search algorithm 32-35
2.3.3.1 algorithm Description 32
2.3.3.2 advantages update times 32-34
2.3.3.3 The results 34-35
2.4 Summary 35-36
Chapter multiple reference frame prediction algorithm 36-51
3.1 multiple reference frame prediction algorithms 36-40
3.1.1 multiple reference frames full traversal patterns 36-37
3.1.2 fast multiple reference frame prediction algorithms 37-40
3.2 space -based predictive multiple reference frame selection algorithm 40-49
3.2.1 neighboring blocks between the best reference frame 41-42
3.2.2 algorithm Description 42-47
3.2.2.1 multiple Reference Frame candidate set setting 42-45
3.2.2.2 adaptive motion compensation costs threshold setting 45-47
3.2.2.3 algorithm steps 47
3.2.3 experimental results 47-49
3.3 chapter Summary 49-51
Chapter IV DSP-based H.264 decoder storage structure optimization 51-68
4.1 H.264 decoding when the current macroblock information exchange with neighboring blocks 51-54
4.2 based on reducing the neighboring block information storage space improvements 54-60
4.2.1 macroblock row caching mechanism and space requirements 55-56 < br /> 4.2.2 improved neighboring block storage mechanism and space requirements 56-58
4.2.3 neighboring block storage mechanism based decoder storage structure and data flow 58-60 < br /> 4.3 based on data handling and data parallelism to consider the second step of improvement 60-66
4.3.1 dual caching mechanism introduced 60-63
4.3. 2 double buffer structure based decoder storage structure 63-64
4.3.3 experimental results and analysis 64-66
4.3.3.1 experimental platform to introduce 64 -65
4.3.3.2 experimental results and analysis 65-66
4.4 Summary 66-68
Full Summary 68-70 <br / > References 70-73
master's degree of academic papers published during major 73
during the master's degree of participation in the research work 73-74 < br /> Thanks 74
Related dissertations
- VLSI Design of H.264/AVC Motion Compensation Arithmetic
- Research on Video Moving Object Segmentation Technology in the H.264Compressed Domain
- Research and Design of Motion Compensation in H.264 & AVS Video Decoder
- A Resolution of Video Image Stabilization Based on Gray-coded Bit-planes Matching
- Research on the Optimization of the System of Urban-rural Integrated Residents Social Pension Insurance of Laiwu City
- Optimization Study of a Insurance Company Ningxia Branch’s Business Structure
- The Optimization of Fund Contract in the Perspective of Governance Structure
- The Personal Loans Centre Process Optimization Study of Ccb Shaanxi Branch
- Research on Optimization of commercial bank loans business processes Chinese micro enterprise
- Optimization of Commercial Bank Credit Rating Index System for SMEs
- An Optimization Study on Proscenium Support Facilities of Commercial Banks on Queuing Theory
- The Credit Process Optimization of A Bank
- The branches of commercial banks, credit risk management process - a case study of A bank D branch cases
- The Research of Mode of Corporate Governance of China’s Trust Industry Defect and Optimization
- Under the New Situation of the International Monetary System Unbalance Influence on China’s Foreign Exchange Reserves and Its Optimization
- The Study on Constructing Harmony in Urban Communities
- An Investigation of the Management System of Yancheng Local Tax Inspection
- Based on the Subjective Well-being to Optimize the China’s Rural Public Expenditure
- Research on China’s Tax Cost and Optimization
- Analysis on Tax Scale Optimization of Liaoning Province