summaryrefslogtreecommitdiff
path: root/apps/recorder/jpeg_load.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/recorder/jpeg_load.c')
-rw-r--r--apps/recorder/jpeg_load.c17
1 files changed, 10 insertions, 7 deletions
diff --git a/apps/recorder/jpeg_load.c b/apps/recorder/jpeg_load.c
index fa2df5b993..5ffa4a54a0 100644
--- a/apps/recorder/jpeg_load.c
+++ b/apps/recorder/jpeg_load.c
@@ -382,13 +382,6 @@ static void jpeg_idct4h(int16_t *ws, unsigned char *out, int16_t *end, int rowst
382 DS_OUT)); 382 DS_OUT));
383 } 383 }
384} 384}
385#else
386extern void jpeg_idct1h(int16_t *ws, unsigned char *out, int16_t *end, int rowstep);
387extern void jpeg_idct2v(int16_t *ws, int16_t *end);
388extern void jpeg_idct2h(int16_t *ws, unsigned char *out, int16_t *end, int rowstep);
389extern void jpeg_idct4v(int16_t *ws, int16_t *end);
390extern void jpeg_idct4h(int16_t *ws, unsigned char *out, int16_t *end, int rowstep);
391#endif
392 385
393/* vertical-pass 8-point IDCT */ 386/* vertical-pass 8-point IDCT */
394static void jpeg_idct8v(int16_t *ws, int16_t *end) 387static void jpeg_idct8v(int16_t *ws, int16_t *end)
@@ -599,6 +592,16 @@ static void jpeg_idct8h(int16_t *ws, unsigned char *out, int16_t *end, int rowst
599 } 592 }
600} 593}
601 594
595#else
596extern void jpeg_idct1h(int16_t *ws, unsigned char *out, int16_t *end, int rowstep);
597extern void jpeg_idct2v(int16_t *ws, int16_t *end);
598extern void jpeg_idct2h(int16_t *ws, unsigned char *out, int16_t *end, int rowstep);
599extern void jpeg_idct4v(int16_t *ws, int16_t *end);
600extern void jpeg_idct4h(int16_t *ws, unsigned char *out, int16_t *end, int rowstep);
601extern void jpeg_idct8v(int16_t *ws, int16_t *end);
602extern void jpeg_idct8h(int16_t *ws, unsigned char *out, int16_t *end, int rowstep);
603#endif
604
602#ifdef HAVE_LCD_COLOR 605#ifdef HAVE_LCD_COLOR
603/* vertical-pass 16-point IDCT */ 606/* vertical-pass 16-point IDCT */
604static void jpeg_idct16v(int16_t *ws, int16_t *end) 607static void jpeg_idct16v(int16_t *ws, int16_t *end)