针对运动矢量移动窗口(motionvector-basedmovingwindow,MVMW)算法预测代价值计算不准确,且视频类型自适应不强等缺点,提出一种基于MVMW改进模式决策算法。所提算法摒弃了MVMW中计算较为复杂的比例参数矩阵,在详细统计分析编码宏块间时域和空域相关性的基础上,采用与当前帧相关性较高的前两帧参考帧中的已编码宏块参与计算当前块的分块预测代价值,确保了预测的有效性,其算法复杂度较MVMW降低较多。此外,所提算法采用的MVMW大小根据宏块分块模式自适应变化;且该算法阈值设置理论性较强,克服了MVMW算法中由于固定大小窗口和经验闽值造成预测代价值不准确的缺点,保证了预测精度。实验结果表明,所提算法较MVMW在码率和图像质量均改善提升的情况下,编码时间明显减少,其整体编码效率优于MVMW。
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 suit- able for all video types of the MVMW algorithm. Based on analysis of the spatial mode correlation and temporal mode-correlation between macroblocks, the adiaeent two previous macroblocks are used to predict the RDcost to solve the inaccuracy of prediction caused by ratio parameter matrix in MVMW. Meanwhile, the size of the pro posed MVMW adaptively changes according to the macroblock partition mode and the theory of the proposed threshold is strong. These can ensure the prediction accuracy compared with the inaccurate of prediction RDcost caused by fixed size window and empirical threshold in MVMW algorithm. The experimental results show that the proposed algorithm achieves significant time saving, image quality increment and bit rate reduce on average. The overall coding efficiency is better than MVMW.