Discrete cosine transform (DCT) have been widely used in many image processing systems. In this paper, a novel linear-array of DCT and IDCT is derived from the data flow of subband decomposition representing the facterized coefficients matrices in the ma