作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程

• 开发研究与工程应用 • 上一篇    下一篇

基于GPU的H.264并行解码算法

陈 鹏,曹剑炜,陈庆奎   

  1. (上海理工大学光电信息与计算机工程学院,上海 200093)
  • 收稿日期:2012-11-19 出版日期:2014-01-15 发布日期:2014-01-13
  • 作者简介:陈 鹏(1988-),男,硕士研究生,主研方向:并行计算;曹剑炜,博士研究生;陈庆奎,教授、博士、博士生导师
  • 基金资助:
    国家自然科学基金资助项目(60970012);教育部博士学科点专项科研博导基金资助项目(20113120110008);上海市教委科研创新基金资助重点项目(13ZZ112);上海信息技术领域重点科技攻关计划基金资助项目(09511501000, 09220502800);上海市教育科学研究基金资助项目(B11042);上海市一流学科基金资助项目(XTKX2012)

H.264 Parallel Decoding Algorithm Based on GPU

CHEN Peng, CAO Jian-wei, CHEN Qing-kui   

  1. (School of Optical-electrical and Computer Engineering, University of Shanghai for Science and Technology, Shanghai 200093, China)
  • Received:2012-11-19 Online:2014-01-15 Published:2014-01-13

摘要: 针对并行处理H.264标准视频流解码问题,提出基于CPU/GPU的协同运算算法。以统一设备计算架构(CUDA)语言作为GPU编程模型,实现DCT逆变换与帧内预测在GPU中的加速运算。在保持较高计算精度的前提下,结合CUDA混合编程,提高系统的计算性能。利用NIVIDIA提供的CUDA语言,在解码过程中使DCT逆变换和帧内预测在GPU上并行实现,将并行算法与CPU单机实现进行比较,并用不同数量的视频流验证并行解码算法的加速效果。实验结果表明,该算法可大幅提高视频流的编解码效率,比CPU单机的平均计算加速比提高10倍。

关键词: 统一设备计算架构, 并行运算, H.264标准, DCT逆变换, 帧内预测

Abstract: In terms of parallel decoding H.264 video stream problems, this paper builds CPU/GPU cooperative computing model to accelerate video encoding and decoding computing. This model uses Compute Unified Device Architecture(CUDA) language as GPU programming model, proposes and implements DCT inverse conversation and intra-frame prediction in a GPU accelerated computing. In the premise of maintaining higher calculation accuracy, combined with CUDA mixed programming, improves the computational performance of the system greatly. The algorithm uses CUDA language provided by NVIDIA, and realizes the DCT inverse conversation and intra-frame prediction on GPU. The experiment compares the parallel algorithm and the sole CPU, and verifies the accelerating effect of the parallel decoding algorithm by using different number of video streams. Experimental result shows that this system improves the video streaming codec efficiency, and it can accelerate 10 times faster than the average CPU sole calculation.

Key words: Compute Unified Device Architecture(CUDA), parallel computation, H.264 standard, DCT inverse transform, intra-frame prediction

中图分类号: