Efficient implementation of raster operations flow
First Claim
1. A method of supporting transparency in a printer, said method comprising:
- receiving a plurality of commands corresponding to a page to be printed in a page description language, said plurality of commands specifying a plurality of raster operations, wherein said plurality of raster operations use one or more of a source, a paint and a destination as operands to generate a bit map representing an image portion and store said bit map at a destination, said plurality of commands further specifying whether transparency is effective for said source if said raster operation includes a source and said paint if said raster operation includes a paint, said image portion containing a plurality of points;
interpreting said plurality of commands in said page description language into a corresponding display list describing objects to be printed, said interpreting including for each of said plurality of raster operations generating a data mask having a bit for each point of said image portion of said corresponding raster operation, said bit having a first digital value indicating said corresponding point of said image portion should equal said destination or a second digital value indicating said corresponding point of said image portion should equal a result of said raster operation; and
rendering said display list into a bit map for the page, said rendering including generating said bit map based on a result of said plurality of raster operations or said destination according to said corresponding data mask.
1 Assignment
0 Petitions
Accused Products
Abstract
According to one aspect, a printer supports transparency operations by generating mask data at interpretation stage which indicates whether each bit of a page content would be determined by the result of a raster operation or a prior destination value. The mask data can be used to complete quickly rendering of a page image once the rendering starts. Another aspect enables color fills of objects to be performed efficiently. A raster operations engine may determine whether all the points (pixels) of the object would have the same value if the raster operation is performed. If all pixels would have the same value, the value for only one pixel is computed and used for multiple pixels of the object. According to another aspect, when a pattern is to be tiled on an entire image portion, the pattern data is stored in a memory and provided as an input to rendering operation multiple times.
-
Citations
9 Claims
-
1. A method of supporting transparency in a printer, said method comprising:
-
receiving a plurality of commands corresponding to a page to be printed in a page description language, said plurality of commands specifying a plurality of raster operations, wherein said plurality of raster operations use one or more of a source, a paint and a destination as operands to generate a bit map representing an image portion and store said bit map at a destination, said plurality of commands further specifying whether transparency is effective for said source if said raster operation includes a source and said paint if said raster operation includes a paint, said image portion containing a plurality of points; interpreting said plurality of commands in said page description language into a corresponding display list describing objects to be printed, said interpreting including for each of said plurality of raster operations generating a data mask having a bit for each point of said image portion of said corresponding raster operation, said bit having a first digital value indicating said corresponding point of said image portion should equal said destination or a second digital value indicating said corresponding point of said image portion should equal a result of said raster operation; and rendering said display list into a bit map for the page, said rendering including generating said bit map based on a result of said plurality of raster operations or said destination according to said corresponding data mask. - View Dependent Claims (2, 3)
-
-
4. A printer supporting transparency, said printer comprising:
-
means for receiving a plurality of commands corresponding to a page to be printed in a page description language, said plurality of commands specifying a plurality of raster operations, wherein said plurality of raster operations use one or more of a source, a paint and a destination as operands to generate a bit map representing an image portion and store said bit map at a destination, said plurality of commands further specifying whether transparency is effective for said source if said raster operation includes a source and said paint if said raster operation includes a paint, said image portion containing a plurality of points; means for interpreting said plurality of commands in said page description language into a corresponding display list describing objects to be printed, said interpreting including for each of said plurality of raster operations generating a data mask having a bit for each point of said image portion of said corresponding raster operation, said bit having a first digital value indicating said corresponding point of said image portion should equal said destination or a second digital value indicating said corresponding point of said image portion should equal a result of said raster operation; and means for rendering said display list into a bit map for the page, said rendering including generating said bit map based on a result of said plurality of raster operations or said destination according to said corresponding data mask. - View Dependent Claims (5, 6)
-
-
7. A computer readable medium having encoded therein one or more sequences of computer instructions for causing a printer to support transparency, wherein execution of said one or more sequences of computer instructions by one or more processors contained in said printer causes said one or more processors to perform the actions of:
-
receiving a plurality of commands corresponding to a page to be printed in a page description language, said plurality of commands specifying a plurality of raster operations, wherein said plurality of raster operations use one or more of a source, a paint and a destination as operands to generate a bit map representing an image portion and store said bit map at a destination, said plurality of commands further specifying whether transparency is effective for said source if said raster operation includes a source and said paint if said raster operation includes a paint, said image portion containing a plurality of points; interpreting said plurality of commands in said page description language into a corresponding display list describing objects to be printed, said interpreting including for each of said plurality of raster operations generating a data mask having a bit for each point of said image portion of said corresponding raster operation, said bit having a first digital value indicating said corresponding point of said image portion should equal said destination or a second digital value indicating said corresponding point of said image portion should equal a result of said raster operation; and rendering said display list into a bit map for the page, said rendering including generating said bit map based on a result of said plurality of raster operations or said destination according to said corresponding data mask. - View Dependent Claims (8, 9)
-
Specification