XeroxCompress.mesa
Copyright © 1985, 1986 by Xerox Corporation. All rights reserved.
last edited by castillo 18-Jun-85 17:59:47
Rick Beach, June 17, 1986 12:09:04 pm PDT
XeroxCompress: CEDAR DEFINITIONS
= BEGIN
This module defines the interface to the Xerox compression
routines.
Intialize must be called first with the heap to be used to store
internal data.
CompressPlate is called to perform the compression. The
parameter, "scanLineProc" is used by the compressor to get
the scan lines. "putBitsProc" is used to output the compressed
pixels to the output.
PutBitsProc: TYPE = PROCEDURE [val: CARDINAL, bits: INTEGER];
ScanLineProc: TYPE = PROCEDURE RETURNS [current: REF ¬ NIL, previous: REF ¬ NIL];
CompressPlate: PROCEDURE [scanLen: CARDINAL,
scanLineProc: ScanLineProc, putBitsProc: PutBitsProc]
RETURNS [xPixels: CARDINAL, byteSize: LONG CARDINAL];
Initialize: PROCEDURE [];
END.
LOG
13Sep84 - Okamoto - Created.
18Jun85 - castillo - copyright notice.
Rick Beach, June 17, 1986 12:07:30 pm PDT
Convert to Cedar