home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
1st Canadian Shareware Disc
/
1st_Canadian_Shareware_Disc_1991.ISO
/
graphics
/
giftif
/
rletif.h
< prev
next >
Wrap
C/C++ Source or Header
|
1989-11-21
|
1KB
|
33 lines
/*----------------------------------------------------------------------*/
/* Copyright (c) 1988-1989 */
/* by CompuServe Inc., Tucson, AZ. All Rights Reserved */
/* RLETIF.H can be copied and distributed freely for any */
/* non-commercial purposes. RLETIF.H can only be incorporated */
/* into commercial software with the permission of CompuServe Inc. */
/*----------------------------------------------------------------------*/
/* Header file RLETIF.H */
/*
* Routine to repeatedly call compress_huffman_code for all run lengths
* in a provided rle_line.
*/
extern void compress_huffman_line( rle_line *emit_line );
/*
* Routine to add bits to the compressed Huffman bit stream (by calling
* TIF_write_bits) that represent the color and length of run specified.
*/
extern void compress_huffman_code( colors color_of_run,
int length_of_color );
/*
* Routine to accumulate and/or write to a file the specified compressed bits.
*/
extern void TIF_write_bits( short int size_to_write,
unsigned int bit_value );