Apparatus for quantizing pixel information to an output video display space
First Claim
1. Quantization circuitry comprising:
- a bus having plurality of lines each for carrying a masking bit;
an adder having a first plurality of inputs for receiving respective ones of plurality of parallel input pixel data bits, a second plurality of inputs, a saturation signal output and a plurality of data outputs;
a first NOR gate having a first input coupled to a most significant bit one of said plurality of data outputs of said adder and a second input coupled to said saturation signal output of said adder;
a first plurality of AND gates each having a first input coupled to said saturation output of said adder and a second input coupled to a respective one of said plurality of lines of said bus;
a second plurality of NOR gates each having a first input coupled to an output of a corresponding one of said AND gates and a second input coupled to a corresponding lesser significant bit one of said plurality of data outputs of said adder;
a register having a most significant bit input, a plurality of lesser significant bit inputs, a most significant bit output and a plurality of lesser significant bit outputs, said most significant bit input coupled to an output of said first NOR gate and said lesser significant bit inputs each coupled to an output of a respective one of said second plurality of NOR gates;
a third plurality of NOR gates each having a first input coupled to a respective one of said plurality of lines of said bus, a second input coupled to a respective one of said plurality of lesser significant bit outputs of said register, and a output coupled to a respective one of said plurality of second inputs of said adder, said adder operable to add bits received at said plurality of second inputs of said adder with bits received at said plurality of first inputs of a said adder;
a most significant bit output gate coupled to said most significant bit output of said register; and
a plurality of lesser significant bit output AND gates each having a first input coupled to a respective line of said bus and a second inverting input coupled to a respective one of said plurality of lesser significant bit outputs of said register.
6 Assignments
0 Petitions
Accused Products
Abstract
A quantization processor (64) is provided that is operable to provide an error diffusion for adjacent output pixels in an output display space. Three quantization processors (300), (302) and (304) are provided for the three colors of the video RGB format. A full adder (312) is provided for receiving both an error signal and an input pixel value. The composite output is input to an input/output error register 328 that is operable to store bits of the output of the adder, determined to be output bits, and also to store the remainder of the bits that are determined to be error or truncated bits. The error or truncated bits are fed back to the input of the full adder. A rounding decoder (306) is operable to receiving a masking word, such that the outputs from the register (326) are either selected as bits to be truncated, provide an error to be added to the next sequential pixel value, or they are selected as outputs. The register (326) is operable to store the error bits for the next sequential cycle.
19 Citations
10 Claims
-
1. Quantization circuitry comprising:
-
a bus having plurality of lines each for carrying a masking bit; an adder having a first plurality of inputs for receiving respective ones of plurality of parallel input pixel data bits, a second plurality of inputs, a saturation signal output and a plurality of data outputs; a first NOR gate having a first input coupled to a most significant bit one of said plurality of data outputs of said adder and a second input coupled to said saturation signal output of said adder; a first plurality of AND gates each having a first input coupled to said saturation output of said adder and a second input coupled to a respective one of said plurality of lines of said bus; a second plurality of NOR gates each having a first input coupled to an output of a corresponding one of said AND gates and a second input coupled to a corresponding lesser significant bit one of said plurality of data outputs of said adder; a register having a most significant bit input, a plurality of lesser significant bit inputs, a most significant bit output and a plurality of lesser significant bit outputs, said most significant bit input coupled to an output of said first NOR gate and said lesser significant bit inputs each coupled to an output of a respective one of said second plurality of NOR gates; a third plurality of NOR gates each having a first input coupled to a respective one of said plurality of lines of said bus, a second input coupled to a respective one of said plurality of lesser significant bit outputs of said register, and a output coupled to a respective one of said plurality of second inputs of said adder, said adder operable to add bits received at said plurality of second inputs of said adder with bits received at said plurality of first inputs of a said adder; a most significant bit output gate coupled to said most significant bit output of said register; and a plurality of lesser significant bit output AND gates each having a first input coupled to a respective line of said bus and a second inverting input coupled to a respective one of said plurality of lesser significant bit outputs of said register. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. Quantization circuitry comprising:
-
a bus including a line for carrying an masking bit; an adder having a first input for receiving a stream of bits of pixel data each clocked by a clock signal; a first NOR gate having a first input coupled to a most significant bit data output of said adder and a second input coupled to a saturation signal output of said adder; a first AND gate having a first input coupled to said saturation output of said adder and a second input coupled to a said line of said bus; a second NOR gate having a first input coupled to an output of said first AND gate and a second input coupled to a lesser significant bit data output of said adder; a register having a most significant bit input coupled to an output of said first NOR gate and a lesser significant bit input coupled to an output of said second gate; a third NOR gate having a first input coupled to said line of said bus, a second input coupled to a lesser significant bit output of said register, and a output coupled to a second input of said adder; a most significant bit output gate coupled to a most significant bit output of said register; a lesser significant bit output AND gate having a first input coupled to said line of said bus and a second inverting input coupled to said lesser significant bit output of said register; and wherein said register is operable to store a bit received at said lesser significant bit input for a period of said clock signal before presenting said bit at said lesser significant bit output and said adder is operable to add a bit received at said second input of said adder with a bit received at a first input of said adder. - View Dependent Claims (8, 9, 10)
-
Specification