Research on Key Techniques of H.264 Video Compression Coding on the Stream Architecture
- Author
- LiHaiYan
- Advisor
- ZhangChunYuan
- School
- National University of Defense Science and Technology
- Major
- Computer Science and Technology
- Classification
- TN919.81 Image coding
- Degree
- Doctoral dissertation
- Year
- 2009
- Downloads
- 460
- Citations
- 1
- stream architecture
- Imagine
- Stream processing
- stream application
- H.264
- Video compression
- Video Coding
- kernel optimization
Abstract
Stream architecture is a novel architecture that is defined first by Professor William J. Dally’s research group of Stanford University. The stream processor is a good choice for customized accelerators of high productivity computing systems, due to its powerful computing capability, low power and flexible programmability. Stream arichitecture makes use of arithmetic intensity, abundant parallelism, multi-level data reference locality and predictable memory access patterns commonly existing in media applications, to achieve efficient implementation and performance acceleration.Digital video is a broad class of computation-intensive applications in media processing domain, widely used in video conferencing, high definition television, satellite broadcast and so on. As a kind of key video processing technology, video compression covers large amount of complicated computation. Thus, the performance of video compression exerts crucial influence on many media applications especially including internet video business, portable video device and high definition television. Current video compression technology usually consists of complex mathematical transformation and signal processing operations. As a result, it needs high performance and sustained throughput for real time video coding. The state-of-the-art gerenal-purpose processors, especially those which have analogous x86 architecture, are not able to satisfy the requirements of high performance video coding applications. The solution of real-time video collection and compression is relying on special-purpose accelerated components. However, these accelerators lack of enough flexibility to deal with various video processing applications.Video compression coding exhibits typical program characteristics for stream processing, so stream architecture is a good candidate for high performance video applications. With the enhanced image resolution and the increasing requirement for compression ratio and real time ability, the algorithms of video coding are becoming more and more complex. How is video codec mapped on the stream architecture? How is the stream program implemented efficiently for encoding and decoding? How is video data collected, transmitted, processed and stored in terms of stream? To solve these problems is the key for streaming implementation of video encoder and decoder on the stream architecture.For H.264 video coding standard with high computational complexity, this paper tries to map the encoding process onto stream processor, in which multimode and adaptability of coding algorithm are significant challenges when implemented in the stream computing model. This paper studies the transplantation and streamization methods of high-definition video encoder in H.264 based on stream architecture, especially the key techniques of algorithm, design and implementation of streaming scheme. After that, the performance evaluation is carried out according to the experimental results, and some suggestions are made for coding optimization. In addition, this paper discusses a stream-based multi-standard transform coder, profiting from programmability and scability of stream processors. The main contributions of this paper are summarized as follows:(i) A streaming framework is proposed for H.264 video encoder based on stream computing model. Streamization, meaning that mapping on the stream architecture, is a process that uses stream-kernel programming model and achieves performance acceleration through the separation of computation and memory, parallel computation execution and sequential memory access. According to various program characteristics represented in H.264 encoding, regular and irregular properties of different modules are described in the proposed streaming framework. The granularity of parallelism in our framework is block or macroblock, avoiding the pixel dependence and strengthening the efficiency of parallel execution. Our framework can afford the real-time encoding processing for high definition video with the 720p format. The results show that stream processor can provide high performance for complex video compression coding, because it supports large amount of arithmetic units, unique memory hierarchy, data parallelism and locality.(ii) A series of stream algorithms are proposed for H.264 video compression coding mapped onto stream processors. Stream algorithms are designed for applications that share large stream of data, little global data reuse and data single-directional transfer, before they are implemented based on stream computing model. Using the platform of Imagine stream processor and graphics processing unit, several stream algorithms are proposed, including Interleaved Streaming Transform (IST), Strip-mined Multi-group Intra Prediction (SmMgIP), Recursive Indexed-loading Transform (RIT) and Row-wise Zonal-loading Transform (RZT). The former three algorithms are implemented on Imagine, while the fourth one is implemented on graphics processing unit. These stream algorithms can exploit program characteristics and explore efficient streaming implementations. They are the foundation of our H.264 encoding streaming framework. Additionally, the design idea of stream algorithms can be adapted to other data-parallel SIMD computing platforms well.(iii) Irregular stream computing, memory and control models are proposed and general optimization approaches are gived for kernel level program and stream level program respectively. The innovation of irregular stream models comes from inter prediction and deblocking filter in H.264 encoder. As a supplyment of typical stream programming model, irregular stream models provides an abstraction and a solution for complex stream applications.Based on loop optimization, two kinds of kernel optimization techniques are proposed including kernel fussion and kernel fission. Kernel fusion can enhance intensive computation, improve the ALU utilization, and reduce the kernel executing time, in order to increase computing amount in unit time (for example, in integer transform). Kernel fission is used to deal with control-intensive kernel, and can relieve the pressure produced by lots of branch operations (for example, in deblocking filter).For stream level program, when the input stream length is larger than the size of global stream register file, the spilling stream will be written back to off-chip memory. The overhead of spilling stream is expensive comparing with kernel computation. Thus, stream sectioning method is proposed for too long stream. It divides a long stream into several substreams, and at the same time adds an outer loop through these substreams. Stream sectioning can avoid stream spilling during computation for large scale of data and make parallel execution of computation and memory operations, in order to improve the computing efficiency of stream processor.(iv) A streaming algorithmic design for multi-standard transform coding is proposed. Current video encoders for popular coding standards have a similar coding structure with some different compression tools. For chip design, the share of hardware resources is expected to reduce cost for adaptability to multiple standards. Block-based discrete cosine transform, integer cosine transform and Walsh-Hadamard transform, and frame-based discrete wavelet transform are mapped on Imagine and graphics processing unit. Experimental results indicate that stream processing can offer an efficient solution for multi-standard transform coding algorithms, and achieve higher performance than other programmable computing platforms.
Table of contents
Abstract 13-16
ABSTRACT 16-19
the
Abbreviations table 19-22
first chapter 22-47
1.1 Background 23-30
1.1.1 video compression coding 23-25
1.1.2 stream processors 25-28
1.1.3 streaming applications 28-30
1.2 Research 30-37
1.2.1 streaming applications research 30-33
1.2.2 video coding research 33-36
1.2.3 the stream architecture-based video coding research 36-37
1.3 thesis content 37-42
1.4 thesis innovative work 42-44
1.5 papers organizational structure 44-47
Chapter II flow calculation model 47-66
2.1 stream programming model 48-54
2.1.1 Universal stream programming model 48-51
2.1.2 Imagine stream programming language 51-53
2.1.3 GPU programming language and model 53-54
2.2 flow execution model 54-60
2.2.1 Universal flow execution model 55-57
2.2.2 Imagine architecture 57-59
2.2.3 GPU architecture 59-60
2.3 stream storage model 60-65
2.3.1 The general flow storage model 60-62
2.3.2 Imagine memory hierarchy 62-63
2.3.3 GPU memory hierarchy 63-65
2.4 Summary 65-66
flow calculation model based H.264 encoder 66-90
3.1 video encoder classic framework 66-69
3.2 video encoder parallel framework 69-71
3.3 H.264 encoder stream framework 71-89
3.3.1 streaming framework outlined 72-76
3.3.2 fluidized encoder design 76-78
3.3.3 stream program characteristics analysis 78-80
3.3.4 fluidized overall performance of the encoder 80-85
3.3.5 Performance Analysis and discussion 85-89
3.4 Summary 89-90
Chapter H.264 video encoding conventional fluidized 90-122
4.1 based on subword grade parallel transform quantify 90-102
4.1.1 H.264 transform quantify 90-92
4.1.2 transform analysis quantify the flow characteristics are found; 92-93
4.1.3 based on sub-word parallel cross-flow transformation algorithm 93-96
4.1.4 multiple integer type transform core shared 96-98
4.1.5 core combined technology transform quantify 98-101
4.1.6 Experimental results and discussion 101-102
4.2 the stream segmentation-based intra prediction 102-117
4.2.1 H.264 intra prediction 102-103
4.2.2 intra prediction flow characteristics analysis 103-104
4.2.3 Packet intra predicted flow algorithm 104-111
4.2.4 segmented flow separation technology grouping intra prediction 111-114
4.2.5 Experimental results and discussion 114-117
4.3 conventional flow method Summary 117-121
4.3.1 circulation divided Act 118-119
4.3.2 conventional fluidized steps 119-121
4.4 Summary 121-122
Chapter H.264 video coding irregular flow 122-168
5.1 interframe prediction: irregular flow 122-138
5.1.1 H.264 interframe prediction 122-126
5.1.2 non-the rules flow fluidized challenge 126-129
5.1.3 irregular flow calculation and fetch are found; 129-133
5.1.4 Motion Estimation stream implementations 133-136
5.1.5 Results and discussion 136-138
5.2 entropy coding: the strong data related 138-150
5.2.1 H.264 entropy coding 138-140
5.2.2 Strong data fluidized challenge 140-143
5.2.3 CAVLC the parallel granularity decision making 143-147
5.2.4 CAVLC stream to achieve 147-148
5.2.5 Results and discussion 148-150
5.3 deblocking filter: control intensive 150-160
5.3.1 H.264 deblocking filter 150-153
5.3.2 control of dense fluidized challenge 153-155
5.3.3 irregular transfer of control 155-156
5.3.4 deblocking filter flow to achieve 156-158
5.3.5 Results and discussion 158-160
the fluidized Summary of 5.4 irregular 160-166
5.4.1 flow reorganization 160-162
5.4.2 short streams loaded 162-164
5.4.3 core separatist 164
5.4.4 parallel granularity adjustment 164-166
5.5 Summary 166-168
Chapter VI multi-standard video transform coding fluidized research 168-184
6.1 multi-standard transform coding Overview 168-171
6.1.1 MPEG-2 standard DCT 169-170
6.1.2 H.264 standard ICT and WHT 170
6.1.3 MPEG-4 standard DWT 170-171
6.2 transform coding implementation on Imagine 171-174
6.2.1 Imagine common method of mapping 172-173
6.2.2 recursive index to load transform flow algorithm 173-174
6.3 Transform Coding on the GPU to achieve 174-176
6.3.1 GPU universal mapping method 174-175
6.3.2 loaded rows ribbon to transform flow algorithm 175-176
6.4 Experimental results and discussion 176-183
6.4.1 testing program group 176-177
6.4.2 experimental environment 177-178
6.4.3 Imagine performance analysis 178
6.4.4 Imagine and GPU performance is 178-180
6.4.5 stream to achieve compared with the performance of other programs 180-183
6.5 Summary 183-184
Chapter VII Conclusion 184-187
7.1 topic summary of the work 184-185
7.2 Future research directions 185-187
Acknowledgements 187-189
the
References 189-200
the
author achieved academic achievements during the study period 200-202
the
author research work to participate in the study period 202
Related dissertations
- Key Algorithms of H.264 Encoder on a Stream Architecture
- Research of Acceleration Algorithms of Motion Estimation Based on H.264
- Video Compression Techniques Based on H.264and Its Application in the Video Monitoring System
- The Optimization and Implementation of H.264Video Encoder Based on DaVinci
- Research on Key Technology for H.264Video Coding
- Research and Implementation on the MFHS Algorithm Based on H.264
- Research and Improvement of Fast Motion Estimation Algorithm in H.264
- Research on the Key Technologies of H.264 Algorithm Based on DM642
- Texture-Based Adaptive Video Coding
- Research and Implementation of Motion Estimation Based on H.264
- Optimization and Implementation of H.264Decoder
- Research and Improvement of Intra Prediction Algorithm in H.264
- The Research and Implementation of H.264Crucial Codec Technology Based on Android Platform
- Design and Realization of Video Monitoring System Based on H.264
- Improvement and Optimization of H.264Inter Prediction and Estimation Based on DSP
- Research on H.264Video Coding Standard and Application in Embedded Video Surveillance System
- The Research of Motion Estimation Based on H.264/AVC
- Video Encryption Technology Based on H.264Compression Coding Standard
- Research of H.264Prediction Algorithm
- Research on Key Technology and Optimization in Video Coding