Skip to content

Commit 83ff22a

Browse files
committed
set up tjpgd as we want it
1 parent 5978c4e commit 83ff22a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/tjpgd/src/tjpgdcnf.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#define JD_SZBUF 512
66
/* Specifies size of stream input buffer */
77

8-
#define JD_FORMAT 0
8+
#define JD_FORMAT 1
99
/* Specifies output pixel format.
1010
/ 0: RGB888 (24-bit/pix)
1111
/ 1: RGB565 (16-bit/pix)
@@ -24,7 +24,7 @@
2424
/ 1: Enable
2525
*/
2626

27-
#define JD_FASTDECODE 0
27+
#define JD_FASTDECODE 1
2828
/* Optimization level
2929
/ 0: Basic optimization. Suitable for 8/16-bit MCUs.
3030
/ 1: + 32-bit barrel shifter. Suitable for 32-bit MCUs.

0 commit comments

Comments
 (0)