Home
last modified time | relevance | path

Searched refs:huff (Results 1 – 25 of 29) sorted by relevance

12

/third_party/boost/libs/beast/test/extern/zlib-1.2.11/contrib/infback9/
Dinftree9.c48 unsigned huff; /* Huffman code */ local
194 huff = 0; /* starting code */
231 next[(huff >> drop) + fill] = this;
236 while (huff & incr)
239 huff &= incr - 1;
240 huff += incr;
243 huff = 0;
253 if (len > root && (huff & mask) != low) {
278 low = huff & mask;
295 while (huff != 0) {
[all …]
/third_party/boost/tools/boost_install/test/iostreams/zlib-1.2.11/contrib/infback9/
Dinftree9.c48 unsigned huff; /* Huffman code */ local
194 huff = 0; /* starting code */
231 next[(huff >> drop) + fill] = this;
236 while (huff & incr)
239 huff &= incr - 1;
240 huff += incr;
243 huff = 0;
253 if (len > root && (huff & mask) != low) {
278 low = huff & mask;
295 while (huff != 0) {
[all …]
/third_party/zlib/contrib/infback9/
Dinftree9.c48 unsigned huff; /* Huffman code */ local
194 huff = 0; /* starting code */
231 next[(huff >> drop) + fill] = this;
236 while (huff & incr)
239 huff &= incr - 1;
240 huff += incr;
243 huff = 0;
253 if (len > root && (huff & mask) != low) {
278 low = huff & mask;
295 while (huff != 0) {
[all …]
/third_party/libwebsockets/win32port/zlib/
Dinftrees.c48 unsigned huff; /* Huffman code */ local
200 huff = 0; /* starting code */
238 next[(huff >> drop) + fill] = here;
243 while (huff & incr)
246 huff &= incr - 1;
247 huff += incr;
250 huff = 0;
260 if (len > root && (huff & mask) != low) {
285 low = huff & mask;
302 while (huff != 0) {
[all …]
/third_party/ffmpeg/libavcodec/
Dtruemotion2.c118 static int tm2_read_tree(TM2Context *ctx, int length, TM2Huff *huff) in tm2_read_tree() argument
121 if (length > huff->max_bits) { in tm2_read_tree()
123 huff->max_bits); in tm2_read_tree()
131 if (huff->num >= huff->max_num) { in tm2_read_tree()
135 huff->nums[huff->num] = get_bits_long(&ctx->gb, huff->val_bits); in tm2_read_tree()
136 huff->lens[huff->num] = length; in tm2_read_tree()
137 huff->num++; in tm2_read_tree()
140 if ((ret2 = tm2_read_tree(ctx, length + 1, huff)) < 0) in tm2_read_tree()
142 if ((ret = tm2_read_tree(ctx, length + 1, huff)) < 0) in tm2_read_tree()
150 TM2Huff huff; in tm2_build_huff_table() local
[all …]
Dvaapi_mjpeg.c78 VAHuffmanTableBufferJPEGBaseline huff; in vaapi_mjpeg_decode_slice() local
83 memset(&huff, 0, sizeof(huff)); in vaapi_mjpeg_decode_slice()
85 huff.load_huffman_table[i] = 1; in vaapi_mjpeg_decode_slice()
87 huff.huffman_table[i].num_dc_codes[j] = s->raw_huffman_lengths[0][i][j]; in vaapi_mjpeg_decode_slice()
89 huff.huffman_table[i].dc_values[j] = s->raw_huffman_values[0][i][j]; in vaapi_mjpeg_decode_slice()
91 huff.huffman_table[i].num_ac_codes[j] = s->raw_huffman_lengths[1][i][j]; in vaapi_mjpeg_decode_slice()
93 huff.huffman_table[i].ac_values[j] = s->raw_huffman_values[1][i][j]; in vaapi_mjpeg_decode_slice()
98 &huff, sizeof(huff)); in vaapi_mjpeg_decode_slice()
Dvaapi_encode_mjpeg.c186 VAHuffmanTableBufferJPEGBaseline *huff; in vaapi_encode_mjpeg_write_extra_buffer() local
188 if (*data_len < sizeof(*huff)) in vaapi_encode_mjpeg_write_extra_buffer()
191 *data_len = sizeof(*huff); in vaapi_encode_mjpeg_write_extra_buffer()
193 huff = (VAHuffmanTableBufferJPEGBaseline*)data; in vaapi_encode_mjpeg_write_extra_buffer()
194 memset(huff, 0, sizeof(*huff)); in vaapi_encode_mjpeg_write_extra_buffer()
199 huff->load_huffman_table[t] = 1; in vaapi_encode_mjpeg_write_extra_buffer()
203 k += (huff->huffman_table[t].num_dc_codes[i] = ht->L[i]); in vaapi_encode_mjpeg_write_extra_buffer()
204 av_assert0(k <= sizeof(huff->huffman_table[t].dc_values)); in vaapi_encode_mjpeg_write_extra_buffer()
206 huff->huffman_table[t].dc_values[i] = ht->V[i]; in vaapi_encode_mjpeg_write_extra_buffer()
210 k += (huff->huffman_table[t].num_ac_codes[i] = ht->L[i]); in vaapi_encode_mjpeg_write_extra_buffer()
[all …]
Datrac9dec.c419 const HuffmanCodebook *huff = &at9_huffman_coeffs[cb][prec][cbi]; in read_coeffs_coarse() local
420 const int groups = bands >> huff->value_cnt_pow; in read_coeffs_coarse()
425 for (int k = 0; k < huff->value_cnt; k++) { in read_coeffs_coarse()
426 coeffs[k] = sign_extend(val, huff->value_bits); in read_coeffs_coarse()
427 val >>= huff->value_bits; in read_coeffs_coarse()
430 coeffs += huff->value_cnt; in read_coeffs_coarse()
/third_party/flutter/skia/third_party/externals/zlib/
Dinftrees.c48 unsigned huff; /* Huffman code */ local
198 huff = 0; /* starting code */
236 next[(huff >> drop) + fill] = here;
241 while (huff & incr)
244 huff &= incr - 1;
245 huff += incr;
248 huff = 0;
258 if (len > root && (huff & mask) != low) {
283 low = huff & mask;
293 if (huff != 0) {
[all …]
/third_party/skia/third_party/externals/zlib/
Dinftrees.c48 unsigned huff; /* Huffman code */ local
198 huff = 0; /* starting code */
236 next[(huff >> drop) + fill] = here;
241 while (huff & incr)
244 huff &= incr - 1;
245 huff += incr;
248 huff = 0;
258 if (len > root && (huff & mask) != low) {
283 low = huff & mask;
293 if (huff != 0) {
[all …]
/third_party/boost/libs/beast/test/extern/zlib-1.2.11/
Dinftrees.c48 unsigned huff; /* Huffman code */ local
198 huff = 0; /* starting code */
236 next[(huff >> drop) + fill] = here;
241 while (huff & incr)
244 huff &= incr - 1;
245 huff += incr;
248 huff = 0;
258 if (len > root && (huff & mask) != low) {
283 low = huff & mask;
293 if (huff != 0) {
[all …]
/third_party/zlib/
Dinftrees.c44 unsigned huff; /* Huffman code */ in inflate_table() local
194 huff = 0; /* starting code */ in inflate_table()
232 next[(huff >> drop) + fill] = here; in inflate_table()
237 while (huff & incr) in inflate_table()
240 huff &= incr - 1; in inflate_table()
241 huff += incr; in inflate_table()
244 huff = 0; in inflate_table()
254 if (len > root && (huff & mask) != low) { in inflate_table()
279 low = huff & mask; in inflate_table()
289 if (huff != 0) { in inflate_table()
[all …]
/third_party/boost/tools/boost_install/test/iostreams/zlib-1.2.11/
Dinftrees.c48 unsigned huff; /* Huffman code */ local
198 huff = 0; /* starting code */
236 next[(huff >> drop) + fill] = here;
241 while (huff & incr)
244 huff &= incr - 1;
245 huff += incr;
248 huff = 0;
258 if (len > root && (huff & mask) != low) {
283 low = huff & mask;
293 if (huff != 0) {
[all …]
/third_party/node/deps/zlib/
Dinftrees.c48 unsigned huff; /* Huffman code */ local
198 huff = 0; /* starting code */
236 next[(huff >> drop) + fill] = here;
241 while (huff & incr)
244 huff &= incr - 1;
245 huff += incr;
248 huff = 0;
258 if (len > root && (huff & mask) != low) {
283 low = huff & mask;
293 if (huff != 0) {
[all …]
/third_party/toybox/lib/
Ddeflate.c155 struct huff { struct
165 static void len2huff(struct huff *huff, char bitlen[], int len) in len2huff() argument
171 memset(huff, 0, sizeof(struct huff)); in len2huff()
172 for (i = 0; i<len; i++) huff->length[bitlen[i]]++; in len2huff()
176 *huff->length = *offset = 0; in len2huff()
177 for (i = 1; i<16; i++) offset[i] = offset[i-1] + huff->length[i-1]; in len2huff()
178 for (i = 0; i<len; i++) if (bitlen[i]) huff->symbol[offset[bitlen[i]]++] = i; in len2huff()
185 static unsigned huff_and_puff(struct bitbuf *bb, struct huff *huff) in huff_and_puff() argument
187 unsigned short *length = huff->length; in huff_and_puff()
195 if ((length - huff->length) & 16) error_exit("bad symbol"); in huff_and_puff()
[all …]
/third_party/libjpeg-turbo/
DCMakeLists.txt1016 # CC: null SAMP: fullsize FDCT: islow ENT: huff
1021 # CC: null SAMP: fullsize IDCT: islow ENT: huff
1037 # CC: RGB->RGB565 SAMP: fullsize IDCT: islow ENT: huff
1042 # CC: RGB->RGB565 (dithered) SAMP: fullsize IDCT: islow ENT: huff
1048 # CC: RGB->YCC SAMP: fullsize/h2v1 FDCT: ifast ENT: 2-pass huff
1053 # CC: YCC->RGB SAMP: fullsize/h2v1 fancy IDCT: ifast ENT: huff
1058 # CC: YCC->RGB SAMP: h2v1 merged IDCT: ifast ENT: huff
1064 # CC: YCC->RGB565 SAMP: h2v1 merged IDCT: ifast ENT: huff
1070 # CC: YCC->RGB565 (dithered) SAMP: h2v1 merged IDCT: ifast ENT: huff
1076 # CC: RGB->YCC SAMP: fullsize/h2v2 FDCT: ifast ENT: prog huff
[all …]
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
DCMakeLists.txt988 # CC: null SAMP: fullsize FDCT: islow ENT: huff
993 # CC: null SAMP: fullsize IDCT: islow ENT: huff
1005 # CC: RGB->RGB565 SAMP: fullsize IDCT: islow ENT: huff
1010 # CC: RGB->RGB565 (dithered) SAMP: fullsize IDCT: islow ENT: huff
1016 # CC: RGB->YCC SAMP: fullsize/h2v1 FDCT: ifast ENT: 2-pass huff
1021 # CC: YCC->RGB SAMP: fullsize/h2v1 fancy IDCT: ifast ENT: huff
1026 # CC: YCC->RGB SAMP: h2v1 merged IDCT: ifast ENT: huff
1032 # CC: YCC->RGB565 SAMP: h2v1 merged IDCT: ifast ENT: huff
1038 # CC: YCC->RGB565 (dithered) SAMP: h2v1 merged IDCT: ifast ENT: huff
1044 # CC: RGB->YCC SAMP: fullsize/h2v2 FDCT: ifast ENT: prog huff
[all …]
/third_party/boost/boost/beast/zlib/detail/
Dinflate_stream.ipp566 unsigned huff; // Huffman code
691 filled is at next and has curr index bits. The code being used is huff
699 of the low root bits of huff. This is saved in low to check for when a
741 huff = 0; /* starting code */
783 /* replicate for those indices with low len bits equal to huff */
790 next[(huff >> drop) + fill] = here;
793 /* backwards increment the len-bit code huff */
795 while (huff & incr)
799 huff &= incr - 1;
800 huff += incr;
[all …]
/third_party/boost/libs/beast/include/boost/beast/zlib/detail/
Dinflate_stream.ipp566 unsigned huff; // Huffman code
691 filled is at next and has curr index bits. The code being used is huff
699 of the low root bits of huff. This is saved in low to check for when a
741 huff = 0; /* starting code */
783 /* replicate for those indices with low len bits equal to huff */
790 next[(huff >> drop) + fill] = here;
793 /* backwards increment the len-bit code huff */
795 while (huff & incr)
799 huff &= incr - 1;
800 huff += incr;
[all …]
/third_party/flutter/skia/third_party/externals/libwebp/src/dec/
Dvp8l_dec.c220 HuffmanCode32* const huff) { in AccumulateHCode() argument
221 huff->bits += hcode.bits; in AccumulateHCode()
222 huff->value |= (uint32_t)hcode.value << shift; in AccumulateHCode()
223 assert(huff->bits <= HUFFMAN_TABLE_BITS); in AccumulateHCode()
231 HuffmanCode32* const huff = &htree_group->packed_table[bits]; in BuildPackedTable() local
234 huff->bits = hcode.bits + BITS_SPECIAL_MARKER; in BuildPackedTable()
235 huff->value = hcode.value; in BuildPackedTable()
237 huff->bits = 0; in BuildPackedTable()
238 huff->value = 0; in BuildPackedTable()
239 bits >>= AccumulateHCode(hcode, 8, huff); in BuildPackedTable()
[all …]
/third_party/skia/third_party/externals/libwebp/src/dec/
Dvp8l_dec.c220 HuffmanCode32* const huff) { in AccumulateHCode() argument
221 huff->bits += hcode.bits; in AccumulateHCode()
222 huff->value |= (uint32_t)hcode.value << shift; in AccumulateHCode()
223 assert(huff->bits <= HUFFMAN_TABLE_BITS); in AccumulateHCode()
231 HuffmanCode32* const huff = &htree_group->packed_table[bits]; in BuildPackedTable() local
234 huff->bits = hcode.bits + BITS_SPECIAL_MARKER; in BuildPackedTable()
235 huff->value = hcode.value; in BuildPackedTable()
237 huff->bits = 0; in BuildPackedTable()
238 huff->value = 0; in BuildPackedTable()
239 bits >>= AccumulateHCode(hcode, 8, huff); in BuildPackedTable()
[all …]
/third_party/grpc/src/core/ext/transport/chttp2/transport/
Dhpack_parser.h88 uint8_t huff; member
Dhpack_parser.cc1247 p->huff = (*cur) >> 7; in parse_string_prefix()
1453 if (p->huff) { in add_str_bytes()
1486 if (!p->huff && binary == NOT_BINARY && in begin_parse_string()
1505 if (p->huff) { in begin_parse_string()
/third_party/libwebsockets/lib/roles/h2/
Dprivate-lib-roles-h2.h264 unsigned int huff:1; member
Dhpack.c1029 h2n->huff = !!(c & 0x80); in lws_hpack_interpret()
1112 if (h2n->huff) { in lws_hpack_interpret()
1216 if (h2n->huff && (h2n->huff_pad > 7 || in lws_hpack_interpret()

12