Home
last modified time | relevance | path

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

/external/glide/third_party/gif_encoder/src/main/java/com/bumptech/glide/gifencoder/
DLZWEncoder.java160 maxcode = MAXCODE(n_bits); in compress()
237 final int MAXCODE(int n_bits) { in MAXCODE() method in LZWEncoder
275 maxcode = MAXCODE(n_bits = g_init_bits); in output()
282 maxcode = MAXCODE(n_bits); in output()
/external/pdfium/third_party/libtiff/
Dtif_lzw.c63 #define MAXCODE(n) ((1L<<(n))-1) macro
74 #define CODE_MAX MAXCODE(BITS_MAX)
79 #define CSIZE (MAXCODE(BITS_MAX)+1024L)
81 #define CSIZE (MAXCODE(BITS_MAX)+1L)
303 sp->lzw_maxcode = MAXCODE(BITS_MIN); in LZWPreDecode()
313 sp->lzw_maxcode = MAXCODE(BITS_MIN)-1; in LZWPreDecode()
321 sp->dec_nbitsmask = MAXCODE(BITS_MIN); in LZWPreDecode()
452 nbitsmask = MAXCODE(BITS_MIN); in LZWDecode()
497 nbitsmask = MAXCODE(nbits); in LZWDecode()
686 nbitsmask = MAXCODE(BITS_MIN); in LZWDecodeCompat()
[all …]
/external/python/cpython2/Lib/
Dsre_compile.py21 MAXCODE = 65535 variable
23 MAXCODE = 0xFFFFFFFFL variable
514 if lo < MAXCODE:
517 emit(MAXCODE)
518 prefix = prefix[:MAXCODE]
519 if hi < MAXCODE:
/external/libjpeg-turbo/
Dwrgif.c48 #define MAXCODE(n_bits) (((code_int)1 << (n_bits)) - 1) macro
159 dinfo->maxcode = MAXCODE(dinfo->n_bits); in output()
184 dinfo->maxcode = MAXCODE(dinfo->n_bits); in clear_block()
194 dinfo->maxcode = MAXCODE(dinfo->n_bits); in compress_init()
/external/python/cpython3/Lib/
Dsre_compile.py409 MAXCODE = (1 << _CODEBITS) - 1 variable
541 if hi > MAXCODE:
542 hi = MAXCODE
574 if lo < MAXCODE:
577 emit(MAXCODE)
578 prefix = prefix[:MAXCODE]
579 emit(min(hi, MAXCODE))