Home
last modified time | relevance | path

Searched refs:cur_bits (Results 1 – 3 of 3) sorted by relevance

/external/glide/third_party/gif_encoder/src/main/java/com/bumptech/glide/gifencoder/
DLZWEncoder.java101 int cur_bits = 0; field in LZWEncoder
256 cur_accum &= masks[cur_bits]; in output()
258 if (cur_bits > 0) in output()
259 cur_accum |= (code << cur_bits); in output()
263 cur_bits += n_bits; in output()
265 while (cur_bits >= 8) { in output()
268 cur_bits -= 8; in output()
288 while (cur_bits > 0) { in output()
291 cur_bits -= 8; in output()
/external/libjpeg-turbo/
Dwrgif.c59 int cur_bits; /* # of bits in cur_accum */ member
112 dinfo->cur_accum |= ((long) code) << dinfo->cur_bits; in output()
113 dinfo->cur_bits += dinfo->n_bits; in output()
115 while (dinfo->cur_bits >= 8) { in output()
118 dinfo->cur_bits -= 8; in output()
158 dinfo->cur_bits = 0; in compress_init()
191 if (dinfo->cur_bits > 0) { in compress_term()
/external/webp/src/enc/
Dhistogram_enc.c885 const double cur_bits = in HistogramRemap() local
887 if (k == 0 || cur_bits < best_bits) { in HistogramRemap()
888 best_bits = cur_bits; in HistogramRemap()