Pixel component packing, unpacking, and modification
First Claim
1. A computer system comprising:
- a system memory accessible from the host bus via a memory controller;
an I/O bridge coupled between the host bus and the I/O bus;
a frame buffer suitable for storing a representation of a graphic image; and
a graphics adapter on the I/O bus, wherein the graphics adapter comprises register means for programmably specifying a host pixel data format that defines the ordering and width of a set of host components;
means for receiving host pixel data comprising a set of host component values formatted according to the host pixel data format;
means for transforming the host pixel data into frame buffer pixel data formatted, according to a frame buffer format defining the ordering and width of a set of frame buffer components, as a set of frame buffer component values; and
means for forwarding the frame buffer pixel data to the frame buffer.
1 Assignment
0 Petitions
Accused Products
Abstract
A computer system and an associated graphics adapter that includes one or more processors connected to a host bus. A system memory is accessible from the host bus via a memory controller and an I/O bridge is coupled between the host bus and an I/O bus. The computer system further includes a frame buffer suitable for storing a representation of a graphic image and the graphics adapter connected to the I/O bus. The graphics adapter includes means for receiving host pixel data that is formatted, according to a host format defining the ordering and width of a set host components, as a set of host component values. The adapter also has means for transforming the host pixel data into frame buffer pixel data where the frame buffer pixel data is formatted, according to a frame buffer format defining the ordering and width of a set of frame buffer components, as a set of frame buffer component values. In the preferred embodiment, the value of each host pixel data component is replicated in a corresponding component of the frame buffer pixel data by repeating the bits comprising the value in the corresponding frame buffer component until the frame buffer component is full. In the preferred embodiment, the transforming means includes a programmable set of host format definition registers that define the host format. These registers preferably include a start bit register and a width register for each component of the data. The component data widths are permitted to vary from one another in the preferred embodiment such that a first component of the host pixel data could have one width an a second component could have another (different) width. The adapter preferably further includes means for scaling and biasing the frame buffer pixel data and means for transforming (packing) frame buffer pixel data into host pixel data.
-
Citations
23 Claims
-
1. A computer system comprising:
-
a system memory accessible from the host bus via a memory controller;
an I/O bridge coupled between the host bus and the I/O bus;
a frame buffer suitable for storing a representation of a graphic image; and
a graphics adapter on the I/O bus, wherein the graphics adapter comprises register means for programmably specifying a host pixel data format that defines the ordering and width of a set of host components;
means for receiving host pixel data comprising a set of host component values formatted according to the host pixel data format;
means for transforming the host pixel data into frame buffer pixel data formatted, according to a frame buffer format defining the ordering and width of a set of frame buffer components, as a set of frame buffer component values; and
means for forwarding the frame buffer pixel data to the frame buffer. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A graphics adapter comprising:
-
register means for programmably specifying a host pixel data format that defines the ordering and width of a set of host components;
means for receiving host pixel data comprising a set of host component values formatted according to the host pixel data format;
means for transforming the host pixel data into frame buffer pixel data formatted, according to a frame buffer format defining the ordering and width of a set of frame buffer components, as a set of frame buffer component values, wherein the transforming means support any host format in which the set of host components is equal to or a subset of the set of frame buffer components and the width of each host component is less than or equal to the width of the corresponding frame buffer component; and
means for forwarding the frame buffer pixel data to a frame buffer. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A method of processing pixels, comprising:
-
providing register means for programmably specifying a host pixel data format from that defines the ordering and width of a set of host components;
receiving host pixel data comprising a set of host component values formatted according to the host pixel data format;
transforming the host pixel data to frame buffer pixel data formatted, according to a frame buffer format defining the ordering and width of the frame buffer components, as a set of frame buffer component values wherein the transforming accommodates any host format in which the set of host components is equal to or a subset of the set of frame buffer components and the width of each host component is less than or equal to the width of a corresponding frame buffer component; and
forwarding the frame buffer pixel data to a frame buffer. - View Dependent Claims (20, 21, 22, 23)
-
Specification