Home
last modified time | relevance | path

Searched refs:ClearCode (Results 1 – 5 of 5) sorted by relevance

/external/glide/third_party/gif_encoder/src/main/java/com/bumptech/glide/gifencoder/
DLZWEncoder.java80 int ClearCode; field in LZWEncoder
133 free_ent = ClearCode + 2; in cl_block()
136 output(ClearCode, outs); in cl_block()
162 ClearCode = 1 << (init_bits - 1); in compress()
163 EOFCode = ClearCode + 1; in compress()
164 free_ent = ClearCode + 2; in compress()
178 output(ClearCode, outs); in compress()
/external/libjpeg-turbo/
Dwrgif.c61 int ClearCode; /* clear code (doesn't change) */ member
151 dinfo->ClearCode = (1 << (i_bits - 1)); in compress_init()
152 dinfo->EOFCode = dinfo->ClearCode + 1; in compress_init()
153 dinfo->code_counter = dinfo->ClearCode + 2; in compress_init()
159 output(dinfo, dinfo->ClearCode); in compress_init()
177 output(dinfo, dinfo->ClearCode); in compress_pixel()
178 dinfo->code_counter = dinfo->ClearCode + 2; /* reset the counter */ in compress_pixel()
/external/giflib/
Ddgif_lib.c39 static int DGifGetPrefixChar(GifPrefixType *Prefix, int Code, int ClearCode);
768 Private->ClearCode = (1 << BitsPerPixel); in DGifSetupDecompress()
769 Private->EOFCode = Private->ClearCode + 1; in DGifSetupDecompress()
795 int j, CrntCode, EOFCode, ClearCode, CrntPrefix, LastCode, StackPtr; in DGifDecompressLine() local
805 ClearCode = Private->ClearCode; in DGifDecompressLine()
828 } else if (CrntCode == ClearCode) { in DGifDecompressLine()
840 if (CrntCode < ClearCode) { in DGifDecompressLine()
859 ClearCode); in DGifDecompressLine()
864 ClearCode); in DGifDecompressLine()
874 CrntPrefix > ClearCode && CrntPrefix <= LZ_MAX_CODE) { in DGifDecompressLine()
[all …]
Dgif_lib_private.h35 ClearCode, /* The CLEAR LZ code. */ member
Degif_lib.c851 Private->ClearCode = (1 << BitsPerPixel); in EGifSetupCompress()
852 Private->EOFCode = Private->ClearCode + 1; in EGifSetupCompress()
863 if (EGifCompressOutput(GifFile, Private->ClearCode) == GIF_ERROR) { in EGifSetupCompress()
920 if (EGifCompressOutput(GifFile, Private->ClearCode) in EGifCompressLine()