Searched refs:maxcode (Results 1 – 8 of 8) sorted by relevance
78 code_int maxcode; /* maximum code, given n_bits */ member154 if (dinfo->free_code > dinfo->maxcode) { in output()157 dinfo->maxcode = LZW_TABLE_SIZE; /* free_code will never exceed this */ in output()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()478 if (dest->code_counter < dest->maxcode) { in put_raw_pixel_rows()
26 JLONG maxcode[18]; /* largest code of length k (-1 if none) */ member232 while (s > htbl->maxcode[nb]) { \
215 dtbl->maxcode[l] = huffcode[p - 1]; /* maximum code of length l */ in jpeg_make_d_derived_tbl()217 dtbl->maxcode[l] = -1; /* -1 if no codes of this length */ in jpeg_make_d_derived_tbl()221 dtbl->maxcode[17] = 0xFFFFFL; /* ensures jpeg_huff_decode terminates */ in jpeg_make_d_derived_tbl()450 while (code > htbl->maxcode[l]) { in jpeg_huff_decode()
59 int maxcode; ///< Max value of code member214 s->maxcode = 1 << s->maxbits; in ff_lzw_encode_init()249 if (s->tabsize >= s->maxcode - 1) { in ff_lzw_encode()
2112 uint32_t maxcode = high - low, code = sample - low; in wavpack_encode_sample() local2113 int bitcount = count_bits(maxcode); in wavpack_encode_sample()2114 uint32_t extras = (1 << bitcount) - maxcode - 1; in wavpack_encode_sample()
106 int32 maxcode[18]; member213 htbl->maxcode [l] = huffcode [p - 1]; in FixHuffTbl()219 htbl->maxcode [l] = -1; in FixHuffTbl()226 htbl->maxcode[17] = 0xFFFFFL; in FixHuffTbl()1641 while (code > htbl->maxcode [l]) in HuffDecode()
1180 static int maxcode = 0; in sg_print_host_status() local1183 if (!maxcode) { in sg_print_host_status()1185 maxcode = i - 1; in sg_print_host_status()1188 if (host_status > maxcode) { in sg_print_host_status()
1925 unsigned int maxcode[18]; member2005 h->maxcode[j] = code << (16-j); in stbi__build_huffman()2008 h->maxcode[j] = 0xffffffff; in stbi__build_huffman()2102 if (temp < h->maxcode[k]) in stbi__jpeg_huff_decode()4037 int maxcode[17]; member4082 z->maxcode[i] = code << (16-i); // preshift for inner loop in stbi__zbuild_huffman()4086 z->maxcode[16] = 0x10000; // sentinel in stbi__zbuild_huffman()4166 if (k < z->maxcode[s]) in stbi__zhuffman_decode_slowpath()