diff options
-rw-r--r-- | apps/recorder/jpeg_load.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/recorder/jpeg_load.c b/apps/recorder/jpeg_load.c index 177e7c098c..22e017d9e8 100644 --- a/apps/recorder/jpeg_load.c +++ b/apps/recorder/jpeg_load.c | |||
@@ -578,6 +578,7 @@ static void idct8h(int *ws, unsigned char *out, int rows, int rowstep) | |||
578 | } | 578 | } |
579 | } | 579 | } |
580 | 580 | ||
581 | #ifdef HAVE_LCD_COLOR | ||
581 | /* vertical-pass 16-point IDCT */ | 582 | /* vertical-pass 16-point IDCT */ |
582 | static void idct16v(int *ws, int cols) | 583 | static void idct16v(int *ws, int cols) |
583 | { | 584 | { |
@@ -808,6 +809,7 @@ static void idct16h(int *ws, unsigned char *out, int rows, int rowstep) | |||
808 | DS_OUT)); | 809 | DS_OUT)); |
809 | } | 810 | } |
810 | } | 811 | } |
812 | #endif | ||
811 | 813 | ||
812 | struct idct_entry { | 814 | struct idct_entry { |
813 | int v_scale; | 815 | int v_scale; |
@@ -821,7 +823,9 @@ struct idct_entry idct_tbl[] = { | |||
821 | { PASS1_BITS, CONST_BITS, idct2v, idct2h }, | 823 | { PASS1_BITS, CONST_BITS, idct2v, idct2h }, |
822 | { 0, 0, idct4v, idct4h }, | 824 | { 0, 0, idct4v, idct4h }, |
823 | { 0, 0, idct8v, idct8h }, | 825 | { 0, 0, idct8v, idct8h }, |
826 | #ifdef HAVE_LCD_COLOR | ||
824 | { 0, 0, idct16v, idct16h }, | 827 | { 0, 0, idct16v, idct16h }, |
828 | #endif | ||
825 | }; | 829 | }; |
826 | 830 | ||
827 | /* JPEG decoder implementation */ | 831 | /* JPEG decoder implementation */ |