Journal of Systems Engineering and Electronics ›› 2013, Vol. 35 ›› Issue (6): 1330-1334.doi: 10.3969/j.issn.1001-506X.2013.06.34

• 软件、算法与仿真 • 上一篇    下一篇

基于MVMW 的H.264/AVC自适应快速帧间模式决策算法

吴笛,卿粼波,何小海   

  1. 四川大学电子信息学院,四川成都 610064
  • 收稿日期:2012-02-10 修回日期:2013-02-04 出版日期:2013-06-15 发布日期:2013-03-29

Adaptive fast inter mode decision algorithm based on MVMW for H.264/AVC

WU Di,QING Lin-bo,HE Xiao-hai   

  1. College of Electronics and Information Engineering, Sichuan Univ, Chengdu 610064, China
  • Received:2012-02-10 Revised:2013-02-04 Online:2013-06-15 Published:2013-03-29

摘要:

针对运动矢量移动窗口(Motion Vector-based Moving Window,MVMW)算法预测代价值计算不准确,且视频类型自适应不强等缺点,提出一种基于MVMW 改进模式决策算法。该算法摒弃了MVMW 中计算较为复杂的比例参数矩阵,在详细统计分析编码宏块间时域和空域相关性的基础上,采用与当前帧相关性较高的前两帧参考帧中的已编码宏块参与计算当前块的分块预测代价值,确保了预测的有效性,其算法复杂度较MVMW 降低较多。此外,该算法采用的运动矢量移动窗口大小根据宏块分块模式自适应变化(Adaptive Motion Vector-based Moving Window,AMVMW);且该算法阈值设置理论性较强,克服了MVMW 算法中由于固定大小窗口和经验阈值造成预测代价值不准确的缺点,保证了预测精度。实验结果表明,本文算法较MVMW 在码率和图像质量均改善提升的情况下,编码时间明显减少,其整体编码效率优于MVMW。

Abstract:

A novel adaptive fast inter mode decision algorithm based on motion vector-based moving window (MVMW) is proposed to solve the problem of inaccurate predicted rate-distortion cost (RDcost) and not suitable for all video types of the MVMW algorithm. Based on analysis of the spatial mode-correlation and temporal mode-correlation between macroblocks, the adjacent two previous macroblocks is used to predict the RDcost to solve the inaccuracy of prediction caused by ratio parameter matrix in MVMW. Meanwhile, the adaptive motion vector-based moving window is used to solve the problem of inaccurate predicted RDcost. The experimental results show that the proposed algorithm achieves significant time saving and image quality increment and bit rate reduce on average. The overall coding efficiency is better than MVMW.