计算机工程

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

一种灵活可配置的JPEG 编解码器软硬件架构

李瑞珍1,张晓旭1,马 德2,黄 凯1,严晓浪1   

  1. (1. 浙江大学超大规模集成电路设计研究所,杭州310027; 2. 杭州电子科技大学微电子CAD 所,杭州310018)
  • 收稿日期:2013-10-31 出版日期:2014-11-15 发布日期:2014-11-13
  • 作者简介:李瑞珍(1989 - ),女,硕士,主研方向:SoC 设计与验证;张晓旭,博士;马 德,讲师;黄 凯,副教授;严晓浪,教授。

A Flexible and Configurable Architecture of Software and Hardwarem for JPEG Codec

LI Ruizhen 1,ZHANG Xiaoxu 1,MA De 2,HUANG Kai 1,YAN Xiaolang 1   

  1. (1. Institute of Very Large Scale Integrated Circuits Design,Zhejiang University,Hangzhou 310027,China; 2. Institution of Microelectronics CAD,Hangzhou Dianzi University,Hangzhou 310018,China)
  • Received:2013-10-31 Online:2014-11-15 Published:2014-11-13

摘要: JPEG 压缩标准由于其压缩比高和实用性强已被广泛应用于静态图像编解码中。为满足更高的实时性与高速率需求,根据JPEG 算法抽象出的基本运算,提出一种灵活可配置的JPEG 编解码加速器结构,实现向量加法、向量乘法、向量点乘和移位饱和等基本运算操作,并驱动此加速器完成JPEG 解码的反向离散余弦变换、反量化和色度空间转换过程,配合软件代码处理解码的其他部分,实现JPEG 解码的软硬件协同工作。实验结 果表明,在增加0. 229 mm2 面积的前提下,硬件实现的部分耗时只为优化前的35% 左右,JPEG 解码过程总耗时为优化前的60% 左右。该方法提高了JPEG 编解码速度,并且加速器的软件和硬件灵活可配性决定了其适用范围的广泛性。

关键词: 联合图像压缩标准, 加速器, 离散余弦变换, 色度空间转换, 量化, 软硬件协同设计

Abstract: Joint Picture Experts Group(JPEG) compression standard is widely used in static image codec for its high compression ratio and strong practicality,while it requires better performance in feature of real-time and compression speed. According to the basic vector arithmetic extracted from JPEG process,a flexible and configurable accelerator for JPEG codec is proposed to achieve the vector addition, multiplication, dot multiplication, shifting and saturation operations. Software and hardware cooperation is used in driving the accelerator to finish the Inverse Discrete Cosine Transform(IDCT),inverses quantization and color space conversion,while doing the other part in JPEG decoding with software. In the condition of increasing 0. 229 mm2 area,the process doing with accelerator costs 35% of the time costs in software,and the JPEG decoding costs only 60% of the time. This method improves the JPEG codec speed and can be used widely according to its flexibility and configurability.

Key words: Joint Picture Experts Group ( JPEG ), accelerator, Discrete Cosine Transform ( DCT ), color space conversion, quantization, software and hardware co-esign

中图分类号: