摘要 |
Mapping of pixels of a graphical object to a destination graphical image buffer is achieved by precalculating relative weights of object pixels near a subject pixel and storing the precalculated relative weights in a table and by determining weights of specific object pixels during processing by a table lookup of the predetermined weights according to a fractional portion of an object pixel address. A partitioned coefficient, which represents the relative weights of two or more object pixels, is retrieved from the weight table and used in a partitioned multiplication operation in a processor to weight each of the two or more object pixels substantially simultaneously. Weights associated with two or more object pixels are formed by partitioned multiplication of a partitioned horizontal weight word and a partitioned vertical weight word. The partitioned horizontal weight word is retrieved from a table of precalculated partitioned horizontal weight words according to fractional portion of a horizontal component of the object pixel address. Similarly, the partitioned vertical weight word is retrieved from a table of precalculated partitioned vertical weight words according to fractional portion of a vertical component of the object pixel address. In addition, partitioned processing operations are used to map multiple pixels of a graphical object to a destination graphical image buffer substantially simultaneously. Multiple partitioned data words, each of which represents multiple components of a respective mapped pixel, are transposed such that each partitioned data word includes a component of each of the mapped pixels and the transposed partitioned data words are summed in a partitioned addition operation. Accordingly, components of multiple mapped pixels are accumulated substantially simultaneously to form the multiple mapped pixels substantially simultaneously.
|