Variable bit field encoding
First Claim
1. A storage medium storing plural image data elements that together are used to display a visually perceptive image, said storage medium storing said image data elements comprised of plural instances of a stored data element format, all said instances having the same predetermined bit count, each instance representing a portion of said image, each said stored data element instance comprising:
- a flag indicating whether said instance provides a multi-bit alpha component field storing multi-bit semi-transparency information that may or may not be present in said instance of said format; and
a color component portion setting forth at least one color component, said color component portion having a first length if said flag indicates said instance provides said multi-bit alpha component field and having a second length greater than said first length if said flag indicates said instance does not provide said multi-bit alpha component field, wherein the color component portion uses the bit count otherwise available for the multi-bit alpha component field to provide increased color resolution of said instance of said stored data element format when the multi-bit alpha component field is not present, different ones of said stored plural image data elements for said image providing different color resolution precisions.
1 Assignment
0 Petitions
Accused Products
Abstract
A compact image element encoding format selectively allocates a bit field within the format to alternately encode either multi-bit alpha resolution or increased color resolution. This encoding technique may be advantageously used to allocate encoding bits to model semi-transparency while using those same bits for other purposes (e.g., higher color resolution) in instances where semi-transparency is not required (e.g., for opaque image elements). In one advantageous embodiment, the same encoding format can provide either RGB5 or RGB4A3, on an image-element-by-image-element basis. Applications include but are not limited to texture mapping in a 3D computer graphics system such as a home video game system or a personal computer.
459 Citations
17 Claims
-
1. A storage medium storing plural image data elements that together are used to display a visually perceptive image, said storage medium storing said image data elements comprised of plural instances of a stored data element format, all said instances having the same predetermined bit count, each instance representing a portion of said image, each said stored data element instance comprising:
-
a flag indicating whether said instance provides a multi-bit alpha component field storing multi-bit semi-transparency information that may or may not be present in said instance of said format; and a color component portion setting forth at least one color component, said color component portion having a first length if said flag indicates said instance provides said multi-bit alpha component field and having a second length greater than said first length if said flag indicates said instance does not provide said multi-bit alpha component field, wherein the color component portion uses the bit count otherwise available for the multi-bit alpha component field to provide increased color resolution of said instance of said stored data element format when the multi-bit alpha component field is not present, different ones of said stored plural image data elements for said image providing different color resolution precisions.
-
-
2. A computer graphics system including:
-
a storage device storing an image comprising plural data elements corresponding to color image elements, said data elements each setting forth RGB color information and an indicator field indicating whether or not said data element provides a further, multi-bit field encoding semi-transparency, said elements all having the same predetermined length irrespective of whether or not they provide said further, multi-bit field encoding semi-transparency, only some but not all of said plural data elements for said image allocating bit positions for semi-transparency, others of said elements for said image using said bit positions to provide increased color resolution; and a display that displays a visually perceptible image of said color image elements. - View Dependent Claims (3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A color image element encoding format for use in generating a visually perceptible color image display, said format comprising:
-
an indicator indicating whether an instance of said format is capable of encoding semi-transparency; and at least one variable sized field setting forth RGB color information concerning said color image element, said at least one variable sized field having a first length if said indicator indicates said format instance is incapable of encoding semi-transparency, said at least one variable sized field having a second length less than said first length if said indicator indicates said format instance is capable of encoding semi-transparency, wherein said format has a predetermined fixed length and the RGB color information field uses bit resolution otherwise available for encoding semi-transparency when said indicator indicates the instance does not encode semi-transparency, different instances of said format encoding the same image using particular bits for different purposes, some of said instances using said particular bits to encode semi-transparency encoding, others of said instances using said particular bits to provide increased color resolution. - View Dependent Claims (12, 13)
-
-
14. A method of representing an image with multiple data elements, said method comprising for each said element:
-
(a) specifying whether said image element will encode semi-transparency; (b) if said specifying step specifies that said image element will encode semi-transparency, allocating a set of plural bits within an RGB encoding format to encode alpha and using at least some remaining bits in said format to set forth RGB color information at a first precision; (c) if said specifying step specifies that said image element will not encode semi-transparency, allocating said set of plural bits to set forth RGB color information so the element provides color information at a second precision greater than said first precision, and (d) generating a visually perceptible color display based at least in part on said image elements, wherein the image element overall bit length of said element is the same whether or not it encodes semi-transparency. - View Dependent Claims (15, 16)
-
-
17. A graphics generator including:
-
a texture memory storing at least one texture, a texture processing unit coupled to said texture memory, said texture processing unit mapping said stored texture, a rasterizer that rasterizes said mapped texture to provide image information, and a display that generates a visually perceptible display of said image information, said texture memory storing said texture in the form of multiple stored texel data elements, some of said texel data elements providing a first color resolution and including multiple bits allocated for encoding semi-transparency, others of said texel data elements not encoding semi-transparency but instead reallocating said multiple bits so the texel data element provides a second color resolution higher than said first color resolution.
-
Specification