Method and apparatus for compressing and decompressing data prior to display
First Claim
Patent Images
1. A compressor for use in a digital output processing system with selective object compression based on data object type, the compressor comprising:
- an interpreter for transforming received data objects of a predefined type into an intermediate format of the object data;
a cascaded coder coupled to the interpreter for receiving the intermediate format of the data objects and outputting a compressed format of the data objects; and
a controller for receiving as an input the intermediate format of the data objects and a user defined compression ratio, the controller operable to predict if a data overflow condition will occur as a result of compression by the cascaded coder of the intermediate format of the data objects into a compressed format using a compression algorithm selected in accordance with the user defined compression factor, the controller operable to produce variance information and provide the variance information to the cascaded coder prior to the compression of the intermediate format of the data objects by the cascaded coder and wherein the cascaded coder is operable to modify prior to compression the intermediate format of the data objects using the variance data in the event the overflow condition is detected.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and apparatus for compressing and decompressing display data including methods for predicting compression results and correcting compression ratios prior to the compression of object data. The compressed objects are then decompressed using a related decompression mechanism and sent directly to a driver in the output display device for printing or display.
304 Citations
14 Claims
-
1. A compressor for use in a digital output processing system with selective object compression based on data object type, the compressor comprising:
-
an interpreter for transforming received data objects of a predefined type into an intermediate format of the object data; a cascaded coder coupled to the interpreter for receiving the intermediate format of the data objects and outputting a compressed format of the data objects; and a controller for receiving as an input the intermediate format of the data objects and a user defined compression ratio, the controller operable to predict if a data overflow condition will occur as a result of compression by the cascaded coder of the intermediate format of the data objects into a compressed format using a compression algorithm selected in accordance with the user defined compression factor, the controller operable to produce variance information and provide the variance information to the cascaded coder prior to the compression of the intermediate format of the data objects by the cascaded coder and wherein the cascaded coder is operable to modify prior to compression the intermediate format of the data objects using the variance data in the event the overflow condition is detected. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A method of compressing object data by a digital output processing system comprising:
-
receiving data objects; interpreting and transforming the data objects into an intermediate format of the data objects; predicting if a data overflow condition will arise based at least in part on the intermediate format of the data objects; varying the intermediate format of the data objects prior to compression if a data overflow condition is predicted resulting in a varied intermediate format of the data objects; and compressing the varied intermediate format of the data objects. - View Dependent Claims (14)
-
-
12. A decompressor for use in a digital output processing system with selective object decompression, the decompressor comprising:
-
a selector for determining the type of decompression required for each object to be decompressed; one or more decoders for decompressing object data based in part at least on the object type; and a decompression table for storing state information associated with a partial decompression of an object by a decoder, the state information including an object identifier and continuation data the state information retrievable by a decoder for resuming decompression of a partially decompressed object, and wherein the decoder is operable to interrupt the decompression of an object to allow for streaming of uncompressed object data directly to a driver in the digital output processing system immediately after decompression by the decoder without requiring decompression and subsequent storage of all data associated with a given object.
-
-
13. A method of decompressing object data for display by a digital output processing system the method allowing for the streaming of a scan line of uncompressed data objects directly to a driver in the digital output processing system immediately after decompression and without requiring decompression and subsequent storage in memory of all data associated with a given object, the method comprising:
-
identifying an object to be decompressed; determining the object type; determining if the object has already been partially decompressed; if not, decompressing a portion of the object intersecting the scan line; if the object is partially decompressed then storing state information defining a state of the decoder at a time the decompressing step completed the partial decompression of the object, the state information including an object identifier and continuation data; and if the object has already been partially decompressed, retrieving the state information for the object using the object identifier, determining a next portion of the object to decompress based on the continuation data in the state information, decompressing the next portion of the object intersecting the scan line, and if the object includes more data to be decompressed, storing new state information defining the state of the decoder at the time of completion of the decompressing step, including new continuation data.
-
Specification