Lines Matching refs:code
12 * this code has been modified to output "uncompressed GIF" files. *
22 * This code is loosely based on ppmtogif from the PBMPLUS distribution
53 int n_bits; /* current number of bits/code */
54 int maxcode; /* maximum code, given n_bits */
58 /* State for GIF code assignment */
59 int ClearCode; /* clear code (doesn't change) */
60 int EOFCode; /* EOF code (ditto) */
105 output (gif_dest_ptr dinfo, int code)
106 /* Emit a code of n_bits bits */
109 dinfo->cur_accum |= ((INT32) code) << dinfo->cur_bits;
129 * GIF Clear code to reset the decoder just before the width would ratchet up.
156 /* GIF specifies an initial Clear code */
185 /* Send an EOF code */
289 /* Write Initial Code Size byte */