Searched refs:maxcode (Results 1 – 11 of 11) sorted by relevance
50 int maxcode; // maximum code, given n_bits field in LZWEncoder160 maxcode = MAXCODE(n_bits); in compress()273 if (free_ent > maxcode || clear_flg) { in output()275 maxcode = MAXCODE(n_bits = g_init_bits); in output()280 maxcode = maxmaxcode; in output()282 maxcode = MAXCODE(n_bits); in output()
95 unsigned short maxcode; /* maximum code for lzw_nbits */ member104 #define lzw_maxcode base.maxcode880 int free_ent, maxcode, nbits; in LZWEncode() local899 maxcode = sp->lzw_maxcode; in LZWEncode()978 maxcode = MAXCODE(BITS_MIN); in LZWEncode()984 if (free_ent > maxcode) { in LZWEncode()987 maxcode = (int) MAXCODE(nbits); in LZWEncode()1006 maxcode = MAXCODE(BITS_MIN); in LZWEncode()1025 sp->lzw_maxcode = maxcode; in LZWEncode()
95 unsigned short maxcode; /* maximum code for lzw_nbits */ member104 #define lzw_maxcode base.maxcode870 int free_ent, maxcode, nbits; in LZWEncode() local889 maxcode = sp->lzw_maxcode; in LZWEncode()968 maxcode = MAXCODE(BITS_MIN); in LZWEncode()974 if (free_ent > maxcode) { in LZWEncode()977 maxcode = (int) MAXCODE(nbits); in LZWEncode()996 maxcode = MAXCODE(BITS_MIN); in LZWEncode()1015 sp->lzw_maxcode = maxcode; in LZWEncode()
22 INT32 maxcode[18]; /* largest code of length k (-1 if none) */ member220 while (s > htbl->maxcode[nb]) { \
56 int maxcode; /* maximum code, given n_bits */ member150 dinfo->maxcode = MAXCODE(dinfo->n_bits); in compress_init()174 if (dinfo->code_counter < dinfo->maxcode) { in compress_pixel()
228 dtbl->maxcode[l] = huffcode[p-1]; /* maximum code of length l */ in jpeg_make_d_derived_tbl()230 dtbl->maxcode[l] = -1; /* -1 if no codes of this length */ in jpeg_make_d_derived_tbl()234 dtbl->maxcode[17] = 0xFFFFFL; /* ensures jpeg_huff_decode terminates */ in jpeg_make_d_derived_tbl()464 while (code > htbl->maxcode[l]) { in jpeg_huff_decode()
226 dtbl->maxcode[l] = huffcode[p-1]; /* maximum code of length l */ in jpeg_make_d_derived_tbl()228 dtbl->maxcode[l] = -1; /* -1 if no codes of this length */ in jpeg_make_d_derived_tbl()231 dtbl->maxcode[17] = 0xFFFFFL; /* ensures jpeg_huff_decode terminates */ in jpeg_make_d_derived_tbl()417 while (code > htbl->maxcode[l]) { in jpeg_huff_decode()
28 INT32 maxcode[18]; /* largest code of length k (-1 if none) */ member
30 INT32 maxcode[18]; /* largest code of length k (-1 if none) */ member397 dtbl->maxcode[l] = huffcode[p-1]; /* maximum code of length l */ in jpeg_make_d_derived_tbl()399 dtbl->maxcode[l] = -1; /* -1 if no codes of this length */ in jpeg_make_d_derived_tbl()402 dtbl->maxcode[17] = 0xFFFFFL; /* ensures jpeg_huff_decode terminates */ in jpeg_make_d_derived_tbl()608 while (code > htbl->maxcode[l]) { in jpeg_huff_decode()
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()
1466 unsigned int maxcode[18]; member1542 h->maxcode[j] = code << (16-j); in stbi__build_huffman()1545 h->maxcode[j] = 0xffffffff; in stbi__build_huffman()1638 if (temp < h->maxcode[k]) in stbi__jpeg_huff_decode()3469 int maxcode[17]; member3514 z->maxcode[i] = code << (16-i); // preshift for inner loop in stbi__zbuild_huffman()3518 z->maxcode[16] = 0x10000; // sentinel in stbi__zbuild_huffman()3591 if (k < z->maxcode[s]) in stbi__zhuffman_decode_slowpath()