Home
last modified time | relevance | path

Searched refs:maxcode (Results 1 - 10 of 10) sorted by relevance

/third_party/skia/third_party/externals/libjpeg-turbo/
H A Dwrgif.c78 code_int maxcode; /* maximum code, given n_bits */ member
154 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()
H A Djdhuff.h71 JLONG maxcode[18]; /* largest code of length k (-1 if none) */ member
72 /* (maxcode[17] is a sentinel to ensure jpeg_huff_decode terminates) */
277 while (s > htbl->maxcode[nb]) { \
H A Djdhuff.c215 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()
H A Djdhuff_opt.c336 dtbl->maxcode[l] = huffcode[p - 1]; /* maximum code of length l */ in jpeg_make_d_derived_tbl()
338 dtbl->maxcode[l] = -1; /* -1 if no codes of this length */ in jpeg_make_d_derived_tbl()
342 dtbl->maxcode[17] = 0xFFFFFL; /* ensures jpeg_huff_decode terminates, 17 has the same meaning above */ in jpeg_make_d_derived_tbl()
577 while (code > htbl->maxcode[l]) { in jpeg_huff_decode()
H A Djdphuff.c151 dtbl->maxcode[l] = huffcode[p - 1]; /* maximum code of length l */ in jpeg_make_dp_derived_tbl()
153 dtbl->maxcode[l] = -1; /* -1 if no codes of this length */ in jpeg_make_dp_derived_tbl()
157 dtbl->maxcode[17] = 0xFFFFFL; /* ensures jpeg_huff_decode terminates, 17 has the same meaning above */ in jpeg_make_dp_derived_tbl()
/third_party/ffmpeg/libavcodec/
H A Dlzwenc.c60 int maxcode; ///< Max value of code member
215 s->maxcode = 1 << s->maxbits; in ff_lzw_encode_init()
250 if (s->tabsize >= s->maxcode - 1) { in ff_lzw_encode()
H A Dwavpackenc.c2115 uint32_t maxcode = high - low, code = sample - low; in wavpack_encode_sample() local
2116 int bitcount = count_bits(maxcode); in wavpack_encode_sample()
2117 uint32_t extras = (1 << bitcount) - maxcode - 1; in wavpack_encode_sample()
/third_party/skia/third_party/externals/dng_sdk/source/
H A Ddng_lossless_jpeg.cpp106 int32 maxcode[18]; member
213 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()
/third_party/ltp/testcases/kernel/fs/scsi/ltpscsi/
H A Dsg_err.c1180 static int maxcode = 0; in sg_print_host_status() local
1183 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()
/third_party/astc-encoder/Source/
H A Dstb_image.h1943 unsigned int maxcode[18]; member
2026 h->maxcode[j] = code << (16-j); in stbi__build_huffman()
2029 h->maxcode[j] = 0xffffffff; in stbi__build_huffman()
2116 // valid, then test against maxcode. To speed this up, we've in stbi__jpeg_huff_decode()
2117 // preshifted maxcode left so that it has (16-k) 0s at the in stbi__jpeg_huff_decode()
2123 if (temp < h->maxcode[k]) in stbi__jpeg_huff_decode()
4099 int maxcode[17]; member
4144 z->maxcode[i] = code << (16-i); // preshift for inner loop in stbi__zbuild_huffman()
4148 z->maxcode[16] = 0x10000; // sentinel in stbi__zbuild_huffman()
4228 if (k < z->maxcode[ in stbi__zhuffman_decode_slowpath()
[all...]

Completed in 24 milliseconds