ESP32-IDF
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Data Structures | Macros | Typedefs | Enumerations | Functions
tjpgd.h File Reference

Go to the source code of this file.

Data Structures

struct  JRECT
 
struct  JDEC
 

Macros

#define JD_SZBUF   512 /* Size of stream input buffer */
 
#define JD_FORMAT   0 /* Output pixel format 0:RGB888 (3 BYTE/pix), 1:RGB565 (1 WORD/pix) */
 
#define JD_USE_SCALE   1 /* Use descaling feature for output */
 
#define JD_TBLCLIP   1 /* Use table for saturation (might be a bit faster but increases 1K bytes of code size) */
 

Typedefs

typedef int INT
 
typedef unsigned int UINT
 
typedef char CHAR
 
typedef unsigned char UCHAR
 
typedef unsigned char BYTE
 
typedef short SHORT
 
typedef unsigned short USHORT
 
typedef unsigned short WORD
 
typedef unsigned short WCHAR
 
typedef long LONG
 
typedef unsigned long ULONG
 
typedef unsigned long DWORD
 
typedef struct JDEC JDEC
 

Enumerations

enum  JRESULT {
  JDR_OK = 0, JDR_INTR, JDR_INP, JDR_MEM1,
  JDR_MEM2, JDR_PAR, JDR_FMT1, JDR_FMT2,
  JDR_FMT3
}
 

Functions

JRESULT jd_prepare (JDEC *, UINT(*)(JDEC *, BYTE *, UINT), void *, UINT, void *)
 
JRESULT jd_decomp (JDEC *, UINT(*)(JDEC *, void *, JRECT *), BYTE)
 

Macro Definition Documentation

#define JD_FORMAT   0 /* Output pixel format 0:RGB888 (3 BYTE/pix), 1:RGB565 (1 WORD/pix) */
#define JD_SZBUF   512 /* Size of stream input buffer */
#define JD_TBLCLIP   1 /* Use table for saturation (might be a bit faster but increases 1K bytes of code size) */
#define JD_USE_SCALE   1 /* Use descaling feature for output */

Typedef Documentation

typedef unsigned char BYTE
typedef char CHAR
typedef unsigned long DWORD
typedef int INT
typedef struct JDEC JDEC
typedef long LONG
typedef short SHORT
typedef unsigned char UCHAR
typedef unsigned int UINT
typedef unsigned long ULONG
typedef unsigned short USHORT
typedef unsigned short WCHAR
typedef unsigned short WORD

Enumeration Type Documentation

enum JRESULT
Enumerator
JDR_OK 
JDR_INTR 
JDR_INP 
JDR_MEM1 
JDR_MEM2 
JDR_PAR 
JDR_FMT1 
JDR_FMT2 
JDR_FMT3 

Function Documentation

JRESULT jd_decomp ( JDEC ,
UINT(*)(JDEC *, void *, JRECT *)  ,
BYTE   
)
JRESULT jd_prepare ( JDEC ,
UINT(*)(JDEC *, BYTE *, UINT ,
void ,
UINT  ,
void  
)