Research of Linux Video Hardware Decoding and Application
- Author
- LiQiang
- Advisor
- ZhangLei
- School
- Beijing University of Posts and Telecommunications
- Major
- Computer Science and Technology
- Classification
- TN919.81 Image coding
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 222
- Citations
- 4
Abstract
With the quick development of internet, applications concerning digital video are flourishing. Various new video compression standards come forth too. With these new standards and with people’s pursuit of high-definition, the traditional methods only using CPU to decode are becoming more and more difficult to meet visual requirements. People then turn to GPU for help. Continuous development of hardware provides us a good solution on the issue. The hardware decoding technology can balance the load between CPU and GPU, and eventually the CPU occupancy is reduced.Recently, Linux gets a very fast development, and the application domain of it is becoming broader. Because of its free, high reliability, opensource and strong network functions etc, Linux gradually becomes the focus of every person, which has been used in various products.As an operation system, Linux is attracting a growing number of users, but hardware-accelerated video decoding technology under Linux is in its infancy. A lot of work needs to be done to define acceleration interface and to develop driver for video hardware acceleration under Linux.Now, Intel is developing video driver under Linux. The driver uses hardware decoding technology and greatly reduces CPU occupancy. Facing the current embarrassing situation of poor video accelerating technology under Linux operating system, Intel develops a common interface for Linux video acceleration—Video Acceleration API.In this paper, the following subject is done: study the current mainstream video compression stands; explore the GPU hardware acceleration technology; analysis and design video hardware acceleration interface under Linux; design and develop hardware-accelerated video drivers under Linux, based on the Intel chipset; In the ultra environment, verify the interface and the whole system performance.
Table of contents
Abstract 4-5
ABSTRACT 5-8
first chapter 8-11
1.1 Background 8-9 < br /> 1.1.1 the topics of research background 8
1.1.2 the research topics of development and status 8-9
1.1.3 in this topic industry status quo 9
1.2 research 9-11
Chapter linux operating system introduced 11-15
2.1 Overview 11
2.2 linux advantages 11-12
2.3 powerful X Windows graphical interface 12-15
chapter the basic concepts of video 15-21
3.1 Overview 15
3.2 resolution (Resolution) and frame (Frame rate) 15-17
3.3帧(Frame) and field (Field) 17-18
3.4 color space (color space) 18-19
3.5 the system supports video compression standard 19-21 <br / > Chapter video codec principle 21-33
4.1 Overview 21
4.2 video encoder and decoder 21-23
4.3 time model implementations 23-29
4.3.1 macroblock prediction 25-26
4.3.2 adaptive block size motion search 26-29
4.4 space model method 29-31
4.4.1 transform Coding (Transform) 29-30
4.4.2 scalar quantization (Scalar Quantitation) 30
4.4.3 reordering and zero coding (Scalar Quantitation) 30-31
4.5 example in H.264 video coding model 31-33 < br /> CHAPTER video hardware decoding technology research 33-39
5.1 Overview 33-34
5.1.1 hardware acceleration theory 33-34
5.2 GPU -accelerated video decoding technology 34-39
5.2.1 General GPU evolution 34-35
5.2.2 General GPU features 35 - 36
5.2.3 General GPU to decode HD video application 36-37
5.2.4 General GPU video acceleration interfaces 37-39
sixth Zhang Linux video hardware decoding driver design , implementation 39-65
6.1 MSVDX multi-standard decoder core research 39-42
6.1.1 Overview 39 -40
6.1.2 MSVDX system structure diagram 40-42
6.2 system -level schematic 42-44
6.3 system structure 44 - 46
6.4 system cache type 46-47
6.4 video acceleration interface design (VAAPI) 47-58
6.4.1 VAAPI the main data structures and interfaces 47-58
6.5 video decoder core module (Video Decode Kernel Module, hereinafter referred to as VDKM) 58-65
6.5.1 VDKM on MSVDX the registers are accessed 58-59
6.5.2 VDKM initialization and destruction 59-60
6.5.3 MSVDX memory management unit (MMU) 60-61
6.5.4 VDKM in Fence ID management 61-62
6.5.5 MSVDX error handling 62
6.5.6 MSVDX decoding instruction processing 62 -63
6.5.7 MSVDX interrupt processing 63-65
Chapter VII of the test 65-68
7.1 test environment described 65 < br /> 7.2 test 65-68
7.2.1 VAAPI test 65-66
7.2.2 overall system performance test 66-68
Conclusion 68-69
References 69-71
Appendix 1 71-72
Thanks 72-73
master's thesis published during 73
Related dissertations
- Lights Control and Test System Based on Qt
- Design and Implementation of the Embedded Video Surveillance Server Based on ARM and Linux
- ARM embedded video monitoring system based on compressed sensing
- Design and Implementation of Command&Control Computer with Master-Slave
- Linux operating system on the ARM hardware platform transplantation
- Design and Optimization of MPEG4 Video Decoder Based-on SOPC
- Realization and Optimization of MPEG-4 Video Decoder based on SOC
- The Optimization of MPEG4 Video Decoding System Based on SOPC
- Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
- Research and Design of Embedded Building Security System
- The Softeware Design and Implement on Integrated Intelligent Camera Platform Based on Davinci DM6446
- The Research of Household Remote Monitoring Based on Embedded Web Server
- Research and Design of Intelligent Video Surveillance System Based on ARM
- Design of Video Monitoring System Based on the Embedded
- The Design of Embedded Network Video Surveillance System Based on ARM9
- Design and Application of the Distributed Monitoring System Based on Embedded Web
- Study on Embedded Data Acquisition System Application
- Embedded Software Design of AC Field Detection Instrument Based on ARM
- Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
- Based on the Samsung2440Embedded Home Furnishing Design and Implementation of Intelligent Control System