Multi-Grain Parallel H.264 Encoder for Homogeneous Multi-Core Architectures

As a new generation video coding standards,H.264 requires more intensive computation than before to achieve high coding performance. With the continuous development of multi-core processors,the development of the multi-grain parallel H.264 encoder has great significance to meet the requirements of video real-time transmission and large-scale sharing. Based on the open-source H.264 encoder project X264,an adaptive B-frame frame parallel algorithm is proposed through analysis of the dependency among the referent frames. According to the reference of related macroblocks,a macroblock-level parallel approach is designed in assembly-line fashion. A multi-grain parallel H.264 encoder is implemented on the homogeneous multi-core platform. This encoder efficiently combines four parallel grains,including frame,slice,macroblock and data level. Experimental results demonstrate that the encoding speedup is improved to a large extent,without obviously increasing bitrates. The high-quality video is kept in the encoding process.