Method and apparatus for performing a pixel averaging instruction
Abstract
In an embodiment, a functional unit including a compressor section and a 36-bit SIMD adder is used to perform a STMD four-pixel averaging instruction. The functional unit generates four four-pixel averages. Four pixel values and a rounding value are compressed into a sum and a carry vector. The two least significant bits of the sum vector and the LSB of the carry vector are dropped before being input to the 36-bit SIMD adder. The two resultant 8-bit vectors are added by the 36-bit adder to directly generate the average pixel value result.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 2.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method comprising: compressing a plurality of pixel values and a rounding vector into a first sum vector and a first carry vector; discarding a least significant bit of the first carry vector; discarding a two least significant bits of the first sum vector; and adding the first sum vector and the first carry vector to generate a pixel average value.
- Claim 2Depends on #1
The method of claim 1 , wherein said adding the first sum vector and the first carry vector is performed with a Single-Instruction/Multiple-Data (SIMD) adder.
- Claim 3Depends on #1
The method of claim 1 , wherein said compressing a plurality of pixel values and a rounding vector comprises compressing four pixel values and a rounding vector.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 2009097771 A1 | In-place averaging of packed pixel data | — | 5 |
| US 8,036,484 B2 | In-place averaging of packed pixel data | 2011 | 2 |
References Cited — Backward Prior Art (11)
Non-Patent Literature (2)
- "Using MMXtm Instructions to Implement Optimized Motion Compensation for MPEG1 Video Playback", MMX Technology Application Noted [Online], hrttp://www.cae.wisc.edu/~ece734/mmx/AP-529.html (2003).
- Smith, Roger, "Optimizing Video on Servers Using Intel(R) NetBurst(TM) Microarchitecture", Intel Optimizing Center [Online], http://www.portals.devx.com/Intel/Article/6681/2217?pf=true (2003).