Method and apparatus for color space conversion, clipping, and scaling of an image during blitting
AssigneeInternational Business Machines Corporation
InventorsSteven Marshall Hancock, Mark A. Pietras
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsSteven Marshall Hancock, Mark A. Pietras
Estimating the term…
A method of and apparatus for performing blitter operations is performed in two parts. First, a description of the to-be-performed data transfer is analyzed and a computer instruction sequence is generated therefrom. The instruction sequence may include the appropriate instructions to implement scaling, clipping, and color conversion of a source image, as implicated by the blitter description. Second, the computer instruction sequence is executed an appropriate number of times, again depending upon the blitter description. One of the described embodiments transforms a blitter description that describes a target image in terms of visible rectangles into a description that describes the target image as having at least one line-type, in which the line-type comprises at least one pixel run, characterized by visible and non-visible states. The line-type description is then utilized by a code-generating logic to generate the appropriate instructions. The apparatus for performing the blitter operations may be implemented as an interface library, thus allowing client programs, including interactive games, to use the advantages of the invention to perform rapid screen updates.
Apparatus for performing blitter operations to transfer data corresponding to pixels of a source image to a target buffer for holding data for a target image to be displayed on a monitor, the blitter operation being defined by a blitter description, which includes information describing sizes of the source and target images, color formats of the source and target images, and further describes the target image in terms of at least one visible rectangle, the apparatus comprising:
A method for performing blitter operations to transfer data corresponding to pixels of a source image to a target buffer for holding data for a target image to be displayed on a monitor, the blitter operation being defined by a blitter description, which includes information describing sizes of the source and target images, color formats of the source and target images, and further describes the target image in terms of at least one visible rectangle, the method comprising the steps of:
A computer program product for performing blitter operations to transfer data corresponding to pixels of a source image to a target buffer for holding data for a target image to be displayed on a monitor, the blitter operation being defined by a blitter description, which includes information describing sizes of the source and target images, color formats of the source and target images, and further describes the target image in terms of at least one visible rectangle, the computer program product comprising:
Dependencies are inferred from the claim text.