摘要: 二维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
中图分类号:
于 倩;邵 洋;张铁军;王东辉;李 伟. 基于媒体指令的二维DCT快速计算[J]. 计算机工程, 2007, 33(12): 25-27.
YU Qian; SHAO Yang; ZHANG Tiejun; WANG Donghui; LI Wei. Fast Implementation of 2D DCT Based on Media Instructions[J]. Computer Engineering, 2007, 33(12): 25-27.