Two-dimensional discrete cosine transform using SIMD instructions
Abstract
A method is disclosed for performing a discrete cosine transform (DCT) using a microprocessor having an instruction set that includes SIMD floating point instructions. In one embodiment, the method includes: (1) receiving a block of integer data having C columns and R rows; and (2) for each row, (a) loading the row data into registers; (b) converting the row data into floating point form so that the registers each hold two floating point row data values; and (c) using SIMD floating point instructions to perform weighted-rotation operations on the values in the registers. Suitable SIMD floating point instructions include the pswap, pfmul, and pfpnacc instructions. For the row-DCT, the data values are preferably ordered in the registers so as to permit the use of these instructions. For the column-DCT, two columns are preferably processed in parallel using SIMD instructions to improve computational efficiency. An intermediate buffer may be used to avoid unnecessary conversions between integer and floating point format.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 17 · Forward citations: 10.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of performing a two-dimensional discrete cosine transform (DCT) using a microprocessor having an instruction set that includes single-instruction multiple-data (SIMD) floating point instructions, wherein the method comprises: receiving a two-dimensional block of integer data having C columns and R rows, wherein each of the R rows contains a set of C row data values, wherein the block of integer data is indicative of a portion of an image, wherein each of C and R is an even integer; and for each row, loading the entire set of C row data values of the row into a set of C/2 registers of
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (10 of 10 total)
References Cited — Backward Prior Art (17)
Non-Patent Literature (5)
- "3DNow!(TM) Fact Sheet," (C)2001 Advanced Micro Devices, Inc., p. 1, http:/ /www.amd.com/products/cpg/3dnow/factsheet.html.
- "3DNow!(TM) Technology in Microsoft DirectX 6.x," (C)2001 Advanced Micro Devices, Inc. pp. 1-6, http:/ /www.amd.com/products/cpg/3dnow/3ddirectx.html.
- "3DNow!(TM) Technology Manual", (C)2000 Advanced Micro Devices, Inc., pp. 1-62.
- "AMD Extensions to the 3DNow!(TM) and MMX(TM) Instructions Sets Manual", (C)2000 Advanced Micro Devices, Inc., pp. 1-36.
- "AMD3DNow!(TM) Frequently Asked Questions," (C)2001 Advanced Micro Devices, Inc., p. 1, http:/ /www1.amd.com/products/cpg/result/1,1265,168,00.html.