Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/lib/zlib_inflate/
Dinftrees.c34 unsigned huff; /* Huffman code */ in zlib_inflate_table() local
187 huff = 0; /* starting code */ in zlib_inflate_table()
224 next[(huff >> drop) + fill] = this; in zlib_inflate_table()
229 while (huff & incr) in zlib_inflate_table()
232 huff &= incr - 1; in zlib_inflate_table()
233 huff += incr; in zlib_inflate_table()
236 huff = 0; in zlib_inflate_table()
246 if (len > root && (huff & mask) != low) { in zlib_inflate_table()
270 low = huff & mask; in zlib_inflate_table()
287 while (huff != 0) { in zlib_inflate_table()
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/coda/
Dcoda-jpeg.c218 static const struct coda_memcpy_desc huff[8] = { in coda_jpeg_write_tables() local
231 for (i = 0; i < ARRAY_SIZE(huff); i++) in coda_jpeg_write_tables()
232 coda_memcpy_parabuf(ctx->parabuf.vaddr, huff + i); in coda_jpeg_write_tables()
590 } *huff; in coda9_jpeg_gen_enc_huff_tab() local
596 huff = kzalloc(sizeof(*huff), GFP_KERNEL); in coda9_jpeg_gen_enc_huff_tab()
597 if (!huff) in coda9_jpeg_gen_enc_huff_tab()
612 huff->size[k++] = i; in coda9_jpeg_gen_enc_huff_tab()
619 si = huff->size[0]; in coda9_jpeg_gen_enc_huff_tab()
621 while (huff->size[k] == si) { in coda9_jpeg_gen_enc_huff_tab()
622 huff->code[k++] = code; in coda9_jpeg_gen_enc_huff_tab()
[all …]