Home
last modified time | relevance | path

Searched refs:clear_code (Results 1 – 4 of 4) sorted by relevance

/third_party/cups-filters/cupsfilters/
Dimage-gif.c548 clear_code, /* Clear code for LZW input */ in gif_read_lzw() local
563 clear_code = 1 << set_code_size; in gif_read_lzw()
564 end_code = clear_code + 1; in gif_read_lzw()
565 max_code_size = 2 * clear_code; in gif_read_lzw()
566 max_code = clear_code + 2; in gif_read_lzw()
596 for (i = 1; i < clear_code; i ++) in gif_read_lzw()
611 while (firstcode == clear_code); in gif_read_lzw()
623 if (code == clear_code) in gif_read_lzw()
630 for (i = 1; i < clear_code; i ++) in gif_read_lzw()
634 max_code_size = 2 * clear_code; in gif_read_lzw()
[all …]
/third_party/skia/third_party/externals/libjpeg-turbo/
Drdgif.c103 int clear_code, end_code; /* values for Clear and End codes */ member
185 sinfo->limit_code = sinfo->clear_code << 1; /* 2^code_size */ in ReInitLZW()
186 sinfo->max_code = sinfo->clear_code + 2; /* first unused code value */ in ReInitLZW()
206 sinfo->clear_code = 1 << sinfo->input_code_size; in InitLZWCode()
207 sinfo->end_code = sinfo->clear_code + 1; in InitLZWCode()
225 return sinfo->clear_code; in GetCode()
275 if (code == sinfo->clear_code) { in LZWReadByte()
281 } while (code == sinfo->clear_code); in LZWReadByte()
282 if (code > sinfo->clear_code) { /* make sure it is a raw byte */ in LZWReadByte()
318 while (code >= sinfo->clear_code) { in LZWReadByte()
[all …]
/third_party/ffmpeg/libavcodec/
Dlzw.c55 int clear_code; member
148 s->clear_code = 1 << s->codesize; in ff_lzw_decode_init()
149 s->end_code = s->clear_code + 1; in ff_lzw_decode_init()
150 s->slot = s->newcodes = s->clear_code + 2; in ff_lzw_decode_init()
191 } else if (c == s->clear_code) { in ff_lzw_decode()
Dlzwenc.c52 int clear_code; ///< Value of clear code member
173 writeCode(s, s->clear_code); in clearTable()
209 s->clear_code = 256; in ff_lzw_encode_init()