19typedef int16_t jd_yuv_t;
21typedef uint8_t jd_yuv_t;
47typedef struct JDEC JDEC;
59 uint16_t width, height;
60 uint8_t* huffbits[2][2];
61 uint16_t* huffcode[2][2];
62 uint8_t* huffdata[2][2];
68 uint8_t longofs[2][2];
69 uint16_t* hufflut_ac[2];
70 uint8_t* hufflut_dc[2];
77 size_t (*infunc)(JDEC*, uint8_t*, size_t);
84JRESULT jd_prepare (JDEC* jd,
size_t (*infunc)(JDEC*,uint8_t*,
size_t),
void* pool,
size_t sz_pool,
void* dev);
85JRESULT jd_decomp (JDEC* jd,
int (*outfunc)(JDEC*,
void*,JRECT*), uint8_t scale);