Realization and Optimization of a H.264 Encoder on DM642
- Author
- ChangNa
- Advisor
- XuFen
- School
- North China University of Technology
- Major
- Power Electronics and Power Drives
- Classification
- TN919.8 Image communication, multimedia communication
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 317
- Citations
- 2
Abstract
The H.264/AVC standard is a new generation video compression standard founded by ITU-T and ISO. There are four advantages with H.264. Firstly, it has a low bit-rate in comparison with MPEG2 compression technology. With the same quality, the data size generated by H.264/AVC is 1/8 less than that of MPEG2 code. Secondly, its highly sophisticated algorithms ensure rich details reserved even at the low bit-rates condition. Thirdly, it is highly fault tolerant, providing necessary tools to solve packet-loss and other errors caused by instability network Fourthly, it has network adaptive layer, making it more suitable for data transmission across different networks. The codec and the algorithms adopted in the implementation, however, are highly sophisticated.The main task of this paper is to introduce how to transfer and optimize the T264 encoder to DM642 platform. There are two levels to optimize the codec. The way of higher level use the conditional optimization provided by CCS and efficient function in IMGLIB, it is simple and effective; The way of lower level use intrinsics and linear assembly language, it improve the parallelism inherent in the H.264 encoder, but need deep understanding about DM642 and H.264.Our H.264 encoder can encode 35~50 frames per second for QCIF resolution video. And this encoder is used as a video server, it capture video from camera and send it to PC after code the image in DM642, At last a PC software will decode the data and display the video on screen.
Table of contents
Abstract 4-5
Abstract 5-9
Introduction 9-10
1 Introduction 10-14
1.1 video coding standard profiles 10-11
1.1.1 H.261 standard
1.1.2 MPEG-1 standard 10
1.1.3 MPEG-2 standard 10
1.1.4 H.263 standard 10-11
1.1.5 MPEG-4 standard 11
1.1.6 H.264 standard
1.2 H.264 Research and application and development direction 11-14
2 H.264 video coding technology 14-26
2.1 video encoding technology overview 14
2.2 video encoding necessity and possibility 14-15
2.3 video coding principle 15-18
2.3.1 Predictive Coding 15-16
2.3.2 transform coding 16
2.3.3 Entropy coding 16-17
2.3.4 encoding relatively 17-18
2.4 intra prediction 18-20
2.4.1 4 × 4 luminance block prediction mode 18-19
2.4.2 16 × 16 luminance prediction mode 19-20
2.4.3 8 × 8 luminance prediction mode 20
2.5 interframe prediction 20-22
2.5.1 tree structured motion compensation 20-21
2.5.2 motion vector 21
2.5.3 MV prediction 21-22
2.6 integer transform and quantization 22-23
2.7 adaptive entropy coding 23-24
2.7.1 Context-based adaptive variable length coding (CAVLC) 23-24
2.7.2 Context-based Adaptive Binary Arithmetic Coding (CABAC) 24
2.8 bit rate control 24
2.9 Deblocking filtering 24-26
The
DSP hardware platform and development environment introduced 26-34
3.1 digital signal processor (DSP) development 26-27
3.2 DM642 multimedia processor 27-30
3.2.1 TMS320DM642 structure 27-30
the 3.2.2 TMS320DM642's performance The 30
3.3 TDS642EVM development board structure 30-31
3.4 integrated development environment CCS 31-34
4 H.264 algorithm transplantation 34-40
4.1 algorithm to extract and cut 34-37
4.1.1 algorithm to extract 35-36
4.1.2 algorithm tailoring 36-37
4.2 compiler and platform 37-39
4.2.1 data type of difference 37
4.2.2 \
4.2.3 data alignment processing 38-39
4.3 DSP / BIOS use 39-40
5 H.264 algorithm optimization 40-51
5.1 storage system rational allocation 41-42
5.1.1 use of secondary cache 41-42
the
the 5.1.2 global structure body clipping 42
5.2 binary library call 42-45
5.3 inline function 45
5.4 linear compilation 45-49
5.5 optimization results 49-51
concluded 51-52
the
References 52-55
learn research 55-56
Acknowledgements 56
Related dissertations
- Video Compression Techniques Based on H.264and Its Application in the Video Monitoring System
- Research of Video Compression on Micro-UAV
- Research and Implementation on the MFHS Algorithm Based on H.264
- Research and implementation of technology of infrared monitoring based on DSP
- H.264 Encoder Optimization Based on TMS320DM642
- Research of Acceleration Algorithms of Motion Estimation Based on H.264
- Design and Realization of Video Monitoring System Based on H.264
- Research on H.264Video Coding Standard and Application in Embedded Video Surveillance System
- The Research of Motion Estimation Based on H.264/AVC
- Research of H.264Prediction Algorithm
- Research of Motion Estimation Algorithm in Video Compression
- Design and Implement of Vido Capture,display and Storage System Based on Android Operating System
- Research of Image Transmission System in Micro-UAV
- Investigation and Implementation of H.264/AVC Video Encoder Base on DM642 DSP Platform
- DSP based H.264 video compression to achieve
- Research on Algorithm of H.263 Video Encode and Implementation of Video Encoder Based on DSP
- TMS320DM642-based MPEG-4 video codec Research and Implementation
- The Design and Implement of Video Compression System Based on DM642
- DM642-based H.264 video encoder and Design Optimization
- Design of Video Compression System Based on Chip of DM642