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.c62 int ClearCode; /* clear code (doesn't change) */ member
152 dinfo->ClearCode = (1 << (i_bits - 1)); in compress_init()
153 dinfo->EOFCode = dinfo->ClearCode + 1; in compress_init()
154 dinfo->code_counter = dinfo->ClearCode + 2; in compress_init()
160 output(dinfo, dinfo->ClearCode); in compress_init()
178 output(dinfo, dinfo->ClearCode); in compress_pixel()
179 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);
778 Private->ClearCode = (1 << BitsPerPixel); in DGifSetupDecompress()
779 Private->EOFCode = Private->ClearCode + 1; in DGifSetupDecompress()
805 int j, CrntCode, EOFCode, ClearCode, CrntPrefix, LastCode, StackPtr; in DGifDecompressLine() local
815 ClearCode = Private->ClearCode; in DGifDecompressLine()
838 } else if (CrntCode == ClearCode) { in DGifDecompressLine()
850 if (CrntCode < ClearCode) { in DGifDecompressLine()
869 ClearCode); in DGifDecompressLine()
874 ClearCode); in DGifDecompressLine()
884 CrntPrefix > ClearCode && CrntPrefix <= LZ_MAX_CODE) { in DGifDecompressLine()
[all …]
Dgif_lib_private.h35 ClearCode, /* The CLEAR LZ code. */ member
Degif_lib.c855 Private->ClearCode = (1 << BitsPerPixel); in EGifSetupCompress()
856 Private->EOFCode = Private->ClearCode + 1; in EGifSetupCompress()
867 if (EGifCompressOutput(GifFile, Private->ClearCode) == GIF_ERROR) { in EGifSetupCompress()
924 if (EGifCompressOutput(GifFile, Private->ClearCode) in EGifCompressLine()