1 /*----------------------------------------------*/
2 /* TJpgDec System Configurations R0.03          */
3 /*----------------------------------------------*/
4 
5 #define	JD_SZBUF		512
6 /* Specifies size of stream input buffer */
7 
8 #define JD_FORMAT		0
9 /* Specifies output pixel format.
10 /  0: RGB888 (24-bit/pix)
11 /  1: RGB565 (16-bit/pix)
12 /  2: Grayscale (8-bit/pix)
13 */
14 
15 #define	JD_USE_SCALE	1
16 /* Switches output descaling feature.
17 /  0: Disable
18 /  1: Enable
19 */
20 
21 #define JD_TBLCLIP		1
22 /* Use table conversion for saturation arithmetic. A bit faster, but increases 1 KB of code size.
23 /  0: Disable
24 /  1: Enable
25 */
26 
27 #define JD_FASTDECODE	0
28 /* Optimization level
29 /  0: Basic optimization. Suitable for 8/16-bit MCUs.
30 /  1: + 32-bit barrel shifter. Suitable for 32-bit MCUs.
31 /  2: + Table conversion for huffman decoding (wants 6 << HUFF_BIT bytes of RAM)
32 */
33 
34