diff options
Diffstat (limited to 'apps/recorder/jpeg_load.c')
-rw-r--r-- | apps/recorder/jpeg_load.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/apps/recorder/jpeg_load.c b/apps/recorder/jpeg_load.c index f2b3b4ba74..fa2df5b993 100644 --- a/apps/recorder/jpeg_load.c +++ b/apps/recorder/jpeg_load.c | |||
@@ -270,11 +270,7 @@ INLINE unsigned range_limit(int value) | |||
270 | #define BUFAC 227 | 270 | #define BUFAC 227 |
271 | #define COMPONENT_SHIFT 15 | 271 | #define COMPONENT_SHIFT 15 |
272 | 272 | ||
273 | /* Some of the below have inline ASM optimizations of the loop contents. To | 273 | #ifndef CPU_ARM |
274 | make comparison with the C versions easier, the C variable names are used | ||
275 | in comments whenever intermediate values are labeled. | ||
276 | */ | ||
277 | |||
278 | /* horizontal-pass 1-point IDCT */ | 274 | /* horizontal-pass 1-point IDCT */ |
279 | static void jpeg_idct1h(int16_t *ws, unsigned char *out, int16_t *end, int rowstep) | 275 | static void jpeg_idct1h(int16_t *ws, unsigned char *out, int16_t *end, int rowstep) |
280 | { | 276 | { |
@@ -312,7 +308,6 @@ static void jpeg_idct2h(int16_t *ws, unsigned char *out, int16_t *end, int rowst | |||
312 | } | 308 | } |
313 | } | 309 | } |
314 | 310 | ||
315 | #ifndef CPU_ARM | ||
316 | /* vertical-pass 4-point IDCT */ | 311 | /* vertical-pass 4-point IDCT */ |
317 | static void jpeg_idct4v(int16_t *ws, int16_t *end) | 312 | static void jpeg_idct4v(int16_t *ws, int16_t *end) |
318 | { | 313 | { |
@@ -388,6 +383,9 @@ static void jpeg_idct4h(int16_t *ws, unsigned char *out, int16_t *end, int rowst | |||
388 | } | 383 | } |
389 | } | 384 | } |
390 | #else | 385 | #else |
386 | extern void jpeg_idct1h(int16_t *ws, unsigned char *out, int16_t *end, int rowstep); | ||
387 | extern void jpeg_idct2v(int16_t *ws, int16_t *end); | ||
388 | extern void jpeg_idct2h(int16_t *ws, unsigned char *out, int16_t *end, int rowstep); | ||
391 | extern void jpeg_idct4v(int16_t *ws, int16_t *end); | 389 | extern void jpeg_idct4v(int16_t *ws, int16_t *end); |
392 | extern void jpeg_idct4h(int16_t *ws, unsigned char *out, int16_t *end, int rowstep); | 390 | extern void jpeg_idct4h(int16_t *ws, unsigned char *out, int16_t *end, int rowstep); |
393 | #endif | 391 | #endif |