Home
last modified time | relevance | path

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

/lvgl-3.6.0/src/extra/libs/sjpg/
Dtjpgd.c242 uint8_t *tbl_dc = 0; in create_huffman_tbl() local
250 tbl_dc = alloc_pool(jd, HUFF_LEN * sizeof (uint8_t)); /* LUT for AC elements */ in create_huffman_tbl()
251 if (!tbl_dc) return JDR_MEM1; /* Err: not enough memory */ in create_huffman_tbl()
252 jd->hufflut_dc[num] = tbl_dc; in create_huffman_tbl()
253 memset(tbl_dc, 0xFF, HUFF_LEN * sizeof (uint8_t)); /* Default value (0xFF: may be long code) */ in create_huffman_tbl()
263 for (span = 1 << (HUFF_BIT - 1 - b); span; span--, tbl_dc[ti++] = (uint8_t)td) ; in create_huffman_tbl()