WO1999039303A9 - Method and system for computing 8x8 dct/idct and a vlsi implementation - Google Patents
Method and system for computing 8x8 dct/idct and a vlsi implementationInfo
- Publication number
- WO1999039303A9 WO1999039303A9 PCT/US1999/002186 US9902186W WO9939303A9 WO 1999039303 A9 WO1999039303 A9 WO 1999039303A9 US 9902186 W US9902186 W US 9902186W WO 9939303 A9 WO9939303 A9 WO 9939303A9
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- dct
- matrix
- idct
- sub
- input
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/14—Fourier, Walsh or analogous domain transformations, e.g. Laplace, Hilbert, Karhunen-Loeve, transforms
- G06F17/147—Discrete orthonormal transforms, e.g. discrete cosine transform, discrete sine transform, and variations therefrom, e.g. modified discrete cosine transform, integer transforms approximating the discrete cosine transform
Definitions
- This invention relates generally to calculating the 2-Dimensional 8x8
- the present invention is well suited to meet the real time digital processing requirements of digital High-Definition Television (HDTV)
- MPEG Experts Group
- the uncompressed video sequence at 24 pictures/second is roughly 60 Mbit s, and a one-minute video clip requires 448 Mbytes of storage space.
- ISO International Standardization Organization
- a Moving Pictures Experts Group (MPEG) was formed in May 1988 and a consensus was reached to target the digital storage and real-time decoding of video with bit-rates around 1.5 Mbit/s (MPEG-1 protocol) [MPEG1].
- MPEG Moving Pictures Experts Group
- MPEG-2 a MPEG-2 proposal was presented that primarily targeted for higher bit-rates, larger picture sizes, and interlaced frames.
- the MPEG-2 proposal attempted to address a much more broader set of applications than MPEG-I (such as television broadcasting, digital storage media, digital high-definition TV (HDTV) and video communication) while maintaining all of the MPEG- 1 video syntax.
- MPEG-I such as television broadcasting, digital storage media, digital high-definition TV (HDTV) and video communication
- MPEG- 1 video syntax extensions were adopted to add flexibility and functionality to the standard.
- a spatial scalable extension was added to allow video data streams with multiple resolutions to provide support for both normal TV and HDTV.
- Other scalable extensions allow the data stream to be partitioned into different layers in order to optimize transmission and reception over existing and future networks [MPEG2].
- An MPEG video codec specifically designed for compression of video sequences. Because a video sequence is simply a series of pictures taken at closely spaced time intervals, these pictures tend to be quite similar from each other except for when a scene change takes place.
- the MPEG1 and MPEG2 codecs are designed to take advantage of this similarity using both past and future temporal information (inter-frame coding). They also utilize commonality within each frame, such as a uniform background, to lower the bit-rate (intra-frame coding) [MPEG1, MPEG2].
- An MPEG video sequence is made up of individual pictures occurring at fixed time increments. Except for certain critical timing information in the MPEG systems layers, an MPEG video sequence bitstream is completely self- constrained and is independent of other video bitstreams.
- Each video sequence is divided into one or more groups of pictures, and each group of pictures is composed of one or more pictures of three different types: I-, P- and B-type.
- I-pictures intra-coded pictures
- P- and B-pictures are compressed by coding the differences between the reference picture and the current one, thereby exploiting the similarities from the current to reference picture to achieve high compression ratio.
- the first coded picture in each video sequence must be an I-picture.
- I- pictures may be occasionally inserted in different positions of a video sequence to prevent the coding error propagation.
- the coding method used by MPEG is similar to that defined by JPEG [JPEG].
- P-pictures predictive-coded pictures
- B-pictures bidirectionally predictive-coded pictures
- B-pictures may predict from preceding pictures, upcoming pictures, both, or neither.
- P-pictures may predict from a preceding picture or use intra-coding.
- a given sequence of pictures is encoded in a different order which they are displayed when viewing the sequence.
- An example of the encoding sequence of MPEG I-, P- and B-pictures is illustrated in Figure 2.
- Each component of a picture is made up of a two-dimensional (2-D) array of samples.
- Each horizontal line of samples in this 2-D grid is called a raster line, and each sample in a raster line is a digital representation of the intensity of the component at that point on the raster line.
- each picture has three components: a luminance component and two chrominance components.
- the luminance provides the intensity of the sample point, whereas the two chrominance components express the equivalent of color hue and saturation at the sample point. They are mathematically equivalent to RGB primaries representation but are better suited for efficient compression. RGB can be used if less efficient compression is acceptable.
- the equivalent counte ⁇ art of a picture in broadcast video is a frame, which is further divided into two fields. Each field has half the raster lines of the full frame and the fields are interleaved such that alternate raster lines in the frame belong to alternate fields.
- the basic building block of an MPEG picture is the macroblock.
- the macroblock consists of one 16x16 array of luminance samples plus one, two or four 8x8 blocks of samples for each of two the chrominance components.
- the 16x16 luminance array is actually composed of four 8x8 blocks of samples.
- the 8x8 block is the unit structure of the MPEG video codec and is the quantity that is processed as an entity in the codec.
- Each MPEG picture is composed of slices, where each slice is a contiguous sequence of macroblocks in raster scan order.
- the slice starts at a specific address or position in the picture specified in the slice header.
- Slices can continue from one macroblock row to the next in- -MPEG— I , but not in MPEG-2.
- motion compensation a process known as motion compensation.
- the process of determining the motion vectors in the encoder is called motion estimation, and the unit area being predicted is a macroblock.
- the motion vectors describing the direction and amount of motion of the macroblocks are transmitted to the decoder as part of the bitstream.
- the decoder then knows which area of the reference picture was used for each prediction, and sums the decoded difference with this motion compensated prediction to get the final result.
- the encoder must follow the same procedure when the reconstructed picture will be used for predicting other pictures.
- the vectors are the same for each pel in a same macroblock, and the vector precision is either a full pel or a half-pel accuracy.
- the Discrete Cosine Transform in MPEG The discrete cosine transform (DCT) is the critical part of both intra and inter coding for MPEG video compression.
- the DCT has certain properties that simplify coding models and make the coding more efficient in terms of perceptual quality measures.
- the DCT is a method of decomposing the correlation of a block of data into the spatial frequency domain.
- the amplitude of each data in the spatial (coefficient) domain represents the contribution of that spatial frequency pattern in the block of data being analyzed. If only the low-frequency DCT coefficients are nonzero, the data in the block vary slowly with position. If high frequencies are present, the block intensity changes rapidly from pel to pel. 1.2.5 The Quantization in MPEG
- a DCT coefficient is quantized by dividing it by a nonzero positive integer called a quantization value and rounding it to the nearest integer. The bigger the quantization value is, the lower the precision is of the quantized DCT coefficient. Lower-precision coefficients can be transmitted or stored with fewer bits. Generally speaking, the human eye is more sensitive to lower spatial frequency effects than higher ones, which is why the lower frequencies are quantized with higher precision.
- a macroblock may be composed of four W blocks of luminance samples and two 8x8 blocks of chrominance samples.
- a lower resolution is used here for the chrominance blocks because the human eye can resolve higher spatial frequencies in luminance than in chrominance.
- the DCT coefficients are almost completely decorrelated ⁇ that is, they are independent of one another, and therefore can be coded independently. Decorrelation is of great theoretical and practical interest in terms of construction of the coding model. The coding performance is also actually influenced profoundly by the visually-weighted quantization.
- the DCT does not greatly improve the decorrelation, since the difference signal obtained by subtracting the prediction from the reference pictures is already fairly well decorrelated.
- quantization is still a powerful compression technique for controlling the bit-rate, even if decorrelation is not improved very much by the DCT. Since the DCT coefficient properties are actually quite different for intra and inter pictures, different quantization tables are used for intra and inter coding. 1.2.6 The Zigzag Scan and Variable Length Coding in MPEG
- the quantized 2-D DCT coefficients are arranged according to a 1-D sequence known as the zigzag scanning order. In most case, the scan orders the coefficients in ascending spatial frequencies, which is illustrated in Figure 1.3.
- a quantization table which strongly deemphasizes higher spatial frequencies, only a few low-frequency coefficients are nonzero in a typical block which results in a very high compression.
- the 1-D sequence is coded losslessly so that the decoder can reconstruct exactly the same results.
- MPEG an approximately optimal coding technique, based on Huffman coding, is used to generate the tables of variable length codes needed for this task. Variable length codes are needed to achieve good coding efficiency, as very short codes must be used for highly probable events.
- the run-length-coding and some special defined symbols (such as end-of-block, EOB) permit efficient coding of DCTs with mostly zero coefficients.
- the MPEG video encoding is a process that reads a stream of input picture samples and produces a valid coded bitstream as defined in the specification.
- the high-level coding system diagram shown in Figure 4 illustrates the structure of a typical encoder system 400.
- The-MPEG video divides the pictures in a sequence into three basic categories: I-, P- and B-pictures as described previously.
- the frequencies are quantized with a quantization table with 64 entries in quantization module 430, in which each entry is a function of spatial frequency for each DCT coefficient.
- zigzag scan module 470 the quantized coefficients are then arranged qualitatively from low to high spatial frequency following a exact same or similar zigzag scan order shown in Figure 3.
- the rearranged 1-D sequence data is further processed with an entropy coding (Huffman coding) scheme to achieve further compression.
- the quantized coefficients are also used to reconstruct the decoded blocks using inverse quantization (module 440) and an inverse 2-D DCT (reconstruction module 450).
- the reconstructed blocks stored in frame store memory 455 is used as references for future differential coding for P- and B- pictures.
- P- and B-pictures are coded as the differences between the current macroblocks and the ones in preceding and/or upcoming reference pictures. If the image does not change much from one picture to the next, the difference will be insignificant and can be coded very effectively. If there is motion in the sequence, a better prediction can be obtained from pels in the reference picture that are shifted relative to the current picture pels (see, motion estimation module 460).
- the differential results will be further compressed by a 2-D DCT, quantization, zigzag and variable length coding modules (420, 430, 470, 480) similar to the I-picture case.
- the decorrelation is not improved much by the DCT for the motion compensated case, the quantization is still an effective way to improve the compression rate.
- MPEG's compression gain arises from three fundamental principles: prediction, decorrelation, and quantization. 1.2.8 MPEG Video Decoding Process
- the MPEG video decoding process which is the exact inverse of the encoding process, is shown in Figure 5.
- the decoder 500 accepts the compressed video bitstream 485 generated from MPEG video encoder 400 and produces output pictures 565 according to MPEG video syntax.
- variable length decoding and inverse zigzag scan modules (51-, 520) reverse the results of the zigzag and variable length coding to reconstruct the quantized DCT coefficients.
- the inverse quantization and inverse 2-D DCT modules (530, 540) are exact the same modules as those in the encoder.
- the motion compensation in motion compensation module 550 will only be carried out for nonintra macroblocks in P-and B-pictures.
- the MPEG-1 video standard is primarily intended for digital storage applications, such as compact disk (CD), DAT, and magnetic hard disks. It supports a continuous transfer rate up to 1.5 Mbit s, and is targeted for noninterlaced video formats having approximately 288 lines of 352 pels and picture rates around 24Hz to 30Hz.
- the coded representation of MPEG- 1 video supports normal speed forward playback, as well as special functions such as random access, fast play, fast reverse play, normal speed reverse playback, pause, and still pictures.
- the standard is compatible with standard 525 and 625-line television formats, and it provides flexibility for use with personal computer and workstation displays [MPEG1].
- Each picture of MPEG- 1 consists of three rectangular matrices of eight-bit numbers: a luminance matrix (Y) and two chrominance matrices (Cb and Cr).
- the Y-matrix must have an even number of rows and columns and the Cb and Cr matrices are one half the size of the Y-matrix in both horizontal and vertical dimensions.
- the MPEG-1 video standard uses all the MPEG video compression concepts and techniques listed in section 1.2.
- the MPEG-1 video standard only defines the video bitstream, syntax and decoding specifications for the coded video bitstream, and leaves a number of issues undefined in the encoding process.
- the MPEG-2 video standard evolved from the MPEG-1 video standard and is aimed at more diverse applications such as television broadcasting, digital storage media, digital high-definition television (HDTV), and communication
- MPEG-2 borrows a significant portion of its technology and terminology from MPEG-1.
- MPEG-2 and MPEG-1 use the same layer structure concepts (i.e. sequence, group, picture, slice, macroblock, block, etc.). Both of them only specify the coded bitstream syntax and decoding operation. Both of them invoke motion compensation to remove the temporal redundancies and use the DCT coding to compress the spatial information. Also, the basic definitions of I-, P-and B- pictures remain the same in both standards. However, the fixed eight bits of precision for the quantized DC coefficients defined in the MPEG-1 is extended to three choices in the MPEG-2: eight, nine and ten bits. 1.4.1 Fields, Frames and Pictures At the higher bit-rates and picture rates that the MPEG-2 video targets, fields and interlaced video become important. The MPEG-2 video types are expanded from MPEG-l's I-, P- and B-pictures to I-field picture, I-frame picture, Meld picture, P-frame picture, B-field picture, and B-frame picture.
- coded frames may be composed of any adjacent pairs of fields.
- a coded I-frame may consist of a I- frame picture, a pair of I-field pictures, or an I-field picture followed by a Meld picture.
- a coded P-frame may consist of a P-frame picture or a pair of Meld pictures.
- a coded B-frame may consist of a B-frame picture or a pair of B-field pictures.
- MPEG-2 allows both interlaced and progressive pictures.
- MPEG- 2 Comparing with MPEG- 1 's single chrominance sampling format, MPEG- 2 defines three chrominance sampling formats. These are labeled 4:2:0, 4:2:2 and 4:4:4. For 4:2:0 format, the chrominance is sampled 2:1 horizontally and vertically as in MPEG-1. For 4:2:2 format, the chrominance is subsampled 2:1 horizontally but not vertically. For 4:4:4 format, the chrominance has the same sampling for all three components and the decomposition into interlaced fields is the same for all three components. 1.4.3 Scalability
- MPEG-2 has several types of scalability enhancements that allow low- resolution or smaller images to be decoded from only part of the bitstream.
- MPEG-2 coded images can be assembled into several layers.
- the standalone base layer may use the nonscalable MPEG-1 syntax.
- One or two enhancement layers are then used to get to the higher resolution or quality. This generally requires fewer bits than independent compressed images at each resolution and quality, and at the same time achieve higher error resilience for network transmission.
- SNR scalability uses the same luminance resolution in the lower layer and a single enhancement layer.
- the enhancement layer contains mainly coded DCT coefficients and a small overhead. In high-error transmission environments, the base layer can be protected with good error correcting techniques, while the enhancement layer is allowed to be less resilient to errors.
- Spatial scalability defines a base layer with a lower resolution and adds an enhancement layer to provide the additional resolution.
- the enhancement layer the difference between an inte ⁇ olated version of the base layer and the source image is coded in order to accommodate two applications with different resolution requirements like conventional TV and HDTV.
- Temporal scalability provides an extension to higher temporal picture rates while maintaining backward compatibility with lower-rate services.
- the lower temporal rate is coded by itself as the basic temporal rate. Then, additional pictures are coded using temporal prediction relative to the base layer. Some systems may decode both layers and multiplex the output to achieve the higher temporal rate.
- Data partitioning split the video bitstream into two channels: the first one contains all of the key headers, motion vectors, and low-frequency DCT coefficients. The second one carries less critical information such as high frequency DCT coefficients, possibly with less error protection.
- Profiles and Levels provide a means of defining subsets of the syntax and semantics of MPEG-2 video specification and thereby give the decoder the information required to decode a particular bitstream.
- a profile is a defined subset of the entire MPEG-2 bitstream.
- a level is a defined set of constraints imposed on parameters in the bitstream.
- MPEG-2 defines five distinct profiles: simple profile (SP), main profile
- MP SNR
- SPT spatial scalable profile
- HP high profile
- LL low
- ML main
- H-14 high-1440
- HL high
- Table 1.3 gives a brief summary of some MPEG-1 and MPEG-2 video codec system implementations from some major video vendors [Joa96].
- DCT Discrete Cosine Transform
- EDCT Inverse Discrete Cosine Transform
- fast DCT/IDCT algorithms can also be obtained by direct factorization of the DCT/IDCT coefficient matrices.
- the decomposition represents a fast algorithm. Since the factorization is not unique, there exist a lot of different forms of fast algorithms.
- the factorization schemes often fall into the decimation-in-time (DIT) or the decimation-in-frequency (DEF) category [RY90].
- the fast computation can be obtained through recursive computation [WC95, AZK95], planar rotations [LLM89], prime factor decomposition [YN85], filter-bank approach [Chi94] and Z-transform [SL96], etc. 2.2.1 Indirect 1-D DCT via Other Discrete Transforms
- the Fourier Cosine Transform can be calculated using the Fourier Transform of an even function. Since there exist a lot of Fast Fourier Transform (FFT) algorithms, it is natural to first look at the existing FFT algorithms to compute DCT.
- FFT Fast Fourier Transform
- the 2N -point sequence ⁇ y(n) ⁇ defined above can be used to calculate the 2N -point DFT as:
- N-point DCT X(k) can easily be calculated from
- ⁇ x(n) ⁇ is real
- ⁇ y(n) ⁇ is real and symmetric.
- ⁇ Y(k) ⁇ I can be obtained via two N-point FFTs rather than by a single 2N- point FFT [Sor87, RY90]. Since an N-point FFT requires Nlog 2 N complex operations in general, the N-point DCT X(k) can be computed with 2Nlog 2 N
- the N-point DCT computation may also be calculated via other transforms such as Walsh-Hadamard Transform (WHT) [Ven88] for N ⁇ 16 and Discrete Hartley Transform (DHT) [Mal87].
- WHT Walsh-Hadamard Transform
- DHT Discrete Hartley Transform
- the WHT is known to be fast since the computation involves no multiplications. Thus an algorithm for DCT via WHT may well utilize this advantage.
- the DHT is very similar to DFT. The detailed implementation of these two transforms can be found in [RY90]. 2.2.2 1-D DCT via Direct Factorizations
- a N is an NxN coefficient matrix and each element of A N is defined as:
- a NQ is the coefficient matrix for a N/2-point DCT
- P w is a permutation matrix which permutes the even rows in increasing order in the top half and the odd rows in decreasing order in the bottom half
- B N is a butterfly matrix which can be expressed in terms of the identity matrix l N/2 and the opposite identity matrix l m (i.e. the elements position on the opposite diagonal are equal to 1, others are 0) as follows:
- R N2 is the remaining (N/2xN/2) block in the factor matrix which can be obtained by reversing the orders of both the rows and columns of an intermediate matrix R N2 , where the definition of each element of R N/2 is:
- decimation-in- time DIT
- decimation-in-frequency DIF
- the DIT approach There are two steps in the DIT approach, and their objective is to reduce an N-point DCT to an N/2 -point DCT by permutation of the input sample points in the time domain.
- the first step in the DIT algorithm consists of a rearrangement of the input sample points.
- the second step reduces the N-pomit transform to two N/2-point transforms to establish the recursive aspect of the algorithm [RY90]. Deefining
- the decomposition is said to constitute a DIF algorithm.
- N-point (radix-2) sequence ⁇ x(n) ⁇ the DIF algorithm for DCT requires (N/2) log 2 N real multiplications and ((3N/2)log 2 N - N + 1) real additions [RY90].
- the 1-D DCT can be computed using the following Chebyshev polynomial recurrence:
- A(k, n) A(k, n-l) + x(n) P(k, n) (2.21)
- X(k) A(k, N-l)
- k 0, 1, . . ., N-l.
- the X(k) can be calculated in N recursive steps from the input sequence x(n) using Eq. (2.20) and (2.21).
- this recursive algorithm requires 2N(N- 1) real multiplications and real additions.
- ⁇ (n) ⁇ can be obtained from the following recurrence relations: ⁇
- X(k) x(N - l)F( ⁇ ,,N - l)- F( ⁇ yt ,N -2) ⁇ (N -2) - F( ⁇ ,,N - l) ⁇ (N - 3)
- ⁇ (n) can be recursively generated from the input sequence x(n) according Eq. (2.31 ).
- this recursive algorithm requires about N 2 real multiplications and real additions.
- the algorithms that compute the DCT/IDCT indirectly via other discrete transforms are normally not the good candidate for hardware implementation.
- the conversion between the input and output data of two different transforms is generally complicated.
- Many transforms, like FFT and ⁇ T, use complex architectures, which make the hardware implementations of the 1-D DCT even less efficient.
- the advantage of computing the 1-D DCT via DFT is that the standard FFT routines and implementations are available that can be directly used in the DCT/IDCT.
- the DCT/IDCT algorithms based on recursive approaches do not necessarily use fewer operations than other discrete transforms, the recursive nature makes them easy to be implemented with relatively simple processing elements (PE) and simple interconnections among the PEs.
- PE processing elements
- Identical or similar structured PEs in a hardware implementation can greatly reduce the cost of the design and layout process.
- time recursive algorithms and the resulting DCT/IDCT architectures are well suited for VLSI implementation.
- One of the recursive schemes that can be easily adopted for the 1 -D DCT hardware implementation is the Chebyshev polynomial method (described in section 2.2.3).
- the basic function cell to compute the 1-D DCT based on this method is shown in Figure 6 [WC95].
- the forward and inverse 2-D Discrete Cosine Transform (2-D DCT/IDCT) of an input sequence x(m,n), 0 ⁇ m,n ⁇ N are defined as:
- both the 2-D DCT and 2-D IDCT require O(N 4 ) real multiplications and corresponding additions/subtractions, assuming the computations are carried out by brute force.
- various fast computational algorithms and corresponding architectures have been proposed. In general, all of these algorithms can be broadly classified into 3 basic categories: 1) compute the 2-D DCT/IDCT indirectly via other discrete fast transforms, 2) decompose the 2-D DCT/IDCT into two 1 -D DCT/IDCTs, and 3) compute the 2-D DCT/IDCT based on direct matrix factorization or decomposition.
- the decomposition of a 2-D DCT/IDCT into two 1-D DCT/IDCTs which conventionally is also called the Row-Column Method (RCM), evaluates the 1-D DCT/IDCT in row-column- wise or column-row- wise form. That is, it starts by processing the row (or column) elements of input data block as a 1-D DCT/IDCT and store the results in an intermediate memory; it then processes the transposed column (or row) elements of the intermediate results to further yield the 2-D DCT/IDCT results [CW95, SL96, MW95, Jan94]. Since the RCM reduces the 2-D DCT into two separate 1-D DCTs, existing 1-D algorithms listed in section 2.2 can be directly used so that the computational complexity can be simplified.
- RCM Row-Column Method
- A(k,N - 1) ⁇ Y(k,N - 1) (2.40)
- Y(k,l) is the 2-D DFT
- its implementation can be realized by using any of the available 2-D algorithms.
- One of the most efficient methods proposed by Nussbaumer is to compute the 2-D real DFT by means of the polynomial transforms [Nus81]. The reduction in computational complexity is obtained by mapping the DFT on the index m to polynomial transform. Overall, an NxN point DCT is mapped onto N DFTs of lengths N.
- the 2-D DCT For real NxN input sequence ⁇ x(m,n) ⁇ , the 2-D DCT requires ((N 2 12 - l)log 2 N + N 2 /3 - 2N - 8/3) complex multiplications and ((5N 2 /2)log 2 N + N 2 /3 - 6N - 62/3) complex additions. Besides, the 2-D DCT can also be carried out via the 2-D Walsh-
- the 2-D DCT is a separable transform.
- Eq. (2.32) can also be expressed as
- the inner summation is an N-
- a 2-D NxN DCT can be implemented by N's N-point DCTs along the columns of x(m,n), followed by N's N-point DCTs along the rows of the results after the column transformations.
- the order in which the row transform and the column transform are done is theoretically immaterial.
- W (1/2) diag [l/cos( ⁇ /2N), l/cos(3 ⁇ /2N), . . ., l/cos((N- l) ⁇ /2N)].
- the 2-D DCT algorithms based on direct matrix factorization or decomposition are much more suitable for software implementation, because they usually require fewer multiplications than other approaches and the complex index mapping involved is not a problem for software.
- the high communication complexity and global interconnection involved in these algorithms make them difficult to be implemented using VLSI technology.
- the 2-D DCT algorithms based on the RCM approach can be realized using a very simple and regular structure, since the RCM reduces the 2-D DCT into two stages of 1-D DCTs and the existing 1-D DCT algorithms listed in section 2.2 can be employed directly.
- the relative simple localized interconnections of the RCM is another key feature making it suitable for VLSI implementation.
- the block diagram of the "row-column" transform approach to realize an NxN 2-D DCT is illustrated in Figure 8.
- the 1 -D algorithms can be loosely classified as the DCT via other transforms, via sparse matrix factorization and via time-recursive approaches.
- the 2-D algorithms can be classified as DCT via other transforms, via direct matrix factorization/decomposition and via Row-Column methods.
- Both the 1-D IDCT and 2-D IDCT can be computed and implemented with approaches similar to the 1-D DCT and 2-D DCT. The most prominent property is the separability property of the 2-D DCT or IDCT, which has been exploited both in the algorithms and in the chip designs.
- the direct 2-D DCT or IDCT matrix factorization/decomposition is more computation efficient and generally requires fewer multiplications. But the complex global communication interconnection of existing direct 2-D DCT or IDCT algorithms has prevented them from being implemented in VLSI chips due to design and layout concerns.
- the present invention provides a method and system for computing 2-D DCT/IDCT which is easy to implement with VLSI technology to achieve high throughput to meet the requirements of high definition video processing in real time.
- the present invention is based on a direct 2-D matrix factorization approach.
- the present invention computes the 8x8 DCT/IDCT through four 4x4 matrix multiplication sub-blocks. Each sub-block is half the size of the original
- each sub-block can be implemented independently with localized interconnection so that parallelism can be exploited and a much higher
- DCT/IDCT throughput can be achieved. Further embodiments, features, and advantages of the present inventions, as well as the structure and operation of the various embodiments of the present invention, are described in detail below with reference to the accompanying drawings.
- FIG. 1 is a diagram of a typical MPEG video pictures display order.
- FIG. 2 is a diagram of a typical MPEG video pictures coding order.
- FIG. 3 is a diagram of a zig-zag scanning order of DCT scanning coefficients.
- FIG. 4 is a diagram of an example simplified MPEG video encoding process.
- FIG. 5 is a diagram of an example simplified MPEG video decoding process.
- FIG. 6 is a block diagram of an example processing element cell k for a
- FIG. 7 is a block diagram of a recursive implementation of 1-D DCT based on Clenshaw's formula.
- FIG. 8 is a block diagram of a row-column approach for performing a 2-D DCT.
- FIG. 9 shows five graphs of an example 2-D DCT simulation with finite coefficient word lengths according to the present invention.
- FIG.10 shows five graphs of an example 2-D IDCT simulation with finite coefficient word lengths according to the present invention.
- FIG.11 shows five graphs of an example 2-D DCT simulation with finite truncation lengths according to the present invention.
- FIG. 12 shows five graphs of an example 2-D IDCT simulation with finite truncation lengths according to the present invention.
- FIG. 13 is a block diagram of DCT data flow according to an embodiment of the present invention.
- FIG. 14 is a block diagram of IDCT data flow according to another embodiment of the present invention.
- FIG. 15 is a diagram of an example shuffler data structure according to the present invention.
- FIG. 16 is a diagram of an example EE-sub-block according to the present invention.
- FIG. 17 is a diagram of example latching, multiplexing, and clipping stages for respective 2-D DCT of EE, EO, OE, and OO sub-blocks according to an embodiment of the present invention.
- FIG. 18 is a diagram of an example architecture and data for a 2-D DCT according to an embodiment of the present invention.
- FIG. 19 is a diagram of an example architecture and data for a 2-D IDCT according to an embodiment of the present invention.
- FIG. 20 is a diagram of an example combined architecture and data for 2- D DCT and 2-D IDCT according to an embodiment of the present invention.
- FIG. 21 is a flowchart of a synthesis approach according to an embodiment of the present invention.
- FIG. 22 is a timing diagram illustrating waveforms of 2-D DCT input/output and handshaking signals for an example VLSI implementation according to the present invention.
- FIG. 23 is a timing diagram illustrating waveforms of 2-D IDCT input/output and handshaking signals for an example VLSI implementation according to the present invention.
- ASIC components plus a serial structured DSP chip might be the best feasible architecture to meet the requirements of MPEG-2 real-time encoding/decoding.
- 2-D DCT and 2-D IDCT it presents a detailed step-by-step description of the new algorithm
- the algorithm is based on a direct 2-D matrix factorization and has better finite wordlength precision, requires fewer multiplication operations, and possesses regular structure and localized interconnection than traditional approaches. Furthermore, it is shown in Section 3 that the algorithm can easily be implemented with only adders, subtractors, and adder/subtractor combinations.
- Finite wordlength simulation of an embodiment of the algorithm is described in Section 4. The impacts of both coefficient quantization and truncation errors are fully investigated. It is also shown in this section that optimal implementation scheme is achieved by combining different finite wordlengths for coefficient quantization and data truncation. In order to meet the accuracy requirements of H.261 and JPEG for both the 2-D DCT and 1 DCT, only 16-bit finite internal wordlength is required by the proposed algorithm.
- Section 5 presents the detailed hardware architectural structure for the new 2-D DCT/IDCT algorithm according to one example implementation of the present invention. It is shown that the new algorithm leads to a highly modular, regular and concurrent architecture using standard components such as a shuffler, adders, subtractors, accumulators, latches, and some multiplexers, etc.
- the combined 2-D DCT 1 IDCT architecture demonstrates that all execution components are 100% sharable between the 2-D DCT and 2-D IDCT operations.
- the HDL design and logic synthesis processes for an embodiment of the algorithm are demonstrated in Chapter 6.
- the chip implementation is simulated through I-ML functionality coding, RTL code simulation, logic synthesis from the verified RTL code and gate-level pre-layout simulation in several stages.
- the highly automated Computer Aided Design (CAD) tools used in the simulation process are
- the chip simulation shows that a 800 million samples per second throughput rate can be achieved for both 2-D DCT and IDCT computations according to the present invention.
- Memory components are required to store the intermediate results between the 1-D row and 1-D column transform. And memory cells take a lot of silicon area to implement.
- serial data in and serial data out mode is adopted by most of the RCM approaches.
- Serial data I/O results in relatively low system throughput for 2-D DCT or EDCT operation.
- RCM approaches can only achieve a half of the system clock rate as system sample processing rate, since the second 1 -D transform will not start until the first 1 -D transform finishes and the transposed intermediate data is ready.
- exceptions have been made to achieve throughputs as high as the system clock rate by using a two intermediate memory buffers and transpose circuitry such that the intermediate data are stored in each of the memory buffers alternatively and latency constraints of the intermediate data can be avoided [UraM].
- RCM limits it to be able to make full use of the 1-D optimal solution, and it is not possible for them to take the full advantage of 2-D's sparseness and factorization.
- the present invention provides an algorithm which makes full use of the computational efficiency of a direct 2-D approach and has localized communication interconnection(s) so as to be suitable for VLSI implementation and meet the speed requirement of video applications, including real time applications.
- DCT and IDCT algorithms are presented step-by-step in section 3.2 and 3.3, respectively.
- the core component of these direct algorithms according to one embodiment of the present invention is characterized in detail in section
- one 4x4 coefficient matrix in Eq. (3.9) only includes the even coefficients of vector W (i.e. w 2 , w ⁇ w 6 ) and the other only includes the odd coefficients (i.e. w réelle w 3 , w s , w 7 ).
- W i.e. w 2 , w ⁇ w 6
- odd coefficients i.e. w supplement w 3 , w s , w 7
- they can be defined as two new 4x4 coefficient matrices E and O [Jan94,MW95].
- E and O can also be computed directly from the coefficient matrix A by the following matrix operations as:
- P2 and P3 are defined in Eq. (3.7) as the top and bottom blocks of matrix PI. and P4 as a new permutation matrix that takes the first four columns of an 4x8 matrix to form an 4x4 one.
- the matrix P4 can be defined as
- matrix I 4 is an 4x4 identity matrix
- matrix N 4 is an 4x4 null (zero) matrix
- the matrices [X(i)+X(j)] and [X(i)-X(j)J in Eq. (3.8) and Eq. (3.9) can also be defined as two separate 4x8 matrices as X + and X . into their left and right blocks, respectively, as:
- the matrices X / , X +r , X. / and X_ r can also be expressed as the functions of matrices XI, X2, X3 and X4 as
- ⁇ 4 is defined as an 4x4 opposite identity matrix as
- the 2-D IDCT in Eq. (3.28) can also be decomposed into two stages of 1 -D IDCT as [Ura92,MW95]:
- the matrices X e and X 0 can be separated into their left and right blocks as
- the even-left, even-right, odd-left and odd-right four 4x4 sub- matrices of (Y") r can be computed by replacing the matrix X with the (Y") r in Eq. (3.36) as
- P2 [P7 4x4 P8 4x4 ] 4x8
- P3 [P9 4x4 P10 4x4 ] 4x8 (3.43)
- each element of matrix Z can be calculated with the same general formula as
- V 4x4 B 4x4 U 4x4 C 4 r x4 (3.51)
- each v y , 0 ⁇ i, j ⁇ 3 is expressed as a sum of products of u kl • (b lk c y/ ) for 0 ⁇ k, 1 ⁇ 3, where u kl is a function of the input sequence X (see Eq. (3.22) and (3.45) above), and b lk c , is a function of the coefficient matrix A (see Eq. (3.10) above) and can be pre-calculated as one of the ⁇ w m wêt, 1 ⁇ m, n ⁇ 7. Since each w m defined in Eq.
- the row-column decomposition method suffers at least two coefficient quantization losses and two computation truncation losses — one occurs when computing the 1 -D column transform and another one occurs when computing the 1-D row transform, and it is prone to both accumulated errors and error propagation from the first 1-D to the second 1-D transform.
- much higher computation accuracy can be achieved by the proposed algorithm given that the same finite wordlength is adopted by both approaches. Since each 4x4 sub-block can be implemented without multipliers, the proposed algorithms can be implemented with only adders and subtractors as the basic processing elements (PE). This results in a great reduction of the complexity and design cost of hardware implementations.
- each 4x4 sub-block is totally independent from other sub-blocks in the proposed 2-D DCT and 2-D IDCT algorithm.
- each multiplication in this scheme has been confined as a variable multiplied by a constant instead of two variables in general. Every multiplication operation can be very easily fulfilled by a group of hardwired adders and the whole 2-D DCT/IDCT computation can be carried out by using only adders and subtractors.
- the higher computation accuracy of this scheme means that a shorter finite internal wordlength can be used in the hardware implementation of the algorithm while the same accuracy requirements for both 2-D DCT/IDCT can still be met.
- a shorter internal finite wordlength means that fewer number of registers and less complicated circuit are required for the hardware implementation.
- the simplified processing elements (just adders and subtractors, no multiplier is required), paralleled sub-block structure, localized interconnection and shorter finite internal wordlength associated with the proposed 2-D DCT/IDCT algorithm demonstrate that the proposed algorithm is a perfect candidate for VLSI implementation.
- the optimal coefficient and register width can lead to a higher speed and a smaller chip area.
- both widths should be chosen to ensure the minimum accuracy criteria for 2-D DCT specified by ITU-T Recommendation H.261 and 2-D IDCT specified by the Joint CCITT/ISO committee (JPEG).
- the final result is computed by using Eq. (3.52), where all other quantities can be precisely pre-computed.
- the final result cam be computed by using Eq. (3.52) and (3.49), where both coefficient quantization errors and finite wordlength truncation errors are still determined by Eq. (3.52). So the error analysis will be focused on all the arithmetic operations of Eq. (3.52).
- section 4.2 the coefficient quantization error effects for the algorithm according to the present invention are investigated.
- section 4.3 the focus is shifted to the effects of arithmetic operations with different finite internal wordlengths.
- Table 4.1 shows a 16-bit representation for the coefficients ⁇ y , which is the highest quantization precision used in the simulation for the proposed algorithm.
- the maximum quantization error with 16-bit representation for all ⁇ y is 0.000007.
- the simulation of quantization errors for an example of a 2-D DCT algorithm according to the present invention is carried out on 10,000 sets of W input data. Each input data is randomly generated within the range of -256 to 255. The final 2-D DCT outputs are rounded to 12-bit integers.
- the accuracy requirements for the 2-D DCT simulations are adopted from the H.261 Specification.
- Each of the W DCT output pixels should be in compliance with the specification for parameters like Peak Pixel Error, Peak Pixel Mean Square Error, Overall Mean Square Error, Peak Pixel Mean Error and Overall Mean Error for each of the 10,000 block data sets generated above.
- the reference data used in the statistical calculation are generated by the formula in Eq. (2.32). Additionally, the error of DC component is analyzed since it is the most important parameter for 2-D DCT.
- the simulation results and accuracy requirements of H.261 for 2-D DCT are shown in Table 4.2.
- the 8x8 transformed results are rounded to the nearest integer values and clipped to the range -2048 to +2047;
- the "reference" 2-D IDCT output results are computed with at least 64-bit floating point accuracy, in which the input data are the data generated in step (3), the output data are clipped to the range -256 to +255;
- test The proposed 2-D IDCT algorithm ("test") is used to compute 2-D IDCT output data with the same input data generated in step (3);
- the finite wordlength simulations for the proposed 2-D DCT algorithm are carried out on 10,000 sets of randomly generated (in range of -256 to 255) W input data. All the parameters used in this section are the same ones used in section 4.2.1. The simulation results and accuracy requirements of H.261 for 2-D DCT are shown in Table 4.5.
- the finite wordlength simulations of the proposed 2-D IDCT algorithm are also carried out with 10,000 sets of randomly generated 8x8 input blocks. All the parameters used in this section are the same ones used in section 4.2.2.
- the input data range is from -256 to +255.
- the same "reference” and “test” results are used to calculate the error statistics.
- the simulation results and accuracy requirements of JPEG for 2-D IDCT are shown in Table 4.6.
- the optimal combination should be X-bit quantization precision plus 16- bit finite wordlength for all arithmetic operations.
- the reductions of coefficient quantization precision should still guarantee the proposed algorithm to meet both the H.261 and JPEG's accuracy requirements.
- the 13-bit representations for coefficients ⁇ are shown in Table 4.10.
- the maximum quantization error with 13-bit precision for all ⁇ y is 0.000065, which is corresponding to quantizing each single cos(i ⁇ /16) with maximum quantization error as 0.00806.
- Table 4.10 13-bit representation of coefficient ⁇ follow
- the simulations with 13 -bit quantization precision and different finite wordlengths for proposed 2-D DCT algorithm are carried out on 10,000 sets of randomly generated (in range of -256 to 255) W input data.
- the simulation results are shown in Table 4.11.
- the proposed 2-D IDCT algorithm can still meet JPEG's IDCT Specification for all required input data ranges, as illustrated in Table 4.13.
- the 2-D DCT is decomposed as two 1 -D
- the example of the present invention requires the shortest quantization bits and internal operation wordlength.
- the comparison result is illustrated in Table 4.14.
- a small finite wordlength and less bits of coefficients quantization are desired.
- Less coefficient precision means fewer additions or subtractions is needed to carry out the coefficient multiplications.
- Smaller internal wordlength means fewer bits in registers and simpler circuits are required to implement the example algorithm according to the present invention.
- the 16-bit finite wordlength implementation of the example algorithm clearly shows that the example algorithm has a precision advantage - since it possesses only one quantization error and one truncation error instead of twos.
- the benefit of suffering only one coefficient quantization loss comes directly from the example algorithm where a direct 2-D approach is used instead of 2-D row-column decomposition methods. This advantage has been verified through extensive simulations with different quantization and rounding precisions. Furthermore, this high-accuracy can be achieved through straight forward computations and no artificial bias adjustments are required (as in [MW951).
- a 13-bit coefficient quantization and 16- bit finite internal wordlength was chosen, which makes this example algorithm a perfect candidate for VLSI hardware implementations.
- the 16-bit finite wordlength is the shortest one adopted by any 2-D DCT/IDCT chip implementation so far [Jan94, MW95, SL96, WC95 and Lee97]. If only the 2-D DCT implementation is desired, only 15 -bit finite internal wordlength is required by the example algorithm of the present invention.
- 2-D DCT can be computed directly through Eq. (3.14), (3.22), (3.52) and (3.25), while the 2-D IDCT can be computed through Eq. (3.14). (3.45), (3.52) and
- X ++ X j,i + X 7-j,i + X j,7-i + X 7-j,7-i,
- X — X j,i ⁇ X 7-j,i ⁇ X j,7-i + X 7-j,7-i
- the 2-D IDCT results can then be calculated by substituting Eq. (5.4) into E E, E r X oe O, O r X eo E and O r X 00 O in Eq. (3.49). And each element Zij of matrix Z is equal to
- one component for both the 2-D DCT and 2-D IDCT algorithms is still the 4x4 matrix multiplications unit: v 4x4 — r 4 ⁇ 4 U 4x4 4x4 and
- the first one can be realized by a shuffling device 1310 which carries out four pairs of additions/subtractions with a butterfly interconnection among each adder or subtractor.
- the second one is a 4x4 matrix multiplications unit (or sub-block operator).
- four sub-block operators 1320, 1330, 1340, and 1350 are required by the algorithm in this embodiment.
- This shuffling device (or shuffler) 1310 is used by the 2-D DCT operation to compute the matrix elements of matrices X ++ , X .+ , X +.
- the input, output and internal wordlength of the shuffler should be 16-bit according to one example implemenation. If the implementation is for 2-D DCT only, "a”, “b”, “c” and “d” would be 9-bit and "x ++ “, " + “, “x +. " and "x _” should be 11 -bit.
- each term of EX ++ E 7 EX + O 7 , OX + E r and OX O r is a "half-size" 4x4 matrix multiplication.
- each matrix element can be decomposed as 16 multiplications plus 15 additions.
- V 33 U 00 W 6 W 6 - U 01 W 2 W 4 + U 02 V 2 W 6 - U 03 W 6 W 6
- V 4x4 can be calculated in these 16 cycles by simply accumulating the multiplication result of the current input 1605 with one of the ⁇ ⁇ w 2 w 2 , w 2 w 4 , w 2 w 6 , w 4 w 4 , w 4 w 6 , w 6 w 6 ⁇ provided that circuit delays are ignored.
- the whole EE sub-block 1320 can be realized by 6 multipliers 1610, one 6-to- 16 multiplexer 1620 and 16 accumulators 1630 (one for each v, /5 0 ⁇ i, j ⁇ 3).
- 16 multiplexer 1620 which is controlled by a mux-selector signal 1615, will multiplex the 6 multiplication results 1625 onto the 16 accumulators 1630. Since only kl ⁇ v instead of ⁇ w A y is computed in above, each accumulator should be an adder/subtractor so that the ⁇ w w ⁇ y can be handled by the accumulator as either adding or subtracting u kl ⁇ tJ . Based on the add sub signal, the accumulator adds or subtracts the incoming data and gets reset every 16 cycles.
- the general structure of the EE sub-block is illustrated in Figure 16.
- the multiplication result of kl ⁇ 22 can be calculated using only adders as
- the 6-to-16 multiplexer 1620 shown in Figure 16 can be decomposed as 16 6-to-l multiplexers (each for one accumulator), which not only greatly simplifies the design task, but also reduces the complexity of physical layout and placement.
- Each 6-to-l multiplexer is controlled by one set of mux-selector codes which instruct the multiplexer to multiplex one and only one multiplication result onto the corresponding accumulator at each cycle. Take v 33 in Eq.
- each accumulator 1630 in Figure 16 is an adder/subtractor which is controlled by a set of add_sub signals and forced to reset after ⁇ ⁇ , is processed.
- the set of add_sub signals for matrix element v 33 in Eq. (5.8) is "+"
- data from each accumulator is 16 integer and 2-bit for decimal) for a combined 2-D DCT/IDCT implementation.
- the width can be reduced to 15 bits (14-bit for integer and 1-bit for decimal) for a 2-D DCT only implementation.
- the EE sub-block 1320 described above can also be used to compute E 7 X ee E for the 2-D IDCT computation without any structural modification.
- E 7 matrices B and C in Eq. (5.6) would be replaced by matrix E 7 instead of E, which has the same set of coefficients as matrix E but located in different positions and possibly with a different sign. This simply implies that the set of mux-selector codes being used to control the multiplexers and the sets of add_sub signals for the 16 accumulators will be different.
- the EO, OE and OO sub-block operators 1330-1350 can be implemented with a similar sub-block architecture as EE. From Eq. (3.10) it is known that while the matrix E only consists of even coefficient elements w 2 , w 4 and w 6 , the matrix O only has odd elements w protagonist w 3 , w 5 , and w 7 . So for the EO and OE sub-blocks, one of the coefficient in wpion w ⁇ is from even coefficient set ⁇ w 2 , w 4 , w 6 ⁇ and another is from odd coefficient set ⁇ wggi w 3 , w 5 , w 7 ⁇ , and every element in the EO and OE sub-blocks is the sum of products of multiplied with
- each sub-block operator consists of total 12 multipliers, one 12- to-16 multiplexer and 16 accumulators;
- both of the coefficients in w,w y are from odd coefficient set ⁇ w,, w 3 , w s , w 7 ), and every element in OO sub-block is the sum of products of u kl , multiplied with w,w,, w ⁇ w 3 , w ⁇ w s , w w ⁇ , w 3 w 3 , w 3 w 5 , w 3 w 7 , w 5 w 5 ,
- 4 16-to-l multiplexers (or output-mux) 1710 are needed and each can multiplex one out of sixteen accumulator results in each of EE, EO, OE and OO sub-blocks, respectively.
- the selected data (four in parallel) are then sent to the shuffler to carry out four pairs of addition/subtraction with a butterfly interconnection before the final results Zij are generated.
- These 4 16-to-l multiplexers 1720 can also be used for the 2-D DCT hardware implementation so only 4 output words would be sent out at each cycle and a balanced I/O scheme is achieved.
- an additional 64 latches 1710 are needed for temporary holding the sub-block results for 16 cycles.
- the latches 1710 would be positioned between the accumulators and the output-muxes 17. As soon as 16 consecutive accumulations are completed for the current W input data, the 64 latches would latch out the current data being generated in the 64 accumulators and free them up to carry out the accumulation task for next input data set.
- each latch is 16-bit long (for the 2-D DCT only case, the latch is 15 -bit long).
- each 16-bit output data is required to be truncated and saturated within the required data ranges of the 2-D DCT and 2-D IDCT.
- each word being multiplexed out from the latches is truncated to the nearest integer at first, followed by a saturation operation which clips the integer in the range of -2048 to +2047 (12-bit long for each).
- the 16- bit words, which are coming out from the shuffler are truncated to the nearest integers before the integers are saturated in the range of -256 to +255 (9-bit long for each).
- DCT's truncation & saturation control units (or clippers) 1730 are needed for 2-D DCT implementation, while four IDCT's truncation & saturation control units 1730 are needed for 2-D IDCT computation.
- One example implementation 1700 of the auxiliary modules is illustrated in Figure 17. 5.5 Architectures for DCT, IDCT and Combined DCT/IDCT
- a 2-D DCT algorithm can now be constructed with a concurrent pipelined architecture 1800 according to a further embodiment of the present invention (FIG. 18) .
- four input elements 1802, 1804, 1806, 1808 are fed into the DCT shuffler 1310, in which four pairs of addition/subtraction butterfly operations take place before the x ++ , x. + , x + _ and x cargo values are sent out.
- the output data from the shuffler 1310 are fed into EE, EO, OE and OO sub-blocks in parallel.
- the multiplications of u kl ⁇ y are carried out by 6—12 pseudo- multipliers and the multiplication results will be multiplexed on to 16 accumulators.
- the 16 output data from each sub-block are latched by 16 latches
- circuit modules can be used to implement the 2-D IDCT algorithm, given that the shuffler 1310 is moved below the output-muxes 1720 as shown in Figure 19.
- a combined 2-D DCT/IDCT implementation can be easily constructed according to a further embodiment of the present invention.
- Four more input-muxes 2010 and four more inter-muxes 2030 are required to switch back and forth between the DCT data and the IDCT data for the combined 2-D DCT/IDCT implementation.
- IDCT and DCT truncation and saturation control unites (or clippers) can each be a clipper 1730 as described above.
- the combined architecture according to a further embodiment of the present invention is shown in Figure 20.
- the combined 2-D DCT/IDCT implementation does have a highly modular, regular and concurrent architecture.
- All processing units in Figure 20 are 100% sharable between the 2-D DCT and the 2-D IDCT operations.
- the processing speed of each module is perfectly balanced with four samples per cycle I/O rate.
- this pipelined implementation can achieve 4 samples/cycle throughput for both the 2-D DCT and 2-D IDCT operations.
- the shuffler is used in the combined 2-D DCT/IDCT scheme to accomplish the computations in Eq. (5.7). Since four adders and four subtractors are arranged in a two layer structure, the latency between the input and output might be two clock cycles. But it can be reduced to one cycle if fast adders and subtractors are used in order to decrease the system delay.
- the design task can be greatly simplified because the EO and the OE subblocks have identical structure, as well as the 64 accumulators in the four sub-blocks are also identical. It has been shown that there is no communication interconnections between the sub- blocks. Consequently, localized interconnection has been achieved with this architecture.
- each sub-block can be freed up to start process next set of input data as soon as the last input data in the current data set are processed, which results in twice as high the system throughput rate. Without the accumulator latches, each sub-block would have to pause for 16 cycles before it can start to process next set of input data, since it takes 16 cycles to retrieve all the 64 data in the accumulators by the output-muxes.
- the circuit synthesis will be relatively simple since an example implementation only uses adders, subtractors and multiplexers and all of them are 100% sharable between 2-D DCT and 2-D IDCT operations.
- the only overhead for the combined 2-D DCT/IDCT implementation is four input-muxes and four inter-muxes, which are used to switch back and forth between the DCT data and the IDCT data.
- the modularity, regularity, concurrency and localized interconnection of the architecture according to the present invention make it well suited for VLSI implementation.
- Compiler ® and the pre-layout gate-level simulation result shows that the implementation can achieve 800 million samples per second throughput with only 7-cycle circuit delay.
- HDLs hardware description languages
- EDA Electronic Design Automation
- a methodical approach to system implementations can be formulated as a synthesis-oriented solution which has been enormously successful in the design of individual integrated circuit chips.
- a synthesis approach for hardware begins with systems described at the behavioral level and/or register transfer level (RTL) by means of appropriate procedural hardware description languages.
- RTL register transfer level
- logic synthesis is the process of transforming functionality which is initially described in HDL to an optimized technology specific netlist.
- step 2120 the simulations of the high-level description are carried out (step 2120) to verify that the designed functionalities can be achieved, the high-level description would be further translated down to some detailed hardware which only consist of basic logic gates (step 2130).
- the outcome of the logic synthesis is a gate-level description that can be implemented as a single chip or as multiple chips (step 2140).
- the use of logic synthesis has made it possible to effectively translate designs captured in these high-level languages to designs optimized for area and/or speed.
- logic synthesis tools facilitate the capture of designs in a parameterizable and re-usable form.
- logic synthesis makes it possible to retarget a given design to new and emerging semiconductor technologies.
- the synthesis-oriented approach which is highlighted in Figure 21, has been gaining wide acceptance in recent years.
- circuit design and synthesis of an example algorithm according to the present invention are carried out in the following sections.
- section 6.2 the circuit design specifications for major components, plus the necessary communication hand-shaking signals, are discussed in detail.
- the RTL programming and simulation result of the example algorithm are also carried out in the section.
- section 6.3 logic synthesis of an example circuit implementation is performed and the synthesis result is verified by prelayout gate-level simulation. A brief summary of this section is presented in section 6.4.
- RTL register transfer level
- Gate-level design and simulation are usually related to the circuits down to the detail of logic gates, and the unit of data on the signals is the bit (single register). Since detailed functionality and finite wordlength simulations have been carried out in Section 4, the behavioral design and simulation of the proposed algorithm can be skipped here. Instead, all the design and simulation efforts in this section will focus on the RTL description.
- HDL code can be behavioral or RTL, the latter is usually considered to be the synthesizable form of HDL code in the synthesis domain.
- the key components of the example algorithm implementation will be captured with HDL codes, and then be simulated.
- the HDL codes might have to be modified slightly in order to achieve more efficient synthesized gate combinations.
- the shuffler can be implemented with 4 adders and 4 subtractors positioned in two layers.
- the top layer consists of 2 adders and 2 subtractors, and the bottom layer also consists of 2 adders and 2 subtractors.
- the functionality of the shuffler can be captured with Verilog hardware description language as
- each sub-block operator consists of 6-12 pseudo-multipliers (in which each pseudo-multiplier can be implemented with a few hardwired adders/subtractors), 16 x-to-1 multiplexers and 16 16-bit accumulators.
- ⁇ 13-bit approximations for the coefficients ⁇ (/ as shown in Table 4.10, it can clearly be seen that it is always possible to implement any pseudo-multiplier with at most 7 adders and subtractors. If one arranges these 7 adders and subtractors into a 3 layers configuration similar to the shuffler, then each pseudo-multiplier can also be implemented with a pipelined structure that has no more than 3 -cycle circuit delay. The output results from the pseudo- multipliers will be multiplexed onto the 64 accumulators and one more cycle delay is allowed to be associated with multiplexing and accumulating operations.
- the 6-to- 1 multiplexer which is the second key component module in the EE subblock, can easily be coded with Verilog HDL since it consists of pure combinational logic.
- the six input data for the multiplexer come from six pseudo-multipliers in the EE subblock, and one and only one of them will be selected as module output based on the current mux-selector value.
- the 16-bit accumulator which is the third key component module in the
- EE -sub-block,-- would add/subtract the current input data into/from previous accumulated results stored in it.
- the accumulator has to be reset every 16-cycle in order to get a fresh start for next set of input data.
- the HDL code for this functionality is
- a finite state machine with 16 distinguish states is employed to hold the current state and generate the mux-selector, reset and add-sub selector signals.
- the values of mux-selector, reset and add-sub selector for 16 different states can be pre-calculated with Eq. (5.8) and Eq. (3.8).
- the detailed HDL coding for 4 sub-blocks reveals that a total of 82 adders and subtractors are needed to implement the 40 multipliers u k! ⁇ 22 in the EE, EO, OE and OO sub-blocks, which is equivalent to average of 2.05 adders/subtractors for each multiplication.
- 64 16-bit adder/subtractors are also needed.
- Each processing element (PE) in these 4 sub-blocks which might be an adder, subtractor or accumulator, is balanced since the computation time of each PE equals the I/O time required by the data transmission. Except in multiplexer modules, all the registers used in sub-blocks implementation will eventually be replaced by positive edge triggered flip flops. 6.2.3 HDL Design for Auxiliary Components
- auxiliary components are required by one example combined 2-D DCT/IDCT implementation.
- 64 16-bit latches are used to latch and hold the sub-blocks' output data for 16 cycles when accumulator-ready-to-send signal is asserted.
- the 4 16-to-l output-multiplexers are used to select 4 latched data out in each cycle, and each of them can be coded similar to the 6-to- 1 multiplexer discussed in section 6.2.2.
- truncation & saturation control units are required by both 2-D DCT and IDCT operations and each can be built with an incrementor and simple clipping circuit.
- the input-multiplexer and intermediate-multiplexer shown in Figure 20 can be made up of a simple 2-to-l multiplexer controlled by
- Verilog hardware description language is carried out with Cadence's Verilog- XL ® simulation tool [Cad].
- a "top” module i.e. stayed on top of the combined 2-D DCT/IDCT module
- the signal “sel_dct” is controlled by the “top” module to indicate whether DCT or LDCT computation is desired.
- the "top” module will start to feed input data into the tested module as soon as the input ready-to-receive signal "inp_rtr” is asserted by the tested module. It takes 16 cycles to complete the data feeding of one set of input data.
- the output ready-to-send signal "out_rts" will be asserted by the tested module when the 2-D DCT/IDCT computation for one set of input data is finished and the valid output results are available. Then, the "top” module starts to capture the output data from the tested module and compare them with pre-calculated 2-D DCT/IDCT results. 4 input data elements are being fed to and 4 output element are being captured from the tested module in each clock cycle. If any inconsistencies are detected, the comparison error signal "cmp_err” will assert from low to high.
- the "top” module also generates a 200 MHz frequency system clock.
- the consecutive sets of input data could be loaded into the tested module continuously. In the simulation, consecutive data sets are separated by a random number of clock cycles in the range from 0 to 3. With a 200 MHz clock, the maximum throughput of this combined 2-D DCT/IDCT module is 800 million samples per second for both DCT and IDCT operations.
- mul_rts indicates that the output data from the multipliers are valid at the rising edges of the clock when the signal "muljrts” is asserted.
- Another finite state machine is employed here to track the current accumulator state "acc_st[3:0]", which increments by one after the positive edge of the clock to show that a accumulation operation has completed; (e) At the positive edge of the clock, the last 4 data from the first input data set are fetched into the tested module. The input ready-to-receive signal "inp_rtr” is asserted again to indicate that the tested module is ready for next input data set;
- the 4 DCT output data in each cycle are compared to the pre-calculated DCT results and any inconsistency will trigger a comparison error signal "cmp_err".
- the comparison counter "crnp _snt" is be used to track how many comparisons have been made;
- the signal waveforms are illustrated in Figure 23.
- the signal "sel_dct" is set low here to indicate the desired operation is a 2-D IDCT.
- the 2-D IDCT results based on the second input data set are available and will be shifted out in total of 16 consecutive cycles as long as the output ready-to-send signal "out-rts" remains high. Not a single comparison error has been detected in the 2-D IDCT HDL simulation, either.
- Logic synthesis is a process which is primarily intended to be used in the design of digital integrated circuits, in particular, ASIC devices.
- logic synthesis software tools are used with specialized languages such as Verilog and VHDL to efficiently describe and simulate the desired operation of the circuit.
- the synthesis tools can then automatically generate the gate-level logic schematics, based on appropriate HDL descriptions.
- the fact that much of the detail work is automated leads to an improvement in the overall design process in terms of helping to manage the complexity and improving the productivity and accuracy [KA95].
- the validated HDL code is first translated into a generic netfist and some Boolean expressions.
- the generic neffist consists of some basic elements which are described in a generic library.
- the concept ofthe generic nedist allows for the original design to be transformed or optimized depending on custon-dzed constraints.
- the entire set of Boolean equations is minimized by grouping common terms and simplifying. If the idea is to achieve a better control ofthe tin-ling performance, the levels of logic gate level are reduced even if this transformation implies duplicating certain expressions.
- the resulting description has to be mapped onto a physical target library (or technology library) .
- the HDL coded 2-D DCT/IDCT functionality is synthesized with Synopsys's Design Compiler ® tool ([Syn96]) based on a , single-edge triggered 200MHz system clock.
- the technology library used in the synthesis is TSMC's 3.3v 0.35 ⁇ m CMOS library.
- Bottom-up plus timing-budget strategy is adopted in the synthesis process since the goal of this synthesis process is not to generate the smallest nethst, but to verify the feasibility ofthe HDL coded 2-D DCT/IDCT module. Since the 200MHz system clock is adopted in the synthesis, all the critical path delays within the module should be less than 5ns.
- Shuffler consists of 4 adders and 4 subtractors with a butterfly connection. Simple ripple-carry adders and subtractors are selected by the Design Compiler ® in the synthesis in order to reduce the complexity and silicon area ofthe design, provided the timing requirements are met for each critical path. The circuit latency associated with this module is 2 cycles. An 2ns input delay constraint is applied to the 2 adders and 2 subtractors in the top layer since the input data may also come from the output- multiplexers in the 2-D IDCT case. The critical path delay reported here is 2.13ns.
- Sub-block Operators consist of 40 pseudo-multipliers (6 for EE sub-block, 12 for EO sub-block, 12 for OE sub-block and 10 for 00 sub-block), 16 6-to-l, 32 12-tol, 16 10-to-l multiplexers and 64 16-bit accumulators (adder/subtractor).
- Simple ripple-carry adders, subtractors and adder/subtractors are selected by Design Compiler ® in the synthesis in order to reduce the complexity and silicon area ofthe design, provided that the timing requirements are met for each critical path.
- the latency associated with each pseudo-multiplier is 3 cycles, and the latency associated with each combined multiplexer/accumulator is 1 cycle.
- the critical path delays for the pseudo-multipliers and combined multiplexer/accumulators are reported as 4.55ns and
- the total combinational and noncombinational area for total of 40 pseudo-multipliers is 51600 units (about 17200 gates). And the total combinational and noncombinational area for 64 multiplexer/accumulators is reported as 126300 units (about 42100 gates);
- Output-Muxes consist of 4 16-to-l multiplexers.
- the critical path delay for the 16to-l multiplexer is reported as 1.91ns.
- the total noncombinational area for 4 multiplexers is reported as 6096 units (about 2032 gates);
- Truncation & Saturation Control Units consist of 4 DCT truncation & saturation control units and 4 IDCT truncation & saturation control units. Simple ripple-carry incrementors are used for all truncation operations. 1 cycle circuit delay is required in this stage. An 2ns input delay constraint is applied to the DCT truncation & saturation control modules since the input data for them come directly from output-multiplexers. The critical path delay for truncation and saturation is reported as (1.75+0.25)ns. The total combinational and noncombinational area is reported as
- DCT/IDCT module consume about 5.7mm 2 silicon area. If place-and-route factor, which is determined by a chip manufacturer as 1.2 for this technology library, is taken into account in the area estimation, the estimated final chip size of the combined 2-D DCT/IDCT example implementation would be 6.84mm 2 (1.2x5.7mm 2 ).
- the critical paths timing results achieved in the synthesis have indicated that the combined 2-D DCT/IDCT synthesis process is over-constrained in one example.
- a smaller chip size can be achieved by relaxing some synthesis constraints or applying characterized constraints to each submodule and recompiling it with Design Compiler (using characterize and recompile approach).
- a relative chip area is used that can be calculated as the ratio ofthe core area over the smallest unit area employed by chip manufacturers (which is based on the channel width, for 0.8 ⁇ m technology, the unit area is 0.64).
- a relative-area/throughput is also defined as the ratio between the relative chip area and the system throughput ofthe implementation. Using the parameters listed in Table 6.1, the new ratios can be generated shown in Table 6.2.
- the HDL design of the proposed algorithm starts by coding its functionalities in the Verilog hardware description language. Detailed Verilog codes for some, key components ofthe proposed algorithm have been included in this section.
- the captured 2-D DCT/IDCT functionality can be simulated with Cadence's Verilog-XL ® simulation tool.
- the logic synthesis of the combined 2-D DCT/IDCT module has been carried out based on the validated RTL code.
- the technology library used in the synthesis process is TSMC's 3.3v 0.35gm CMOS library. And bottom-up plus timing-budget strategy is adopted in the synthesis process.
- Synopsys Design Compiler ® tool the HDL coded 2-D DCT/IDCT module is synthesized based on a single-edge triggered 200 MHz system clock.
- the structural HDL code of combined 2-D DCT/IDCT module is generated from the logic synthesis process, and the gate-level simulation with the generated structural code has proved that the original desired functionality ofthe algorithm has been respected.
- D DCT or IDCT processors developed so far have made use ofthe separability property ofthe 2-D DCT or IDCT, i.e. based on Row-Column Method (RCM) approach, the 2-D DCT/IDCT operation is decomposed as two separated 1-D DCT/IDCTs and each.
- 1-D DCT/IDCT would be further realized by relatively simple, regular structure with relative low design and layout cost.
- the chip implementations based on RCM have a major drawback: throughput rate of them are relatively low because intermediate memory component and serial I/O mode are adopted in almost all these RCM approaches.
- the maximum throughputs of 2-D DCT/IDCT processors based on RCM so far are about 100 million samples per second, which fail to meet the 2-D DCT/IDCT throughput requirements for
- MPEG-2 MP@H-14, MP@HL, HP@H-14 and HP@HL specifications which demand more than 100 million samples per second throughput rate for 2-D 8x8 DCT or IDCT.
- the 2-D DCT/IDCT algorithm and its hardware implementation according to the present invention can achieve much higher throughput rate by adopting paralleled I/O mode and pipelined architecture without using any intermediate memory component.
- this algorithm of the present invention is not only more computation efficient and requires a smaller number of multiplications, but also can achieve higher computation precision with the shorter finite internal wordlength compared with other RCM algorithms.
- one example hardware implementation of this algorithm only requires simple localized communication interconnection among its processing elements instead of complex global communication interconnection that prevents other, direct 2-D DCT/IDCT algorithms from being implemented in VLSI chips.
- the HDL simulation and logic synthesis results show that one example hardware implementation of this algorithm is one ofthe first successful attempts to map a direct 2-D DCT/IDCT algorithm onto silicon.
- the algorithm and its hardware implementation according to the present invention have some advantages over other 2-D DCT/IDCT processors: (1) The development of this algorithm and its hardware implementation, in one embodiment, is targeted to the application of MPEG-2 MP@H-14, MP@HL, HP@H-14 and HP@HL specifications. By employing the concurrent pipelined architecture, the synthesized chip implementation can achieve 800 million samples per second (i.e. 12,500,500 8x8 blocks DCT or
- IDCT per second high throughput when driven by a single-edge triggered 200 MHz clock, which guarantees it to be able to meet any current or near future HDTV requirements;
- the relatively small latency (only a few cycles circuit delay) makes it a perfect candidate for real-time video applications;
- the direct 2-D coefficient matrix factorization decomposition approach allows the 2D DCT/IDCT operation to be carried out with only one coefficient approximation and one truncation losses. Compared with row/column transforms of two 1-D DCT/IDCT calculations, the accumulative errors have been cut dramatically so as to achieve much better precision (about 40 dB mean SNR) with the same or shorter finite internal wordlength;
- All the processing elements (PEs) in one example 2-D DCT/IDCT chip implementation are 100% sharable between 2-D DCT and 2- D IDCT operations.
- the key execution units of one example 2-D DCT/IDCT chip implementation according to the present invention consist of total 90 adders and subtractors, as well as 64 adders/subtractors as accumulators. Based on TSMC's 3.3v 0.35 ⁇ m CMOS library, the estimated chip area of this example 2-D DCT/IDCT implementation is about 6.84mm 2 .
- the contributions of this invention can be combined with future works on hybrid MPEG-2 video codec implementation.
- the present invention can be combined with any conventional and further implementations of quantization and inverse quantization in a MPEG encoding/decoding process. Quantization and inverse quantization can be integrated into the 2-D DCT/IDCT chip since both of them are parallel operations in nature.
- the present invention can be combined with conventional and future developed motion estimation in a MPEG encoding process.
- Motion estimation can be combined with the present invention to be carried out by hardware component.
- the estimated chip area can be reduced to about 1/2 of its original size when the RTL design is re-synthesized with a single-edge triggered 100 MHz system clock instead ofthe 200MHz one. And the 100 MHz driven the processor still has higher throughput than most other 2-D DCT/IDCT chip implementations.
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Computational Mathematics (AREA)
- Pure & Applied Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Theoretical Computer Science (AREA)
- Discrete Mathematics (AREA)
- Algebra (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Abstract
Description
Claims
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US09/402,367 US6587590B1 (en) | 1998-02-02 | 1999-02-02 | Method and system for computing 8×8 DCT/IDCT and a VLSI implementation |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US7336798P | 1998-02-02 | 1998-02-02 | |
| US60/073,367 | 1998-02-02 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| WO1999039303A1 WO1999039303A1 (en) | 1999-08-05 |
| WO1999039303A9 true WO1999039303A9 (en) | 1999-10-07 |
Family
ID=22113288
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/US1999/002186 WO1999039303A1 (en) | 1998-02-02 | 1999-02-02 | Method and system for computing 8x8 dct/idct and a vlsi implementation |
Country Status (2)
| Country | Link |
|---|---|
| US (1) | US6587590B1 (en) |
| WO (1) | WO1999039303A1 (en) |
Families Citing this family (55)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6005916A (en) * | 1992-10-14 | 1999-12-21 | Techniscan, Inc. | Apparatus and method for imaging with wavefields using inverse scattering techniques |
| WO1999012292A1 (en) * | 1997-08-29 | 1999-03-11 | Sgs-Thomson Microelectronics Asia Pacific (Pte) Ltd. | Fast synthesis sub-band filtering method for digital signal decoding |
| US6754277B1 (en) * | 1998-10-06 | 2004-06-22 | Texas Instruments Incorporated | Error protection for compressed video |
| US6807310B1 (en) * | 2000-05-23 | 2004-10-19 | The Board Of Trustees Of The University Of Illinois | Transformation of image parts in different domains to obtain resultant image size different from initial image size |
| US6930689B1 (en) * | 2000-12-26 | 2005-08-16 | Texas Instruments Incorporated | Hardware extensions for image and video processing |
| US7660510B2 (en) * | 2000-12-28 | 2010-02-09 | Sony Corporation | Device for creating content from multiple video and/or audio materials and method therefor |
| US6766342B2 (en) * | 2001-02-15 | 2004-07-20 | Sun Microsystems, Inc. | System and method for computing and unordered Hadamard transform |
| US7020672B2 (en) * | 2001-03-30 | 2006-03-28 | Koninklijke Philips Electronics, N.V. | Reduced complexity IDCT decoding with graceful degradation |
| US20020191845A1 (en) * | 2001-06-19 | 2002-12-19 | Talley Harlan A. | Method and apparatus for improving decompression and color space conversion speed |
| JP3971135B2 (en) * | 2001-07-11 | 2007-09-05 | 株式会社テクノマセマティカル | DCT matrix decomposition method and DCT apparatus |
| DE60210894T2 (en) * | 2001-09-25 | 2006-11-30 | Koninklijke Philips Electronics N.V. | Filter circuit for video data in the frequency domain |
| WO2003038656A2 (en) * | 2001-10-29 | 2003-05-08 | Parthusceva Ltd. | Method and apparatus for performing spatial-to-frequency domain transform |
| JP4099974B2 (en) * | 2001-10-30 | 2008-06-11 | 日本電気株式会社 | Method, apparatus, and program for verifying equivalence between behavior level description and register transfer level description |
| US7042942B2 (en) * | 2001-12-21 | 2006-05-09 | Intel Corporation | Zigzag in-order for image/video encoder and decoder |
| US7403981B2 (en) * | 2002-01-04 | 2008-07-22 | Quicksilver Technology, Inc. | Apparatus and method for adaptive multimedia reception and transmission in communication environments |
| US7065546B2 (en) * | 2002-04-09 | 2006-06-20 | Sony Electronics Inc. | Method of performing quantization within a multimedia bitstream utilizing division-free instructions |
| WO2004064405A1 (en) * | 2003-01-14 | 2004-07-29 | Nippon Telegraph And Telephone Corporation | Encoding method, decoding method, encoding device, and decoding device |
| JP3938054B2 (en) * | 2003-01-17 | 2007-06-27 | セイコーエプソン株式会社 | Computer-readable storage medium on which data having an image data structure is recorded, image recording method, apparatus, and program |
| US7620674B2 (en) * | 2003-03-07 | 2009-11-17 | Sensys Medical, Inc. | Method and apparatus for enhanced estimation of an analyte property through multiple region transformation |
| US7609297B2 (en) | 2003-06-25 | 2009-10-27 | Qst Holdings, Inc. | Configurable hardware based digital imaging apparatus |
| US7080348B2 (en) * | 2003-06-27 | 2006-07-18 | Agilent Technologies, Inc. | Creating polynomial division logical devices |
| EP1642235A1 (en) * | 2003-06-30 | 2006-04-05 | Koninklijke Philips Electronics N.V. | Method of encoding a signal into a bit stream |
| US7330866B2 (en) * | 2003-07-01 | 2008-02-12 | Nvidia Corporation | System for frequency-domain scaling for discrete cosine transform |
| US20050114818A1 (en) * | 2003-11-21 | 2005-05-26 | Lsi Logic Corporation | Chip design command processor |
| US8069201B2 (en) * | 2003-11-25 | 2011-11-29 | Texas Instruments Incorporated | 8×8 transform and quantization |
| TWI227840B (en) * | 2003-12-03 | 2005-02-11 | Via Tech Inc | Method and apparatus for multiplying based on Booth's algorithm |
| US8335811B2 (en) * | 2004-03-04 | 2012-12-18 | Broadcom Corporation | Method and system for high fidelity IDCT and DCT algorithms |
| US7512536B2 (en) * | 2004-05-14 | 2009-03-31 | Texas Instruments Incorporated | Efficient filter bank computation for audio coding |
| CN1981534B (en) * | 2004-06-08 | 2011-04-13 | 松下电器产业株式会社 | Image encoding device, image decoding device, and integrated circuit used therein |
| JP4378245B2 (en) * | 2004-08-23 | 2009-12-02 | キヤノン株式会社 | Data conversion apparatus and method |
| JP5006633B2 (en) * | 2006-03-10 | 2012-08-22 | キヤノン株式会社 | Image encoding apparatus, image encoding method, program, and storage medium |
| US8385424B2 (en) | 2006-06-26 | 2013-02-26 | Qualcomm Incorporated | Reduction of errors during computation of inverse discrete cosine transform |
| US8699810B2 (en) | 2006-06-26 | 2014-04-15 | Qualcomm Incorporated | Efficient fixed-point approximations of forward and inverse discrete cosine transforms |
| RU2419855C2 (en) * | 2006-06-26 | 2011-05-27 | Квэлкомм Инкорпорейтед | Reducing errors when calculating inverse discrete cosine transform |
| US20080018624A1 (en) * | 2006-07-07 | 2008-01-24 | Honeywell International, Inc. | Display for displaying compressed video based on sub-division area |
| US7920086B2 (en) * | 2006-07-07 | 2011-04-05 | Honeywell International Inc. | Display for displaying compressed video |
| US8250618B2 (en) * | 2006-09-18 | 2012-08-21 | Elemental Technologies, Inc. | Real-time network adaptive digital video encoding/decoding |
| US8300698B2 (en) | 2006-10-23 | 2012-10-30 | Qualcomm Incorporated | Signalling of maximum dynamic range of inverse discrete cosine transform |
| US8451897B2 (en) * | 2006-12-04 | 2013-05-28 | Atmel Corporation | Highly parallel pipelined hardware architecture for integer and sub-pixel motion estimation |
| US8165224B2 (en) * | 2007-03-22 | 2012-04-24 | Research In Motion Limited | Device and method for improved lost frame concealment |
| EP2148622A4 (en) * | 2007-05-15 | 2013-11-27 | Biotex Pharma Investments Llc | Improved imaging system |
| TWI333169B (en) * | 2007-07-06 | 2010-11-11 | Quanta Comp Inc | Image recognition method and image recognition apparatus |
| US8184715B1 (en) | 2007-08-09 | 2012-05-22 | Elemental Technologies, Inc. | Method for efficiently executing video encoding operations on stream processor architectures |
| US8121197B2 (en) * | 2007-11-13 | 2012-02-21 | Elemental Technologies, Inc. | Video encoding and decoding using parallel processors |
| US20100104006A1 (en) * | 2008-10-28 | 2010-04-29 | Pixel8 Networks, Inc. | Real-time network video processing |
| US8417045B2 (en) * | 2010-07-29 | 2013-04-09 | Infoprint Solutions Company Llc | Mechanism for processing order-16 discrete cosine transforms |
| US8995532B2 (en) | 2010-09-30 | 2015-03-31 | Texas Instruments Incorporated | Low complexity large transform |
| CN102510489B (en) * | 2011-09-21 | 2013-08-21 | 北京航空航天大学 | Method for realizing image compression based on folding flow line wavelet transformation |
| US10642921B2 (en) * | 2011-11-03 | 2020-05-05 | Texas Instruments Incorporated | Unified forward and inverse transform architecture |
| EP3474546B1 (en) * | 2012-10-01 | 2022-01-19 | GE Video Compression, LLC | Scalable video coding using inter-layer prediction of spatial intra prediction parameters |
| US10860683B2 (en) | 2012-10-25 | 2020-12-08 | The Research Foundation For The State University Of New York | Pattern change discovery between high dimensional data sets |
| US9326000B2 (en) * | 2014-07-02 | 2016-04-26 | Omnivision Technologies (Shanghai) Co., Ltd. | Method and system for still image encoding and random access decoding |
| US10904573B2 (en) * | 2017-11-30 | 2021-01-26 | Embry-Riddle Aeronautical University, Inc. | Reduced multiplicative complexity discrete cosine transform (DCT) circuitry |
| DE102019103344B4 (en) | 2019-02-11 | 2021-02-18 | Sick Ag | Positioning system |
| WO2025015116A2 (en) * | 2023-07-11 | 2025-01-16 | Op Solutions, Llc | Systems and method for decoded frame augmentation for video coding for machines with dct filtering for map |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH04236664A (en) * | 1991-01-18 | 1992-08-25 | Sony Corp | Arithmetic circuit |
| US5539836A (en) * | 1991-12-20 | 1996-07-23 | Alaris Inc. | Method and apparatus for the realization of two-dimensional discrete cosine transform for an 8*8 image fragment |
| US5668748A (en) * | 1995-04-15 | 1997-09-16 | United Microelectronics Corporation | Apparatus for two-dimensional discrete cosine transform |
-
1999
- 1999-02-02 WO PCT/US1999/002186 patent/WO1999039303A1/en active Application Filing
- 1999-02-02 US US09/402,367 patent/US6587590B1/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| WO1999039303A1 (en) | 1999-08-05 |
| US6587590B1 (en) | 2003-07-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6587590B1 (en) | Method and system for computing 8×8 DCT/IDCT and a VLSI implementation | |
| Lee et al. | A cost-effective architecture for 8/spl times/8 two-dimensional dct/idct using direct method | |
| Hung et al. | A comparison of fast inverse discrete cosine transform algorithms | |
| Gong et al. | New cost-effective VLSI implementation of a 2-D discrete cosine transform and its inverse | |
| KR100270799B1 (en) | Discrete cosine transform / inverse discrete cosine transform processor | |
| Masera et al. | An area-efficient variable-size fixed-point DCT architecture for HEVC encoding | |
| US5854757A (en) | Super-compact hardware architecture for IDCT computation | |
| Dias et al. | Unified transform architecture for AVC, AVS, VC-1 and HEVC high-performance codecs | |
| Atitallah et al. | Optimization and implementation on FPGA of the DCT/IDCT algorithm | |
| US7756351B2 (en) | Low power, high performance transform coprocessor for video compression | |
| Chang et al. | A fast algorithm-based cost-effective and hardware-efficient unified architecture design of 4× 4, 8× 8, 16× 16, and 32× 32 inverse core transforms for HEVC | |
| Ruiz et al. | Parallel-pipeline 8/spl times/8 forward 2-D ICT processor chip for image coding | |
| Mohd-Yusof et al. | Implementation of two dimensional forward DCT and inverse DCT using FPGA | |
| Taylor et al. | Design for the discrete cosine transform in VLSI | |
| Le et al. | Flexible architectures for DCT of variable-length targeting shape-adaptive transform | |
| Dang et al. | BinDCT and its efficient VLSI architectures for real-time embedded applications | |
| Reznik et al. | Design of fast transforms for high-resolution image and video coding | |
| Lee et al. | Circuit implementation for transform and quantization operations of H. 264/MPEG-4/VC-1 video decoder | |
| Lee et al. | Inverse discrete cosine transform architecture exploiting sparseness and symmetry properties | |
| Lee et al. | Design of high-performance transform and quantization circuit for unified video CODEC | |
| Younesi et al. | Area-efficient HEVC core transform using multi-sized and reusable DCT architectures | |
| Pan | A new fast 2-D DCT/IDCT algorithm and its VLSI implementation | |
| Ruiz et al. | High throughput parallel-pipeline 2-D DCT/IDCT processor chip | |
| Bhattacharya et al. | A VLSI implementation of the inverse discrete cosine transform | |
| Lin | VLSI Implementation of a Pipelined Forward/Inverse DCT |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| AK | Designated states |
Kind code of ref document: A1 Designated state(s): CA JP US |
|
| AL | Designated countries for regional patents |
Kind code of ref document: A1 Designated state(s): AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE |
|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application | ||
| AK | Designated states |
Kind code of ref document: C2 Designated state(s): CA JP US |
|
| AL | Designated countries for regional patents |
Kind code of ref document: C2 Designated state(s): AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE |
|
| COP | Corrected version of pamphlet |
Free format text: PAGES 1/19-19/19, DRAWINGS, REPLACED BY NEW PAGES 1/29-29/29; DUE TO LATE TRANSMITTAL BY THE RECEIVING OFFICE |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 09402367 Country of ref document: US |
|
| 122 | Ep: pct application non-entry in european phase |