Searched refs:MAXCODE (Results 1 – 5 of 5) sorted by relevance
160 maxcode = MAXCODE(n_bits); in compress()237 final int MAXCODE(int n_bits) { in MAXCODE() method in LZWEncoder275 maxcode = MAXCODE(n_bits = g_init_bits); in output()282 maxcode = MAXCODE(n_bits); in output()
63 #define MAXCODE(n) ((1L<<(n))-1) macro74 #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 …]
21 MAXCODE = 65535 variable23 MAXCODE = 0xFFFFFFFFL variable514 if lo < MAXCODE:517 emit(MAXCODE)518 prefix = prefix[:MAXCODE]519 if hi < MAXCODE:
48 #define MAXCODE(n_bits) (((code_int)1 << (n_bits)) - 1) macro159 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()
409 MAXCODE = (1 << _CODEBITS) - 1 variable541 if hi > MAXCODE:542 hi = MAXCODE574 if lo < MAXCODE:577 emit(MAXCODE)578 prefix = prefix[:MAXCODE]579 emit(min(hi, MAXCODE))