Based on S3C2440 H.264 application , the software codec and optimization
- Author
- HeXun
- Advisor
- ZhouYing
- School
- University of Electronic Science and Technology
- Major
- Optical Engineering
- Classification
- TN919.81 Image coding
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 191
- Citations
- 1
Abstract
H.264 codec software implementation is a hot research topic in the field of embedded applications . This article describes the basic principles of video compression . First departure from the actual video surveillance , video surveillance software designed for multiple video monitor in a terminal . This paper describes the specific process of the H.264 codec and how to build embedded Linux development platform , including the establishment of a cross-compiler environment , and then transplant linux boot program to the target board , and finally to build embedded Linux system and migrate to the target board . To build an embedded Linux system including kernel cutting and configuration , based on the actual hardware system transplant development of core and peripheral drivers , and build a Linux root file system . Encoding software , by contrast, select one of three open source code x264 and x264 code analysis, program flow diagram . On the decoder side , select the decoding ffmpeg , ffplay to play compressed video . Finally, the hardware platform s3c2440 linux development environment based on H.264 x264 encoder , ffmpeg decoder and ffplay decode and play the transplant process and methods . From the compiler optimization and code -level optimization 2 , the optimized codec . Compiler optimization First, select the appropriate cross-compiler environment , when the application is compiled , configure the appropriate compiler parameters to generate efficient object code . Code-level optimizations include removal of redundant code and efficient preparation of the body of the loop , as well as the compilation optimization . The experimental results show that , in near real-time decoding and playback under qcif resolution can be obtained .
Table of contents
Abstract 4-5
ABSTRACT 5-9
The first chapter 9-11
1.1 project background and research status 9-10
1.2 thesis is organized 10-11
Chapter II video compression coding principle 11-17
2.1 video compression necessity and possibility 11-12
2.1.1 Necessity 11
2.1.2 possibility 11-12
2.2 video signal 12-17
2.2.1 of the video signal color model 12-13
2.2.2 The basic format of the video image 13
2.2.3 video image quality determination ( subjective and objective evaluation ) 13-14
2.2.4 The basic principle of video compression coding 14-15
2.2.5 video compression coding standards development and introduction 15-17
Chapter H.264 video coding standard 17-24
3.1 H.264 codec framework 17-20
3.1.1 video coding layer VCL 17-19
3.1.2 Network Abstraction Layer NAL 19-20
3.2 H.264 core coding technology 20-23
3.2.1 Field, frame 20
3.2.2 intra prediction coding technique 20
3.2.3 interframe predictive coding technique 20-21
3.2.4 integer transform and quantization 21-22
3.2.5 CAVLC ( context-based adaptive variable- length coding ) 22-23
3.3.6 CABAC ( Context-based Adaptive Binary Arithmetic Coding ) 23
3.4 This chapter summarizes 23-24
Chapter H.264 video monitoring software designed to 24-36
4.1 WINDOWS platform H.264 player design 24-30
4.1.1 Network Communication Programming 26
4.1.2 SDL programming 26-27
4.1.3 decode and play 27-28
4.1.4 Players processes 28-30
4.2 H.264 multi-point video surveillance software design 30-36
Chapter 53C2440 -based development platform for embedded LINUX 36-49
5.1 OK2440 development platform introduces 36-38
5.2 build cross-compiler environment 38-39
5.3 bootloader (BOOTLOADER) transplant 39-44
5.4 Configuring the kernel 44-46
5.5 Production File System (YAFF52) 46-49
Chapter H.264 codec transplantation and optimization 49-86
6.1 X264 transplant 50-63
6.1.1 x264 program analysis 50-59
6.1.1.1 VCL video coding layer frame-level coding analysis 50-53
6.1.1.2 video coding layer the VCL CAVLC coding analysis 53-54
6.1.1.3 Network Abstraction Layer NAL analysis 54-56
6.1.1.4 rate control analysis 56-59
6.1.2 cross compiler x264 59-60
6.1.3 HyperTerminal Transfer x264 to arm 60-63
6.2 FFMPEG transplant 63-65
6.2.1 SDL transplant 63-64
6.2.2 cross compile ffmpeg 64-65
6.3 X264 parameter configuration 65-74
6.3.1 encoder grade 65
6.3.2 quantization parameter 65-68
6.3.3 Reference frames 68-69
6.3.4 motion estimation search mode 69-70
6.3.5 Sub-pixel motion estimation search method 70-73
6.3.6 macroblock partition mode 73-74
6.4 X264 optimization 74-82
6.4.1 compiler optimization 74-75
6.4.2 code-level optimization 75-82
6.4.2.1 remove redundant code 75-76
6.4.2.2 efficient preparation of the loop body 76-77
6.4.2.3 Memory Access Optimization 77-80
6.4.2.4 ARM assembler optimization 80-82
6.5 experimental results 82-83
6.6 Prospects 83-86
Chapter VII summarizes 86-87
Thanks 87-88
References 88-91
attack Shuo research results achieved during the 91-92
Appendix 92-101
Related dissertations
- The Research on Wireless Video Transmission System Based on ARM9
- Design and Research of the Network Video Phone Based on the ARM
- Research for Wireless Video Surveillance System Based on ARM and Linux
- Research on WMSNs Video Image Coding Technology Based on H.264
- The H.264Codec Based on ARM-Linux
- The Design of Small Coal Mine Remote Monitoring System Based on ARM
- The Study of Remote Video Monitor System Baced on ARM
- The Research and Design of Embedded Mobile Image Monitoring System Based on ARM
- Video Surveillance System Based on Embedded Technology Research
- Vehicle Wireless Video Monitoring System Based on Improved H.264Motion Estimation Algorithm
- Research on Distributed Industrial Signal Modularized Data Acquisition System Based on ARM
- Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
- The Design and Application Research of Audio and Video Acquisition System Based on S3C2440
- Research and Design of Harmonic Detecting Device Based on ARM9
- Design Based on Industrial Ethernet Network Adapter
- The software design of intelligent control Home Furnishing gateway based on ARM11
- Research on Moving Object Segmentation and Extraction in the H.264Compressed Domain
- The Design of Vehicle Detection System
- Study on the Bubble Image Processing System Based on ARM
- 2D to3D Conversion Method for3DTV Application