• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2011, Vol. 33 ›› Issue (7): 106-111.

• 论文 • Previous Articles     Next Articles

A Parallel X264 Encoder Algorithm Based on the InterFrame and  IntraFrame MacroblockLevel

WEI Feifei1,LIANG Jiuzhen1,HAN Jun2   

  1. (1.School of IoT Engineering,Jiangnan University,Wuxi 214122;
    2.School of Communication and Information Engineering,Shanghai University,Shanghai 200072,China)
  • Received:2010-07-29 Revised:2010-11-20 Online:2011-07-21 Published:2011-07-25

Abstract:

This paper studies the X264 encoder on the basis of a thorough knowledge about the H.264 standard, aiming to accelerate the encoding speed and enhance the encoder’s realtime ability. In the context of the data dependencies of the related macroblocks which are mainly analyzed, considering the characteristics of the parallel coding algorithm based on the macroblocklevel of InterFrame, the paper proposes a new multithread parallel coding algorithm. On the basis of the original multithread parallel algorithm of the interframe macroblocklevel and the following spatial correlation conditions,the algorithm which creates a thread for each row in the I frame,implements the parallel encoding of the interframe and intraframe macroblocklevel and achieves the effect of multigranularity parallelism.The experimental results illustrate that the propsed algorithm improves the encoding speedup while the video sequences are effectively encoded and with the PSNR holds basically unchanged.,and the realtime encoding is enhanced.

Key words: X264;parallel coding;macroblocklevel;interframe;multithread