Fast mode selection for intra and inter prediction
-
摘要: 为提高I帧和P帧的编码效率,H.264视频编码标准采用多模式帧内预测和多子块模式帧间预测,并选择率失真最优的模式进行编码,导致编码复杂度很高.为此,提出一种基于小波变换的帧内模式快速选择结合帧间预测下帧内模式预判断的算法.利用小波变换后的低频子图做帧内模式选择,由此预判断宏块中每个4×4子块可能的预测模式,使原来9次的代价函数计算减少到平均3.75次;使用去均值的差值平方和,预判断宏块是否选择帧间预测下的帧内编码模式,减少P帧编码时间.实验表明,改进算法在峰值信噪比降低不超过0.0644dB的情况下,编码速度平均提高19%左右.Abstract: H.264 video coding standard is high complex and time-consuming owing to its multi-mode in intra prediction and multi-size sub-block modes in inter prediction to improve the efficiency of I frame and P frame. A new algorithm with fast mode selection based on wavelet transforms in intra prediction and combined with pre-estimation of intra mode in inter prediction was proposed. Firstly, the method utilized the optimal modes selected in low frequent part transformed by wavelet to estimate the possible modes in sub-block of original macro-block. This method reduces the calculate times from 9 to 3.75 averagely. Secondly, pre-estimation of intra mode in inter prediction was implemented using the parameter of mean removed mean absolute difference, and it reduced the P frame coding time. Simulation experiment results from video sequences show the method effective with the encoding time of sequences lower about 19% averagely while peak signal-to-noise ratio lower 0.0664dB at most.
-
Key words:
- H.264 /
- intra prediction /
- inter prediction /
- prediction mode /
- wavelet transforms /
- mean absolute difference
-
[1] Turaga D S, Chen T. Estimation and mode decision for spatially correlated motion sequences . IEEE Transactions on Circuits and Systems for Video Technology, 2001, 11(10): 1098-1107 [2] Dong H Y, Zhang Q S. Fast inter coding mode selection algorithm for H.264 . Chinese Journal of Aeronautics, 2006, 19(3): 119-224 [3] JVT-J033 Joint Video Team (JVT) of ISO/IEC MPEG & ITU-T VCEG (ISO/IEC JTC1/SC29/WG11 and ITU-T SG16 Q.6), Fast mode decision for H.264 [4] Lee W, Jung Y, Lee S, et al. High speed intra prediction scheme for H.264/AVC . IEEE Transactions on Consumer Electronics, 2007, 53(4): 1577-1582 [5] Choi I, Lee J, Jeon B. Fast coding mode selection with rate-distortion optimization for MPEG-4 part-10 AVC/H.264 . IEEE Transactions on Circuits and Systems for Video Technology, 2006, 16(12): 1557-1561 [6] Tseng C H, Wang H M, Yang J F. Enhanced intra-4x4 mode decision for H.264/AVC coders . IEEE Transactions on Circuits and Systems for Video Technology, 2006, 16(8): 1027-1032 [7] 孟庆磊,姚春莲,宋建斌,等.一种面向H.264/AVC的快速帧内预测选择算法[J].北京航空航天大学学报,2007,33(2):119-223 Meng Qinglei, Yao Chunlian, Song Jianbin, et al. Fast selective algorithm of intra prediction for H.264 /AVC[J]. Journal of Beijing University of Aeronautics and Astronautics, 2007, 33(2): 119-223 (in Chinese) [8] Kim C S, Li Q, Kuo C C J. Fast intra-prediction model selection for H. 264 codec . Proceedings of SPIE-The International Society for Optical Engineering, 2003, 5241: 99-110 [9] Richardson Iain E G. H.264 and MPEG-4 video compression: video coding for next generation multimedia . England: John Wiley& Sons Ltd, 2003: 177-184 [10] ITU-T|ISO/IEC, ITU-T Recommendation H.264: Advanced video coding for generic audiovisual services [11] Zan J W, Ahmad M O, Swamy M N S. Comparison of wavelets for multiresolution motion estimation . IEEE Transactions on Circuits and Systems for Video Technology, 2006, 16(3):439-446
点击查看大图
计量
- 文章访问数: 3361
- HTML全文浏览量: 134
- PDF下载量: 1001
- 被引次数: 0