Integer-based 18-bit RGB to 5-bit gray scale conversion device and method therefor
Abstract
A device and method for converting 18-bit RGB data to 5-bit gray scale data is disclosed. This device and method comprises a barrel shifter, an adder, a palette storage register, and control logic. The red data is loaded first into the barrel shifter, and is shifted, added and stored in the palette storage register. The green data is then loaded into the barrel shifter and is shifted and added to the value stored in the palette storage register. The blue data is then loaded into the barrel shifter and is shifted and added to the value stored in the palette storage register, thereby completing the conversion. The five most significant bits of the six-bit palette storage register are output as gray scale data. The shifting and adding of these six-bit integers allow a binary approximation of the appropriate coefficients for each block of color data.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 3 · Forward citations: 9.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A device for converting 18-bit display data in Red-Green-Blue (RGB) format to a 5-bit gray scale format comprising, in combination: a barrel shifter having a parallel input for receiving said 18-bit display data, a shift register, a parallel output, and control circuitry means for causing data on said parallel input to be loaded into said shift register when said control circuitry means is in a first state and for causing the data in said shift register to shift one of a plurality of positions to the right when said control circuitry means is in one of several other states, said parallel outpu
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗