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

计算机工程 ›› 2007, Vol. 33 ›› Issue (12): 25-27. doi: 10.3969/j.issn.1000-3428.2007.12.009

• 博士论文 • 上一篇    下一篇

基于媒体指令的二维DCT快速计算

于 倩1,2,邵 洋1,2,张铁军1,王东辉1,李 伟3   

  1. (1. 中国科学院声学研究所,北京 100080;2. 中国科学院研究生院,北京 100080;3. 九江学院信息科学与技术学院,九江 332005)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-06-20 发布日期:2007-06-20

Fast Implementation of 2D DCT Based on Media Instructions

YU Qian1,2, SHAO Yang1,2, ZHANG Tiejun1, WANG Donghui1, LI Wei3   

  1. (1. Institute of Acoustics, Chinese Academy of Sciences, Beijing 100080; 2. Graduate School, Chinese Academy of Sciences, Beijing 100080; 3. School of Information and Science Technology, Jiujiang University, Jiujiang 332005)
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-06-20 Published:2007-06-20

摘要: 二维DCT变换是视频编码协议H.264和MPEG系列标准的主要运算之一。传统的处理器中的运算无法满足视频编/解码的实时性要求。针对二维DCT变换,该文提出了和媒体指令相适应的数据结构和计算方法,最大限度地利用媒体指令的运算能力,在软件设计时避免了数据相关带来的性能下降。实验证明这种快速计算的实现方法能够满足视频应用的实时要求,为编译器设计提供了具有实用性的 参考。

关键词: 媒体指令, 单指令流多数据流, DCT

Abstract: 2D DCT transform is frequently used in video compression protocol H.264 and MPEG family standards. Conventional operations in general-purpose processors can not meet the demand of the real-time CODEC. A fast implementation of 2D DCT transform is presented and the data structure is designed for the demand. It can make full use of the operations of media instructions, and avoid the data hazard. The performance results show that it can meet the real-time requirement and can be served as a reference for compiler development on media instructions.

Key words: Media instruction, Single instruction multiple data(SIMD), DCT

中图分类号: