Introduction of IDCT

1210阅读 0评论2010-07-06 以泪洗面
分类:

Overview of the DCT and IDCTA two-dimensional DCT on MxM pixels is defined as :

It is important that A is orthonormal transform matrix. In other words, y is produced from input x in a  one-to-one mapping manner, from left hand side (input) to the right hand side (output) in Figure_2. Therefore, If one "reverse" A (or ATformally), one can obtain x back from y, which is input data now, entering from right hand side to left hand side of the matrix. The invert transform is then defined as:

where

This can be implemented with two matrix multiplication which correspond to two 1D-DCT on the columns and on the rows, please see the matlab version of above IDCT (idct64.m and idct16.m) and DCT (dct64.m) transform in the /tools/synop/ece6132/fall2002/part1.1/idct1 directory.


Figure 1: decomposition of the 2D-IDCT into two 1D-IDCTs







Some techniques can be used to reduce the number of multiplication. For example this implementation of the 1D-DCT from Arai, Agui and Nakajuma uses 5+8 multiplication instead of 64.


Figure 2: dataflow of a fast 1D-DCT by Arai, Agui and NakajumaImplementationFor the project, we provide an  implementation of a fast IDCT algorithm. In the dataflow presented on Figure_3, we have 16 multiplication instead of 64. However the irregular structure should make the scheduling more complex. Note: Cn = cos(k*pi/16) andSn = sin(k*pi/16).


Figure 3: Dataflow of a fast IDCT


ObjectiveThe IDCT IP block is provided to accelerate the MPEG decoder. Fisrt, you need to verify the functionality of the IDCT block by using the provided IDCT testbench. Then, the IDCT block will be interagted with the other parts in the MPEG decoder (they could be HW or SW). The interface of the IDCT block need to be re-designed in order to connect with the processor correctly. Finally, you need to evalute the performance of your MPEG decoder  implementation by putting IDCT in hardware.DesignPlease follow the following steps to verify the functionality of the IDCT block.Questions
From: 
上一篇:Tagged expressions
下一篇:正则表达式30分钟入门教程