Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/platform/chips-media/
H A Dcoda-jpeg.c429 s16 *huff_max = huff_tab->max; in coda9_jpeg_dec_huff_setup() local
443 coda_write(dev, (s32)huff_max[i], CODA9_REG_JPEG_HUFF_DATA); in coda9_jpeg_dec_huff_setup()
672 s16 *huff_max; in coda9_jpeg_gen_dec_huff_tab() local
687 huff_max = ctx->params.jpeg_huff_tab->max + ofs; in coda9_jpeg_gen_dec_huff_tab()
695 huff_max[i] = huff_code + (huff_bits[i] - 1); in coda9_jpeg_gen_dec_huff_tab()
701 huff_max[i] = -1; in coda9_jpeg_gen_dec_huff_tab()
709 huff_code = (huff_max[i] + 1) << 1; in coda9_jpeg_gen_dec_huff_tab()