音视频编码标准(audio video coding standard, AVS) 中的视频标准具有较高的压缩性能以及较好的网络适应性, 能满足在数字视频领域广泛应用的需求. 提高AVS视频编码的速度、实现实时编码是满足数字视频应用需求的重要环节. 提出了一种基于CPU+GPU的AVS视频并行编码方法, 利用GPU 完成编码器的运动估值以及整数变换和量化. 实验结果表明, 该方法能实现对 1 920×1 080分辨率视频的实时编码.
The video standard of audio video coding standard (AVS) has high compression performance and good network flexibility, which can be used in widespread applications of digital video. To accelerate the AVS encoding for the real-time implement of AVS encoder is an important issue. A parallel implementation of AVS video encoder based on CPU and GPU is proposed, in which motion estimation, integer transform and quantization are computed by a GPU. Experimental results show that the proposed method can achieve realtime encoding for 1 920×1 080 video sequences.
[1] 高文, 黄铁军, 吴枫, 等. GB/T 20090.2—2006 信息技术先进音视频编码第2 部分: 视频[S]. 北京: 中国标准出版社, 2006.
[2] ITU-T. Information technology coding of audiovisual objects part 10: Advanced video coding [S]. Geneva: International Organization for Standardization, 2012.
[3] Liang F, Ma S W, Wu F, et al. Overview of AVS video standard [C]// Proceedings of 2004 IEEE International Conference on Multimedia and Expo. 2004: 423-426.
[4] 侯金亭, 董胜富, 呼大明, 等. 并行AVS 实时编解码器设计与实现[J]. 电视技术, 2006(5): 46-49.
[5] 许昌满, 李国平, 王国中. AVS 编码器Slice 并行处理算法研究与实现[J]. 中国图象图形学报, 2009, 14(6): 1108-1113.
[6] 邓琼, 杨立志, 刘力政, 等. 一种基于FPGA 的AVS 编码加速器的设计[J]. 微电子学与计算机, 2008, 25(6): 97-100.
[7] 洪金萍. AVS 视频编码器在DSP 上的实现与优化[D]. 天津: 天津大学, 2009.
[8] 魏建云, 彭玉华, 刘微. 一种AVS 亚像素运动估计快速算法[J]. 计算机工程, 2010, 36(3): 229-231.
[9] 王园园, 张刚, 李付江. AVS 的自适应提前终止运动估计算法[J]. 电视技术, 2012, 36(23): 9-11, 14.
[10] 宋雪桦, 包祥, 吴问云. 基于AVS 的快速亚像素运动估计算法[J]. 计算机工程与设计, 2012, 33(7): 2716-2720.
[11] 薛睿, 苏光大. 一种适用于AVS 的快速帧间模式选择算法[J]. 计算机工程, 2012, 38(2): 261-263.
[12] Shen G B, Gao G P, Li S P, et al. Accelerate video decoding with generic GPU [J]. IEEE Trans Circuits Syst Video Technol, 2005, 15(5): 685-693.
[13] Lin Y C, Li P L, Chang C H. Multi-pass algorithm of motion estimation in video encoding for generic GPU[C]// Proceedings of 2006 IEEE International Symposium on Circuits and Systems. 2006: 4451-4454.
[14] Lee C Y, Lin Y C, Wu C L. Multi-pass and frame parallel algorithms of motion estimation in H.264/AVC for generic GPU[C]// Proceedings of 2007 IEEE International Conference on Multimedia and Expo. 2007: 1603-1606.
[15] Schwalb M, Ewerth R, Freisleben B, et al. Fast motion estimation on graphics hardware for H.264 video encoding [J]. IEEE Trans Multimedia, 2009, 11(1): 1-10.