tjpgd.h

Typedefs

typedef int16_t jd_yuv_t
typedef struct JDEC JDEC

Enums

enum JRESULT

Values:

enumerator JDR_OK
enumerator JDR_INTR
enumerator JDR_INP
enumerator JDR_MEM1
enumerator JDR_MEM2
enumerator JDR_PAR
enumerator JDR_FMT1
enumerator JDR_FMT2
enumerator JDR_FMT3

Functions

JRESULT jd_prepare(JDEC *jd, size_t (*infunc)(JDEC*, uint8_t*, size_t), void *pool, size_t sz_pool, void *dev)
JRESULT jd_decomp(JDEC *jd, int (*outfunc)(JDEC*, void*, JRECT*), uint8_t scale)
JRESULT jd_mcu_load(JDEC *jd)
JRESULT jd_mcu_output(JDEC *jd, int (*outfunc)(JDEC*, void*, JRECT*), unsigned int x, unsigned int y)
JRESULT jd_restart(JDEC *jd, uint16_t rstn)
struct JRECT

Public Members

uint16_t left
uint16_t right
uint16_t top
uint16_t bottom
struct JDEC

Public Members

size_t dctr
uint8_t *dptr
uint8_t *inbuf
uint8_t dbit
uint8_t scale
uint8_t msx
uint8_t msy
uint8_t qtid[3]
uint8_t ncomp
int16_t dcv[3]
uint16_t nrst
uint16_t rst
uint16_t rsc
uint16_t width
uint16_t height
uint8_t *huffbits[2][2]
uint16_t *huffcode[2][2]
uint8_t *huffdata[2][2]
int32_t *qttbl[4]
uint32_t wreg
uint8_t marker
void *workbuf
jd_yuv_t *mcubuf
void *pool
void *pool_original
size_t sz_pool
size_t (*infunc)(JDEC*, uint8_t*, size_t)
void *device