Home
last modified time | relevance | path

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

/lvgl-latest/src/libs/tjpgd/
Dtjpgd.c134 JDEC * jd, /* Pointer to the decompressor object */ in alloc_pool() argument
143 if(jd->sz_pool >= ndata) { in alloc_pool()
144 jd->sz_pool -= ndata; in alloc_pool()
145 rp = (char *)jd->pool; /* Get start of available memory pool */ in alloc_pool()
146 jd->pool = (void *)(rp + ndata); /* Allocate required bytes */ in alloc_pool()
160 JDEC * jd, /* Pointer to the decompressor object */ in create_qt_tbl() argument
176 pb = alloc_pool(jd, 64 * sizeof(int32_t)); /* Allocate a memory block for the table */ in create_qt_tbl()
178 jd->qttbl[i] = pb; /* Register the table */ in create_qt_tbl()
196 JDEC * jd, /* Pointer to the decompressor object */ in create_huffman_tbl() argument
214 … pb = alloc_pool(jd, 16); /* Allocate a memory block for the bit distribution table */ in create_huffman_tbl()
[all …]
Dlv_tjpgd.c40 static size_t input_func(JDEC * jd, uint8_t * buff, size_t ndata);
111 JDEC jd; in decoder_info() local
112 JRESULT rc = jd_prepare(&jd, input_func, workb, TJPGD_WORKBUFF_SIZE, &dsc->file); in decoder_info()
118 header->w = jd.width; in decoder_info()
119 header->h = jd.height; in decoder_info()
120 header->stride = jd.width * 3; in decoder_info()
128 static size_t input_func(JDEC * jd, uint8_t * buff, size_t ndata) in input_func() argument
130 lv_fs_file_t * f = jd->device; in input_func()
188 JDEC * jd = lv_malloc(sizeof(JDEC)); in decoder_open() local
189 dsc->user_data = jd; in decoder_open()
[all …]
Dtjpgd.h92 JRESULT jd_prepare(JDEC * jd, size_t (*infunc)(JDEC *, uint8_t *, size_t), void * pool, size_t sz_p…
94 JRESULT jd_decomp(JDEC * jd, int (*outfunc)(JDEC *, void *, JRECT *), uint8_t scale);
96 JRESULT jd_mcu_load(JDEC * jd);
98 JRESULT jd_mcu_output(JDEC * jd, int (*outfunc)(JDEC *, void *, JRECT *), unsigned int x, unsigned …
100 JRESULT jd_restart(JDEC * jd, uint16_t rstn);