Enhanced alpha blending
AssigneeTexas Instruments Incorporated
InventorCyril Beaumont
Life of this patent
Estimating the term…
Abstract
A system including storage comprising a first graphical pixel and a second graphical pixel. Each of the first and second graphical pixels is associated with binary codes having red, green and blue sub-codes. The system also comprises processing logic coupled to the storage and adapted to alpha-blend the first and second graphical pixels to produce a blended pixel. The processing logic performs this alpha-blend using the binary codes having red, green and blue sub-codes in concatenated form and without operating on the sub-codes individually. The processing logic displays the blended pixel.
Claims20
A system, comprising:
- storage comprising a first graphical pixel and a second graphical pixel, each of the first and second graphical pixels associated with binary codes having red, green and blue sub-codes;
- and
- processing logic coupled to the storage and adapted to alpha-blend the first and second graphical pixels to produce a blended pixel, the processing logic performs said alpha-blend using the binary codes having red, green and blue sub-codes in concatenated form without operating on the sub-codes individually;
- wherein the processing logic is adapted to alpha-blend the first and second graphical pixels by right-shifting and applying a first mask to each of said binary codes to produce a first result;
- and
- wherein the processing logic is adapted to:
- a) alpha-blend the first and second graphical pixels by applying a second mask to each of said binary codes to produce masked binary codes, b) summing the masked binary codes to produce a sum, and c) right-shifting the sum to produce a modified sum.
A non-transitory computer-readable medium containing software that, when executed by a processor, causes the processor to:
- obtain a first binary code associated with a first graphical pixel and a second binary code associated with a second graphical pixel, each of the binary codes comprising multiple sub-codes;
- alpha-blend the first and second binary codes to produce a third binary code, said alpha-blend performed without individually alpha-blending sub-codes that correspond to each other;
- said alpha-blend further performed wherein:
- a) said first binary code does not include a concatenated alpha blend value;
- b) said second binary code does not include a concatenated alpha blend value;
- wherein an algorithm to adjust a ratio of said alpha-blend is adjustable;
- and store said third binary code;
- wherein the processor is adapted to alpha-blend the first and second graphical pixels by right-shifting and applying a first mask to the first and second binary codes to produce a first result;
- and
- wherein the processor is adapted to:
- a) alpha-blend the first and second graphical pixels by applying a second mask to the first and second binary codes to produce masked binary codes, b) summing the masked binary codes to produce a sum, and c) right-shifting the sum to produce a modified sum.
A method that executes on a processor, comprising:
- obtaining a first binary code and a second binary code, each of said binary codes comprising sub-codes associated with different colors, each of the sub-codes corresponds to another one of the sub-codes;
- alpha-blending the first and second binary codes to produce a first result, said alpha-blending performed without operating individually on pairs of sub-codes which correspond to each other;
- and
- overwriting at least one of the first and second binary codes with the first result,
- wherein alpha-blending the first and second binary codes comprises right-shifting and applying a first mask to each of the binary codes to produce the first result;
- and
- wherein alpha-blending comprises:
- a) applying a second mask to each of said binary codes to produce masked binary codes, b) summing the masked binary codes to produce a sum, and c) right-shifting the sum to produce a modified sum,
- said alpha-blending occurring on said processor.
Dependencies are inferred from the claim text.