diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2010-02-21 22:05:48 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2010-02-21 22:05:48 +0000 |
commit | 28bc321dbb20bc061c4e39b4eccce4c80fcac4a1 (patch) | |
tree | 2c60b2ca5d5ad4563da8b44cdd0949e4ba1eff49 /apps/codecs/lib/asm_mcf5249.h | |
parent | 84a4a1d5cc214e7450b60c006bef24ae550a76f3 (diff) | |
download | rockbox-28bc321dbb20bc061c4e39b4eccce4c80fcac4a1.tar.gz rockbox-28bc321dbb20bc061c4e39b4eccce4c80fcac4a1.zip |
Remove CLIP_TO_15 from codeclib. Remove tabs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24834 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/lib/asm_mcf5249.h')
-rw-r--r-- | apps/codecs/lib/asm_mcf5249.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/codecs/lib/asm_mcf5249.h b/apps/codecs/lib/asm_mcf5249.h index 2888f6dc54..f103e78769 100644 --- a/apps/codecs/lib/asm_mcf5249.h +++ b/apps/codecs/lib/asm_mcf5249.h | |||
@@ -325,17 +325,19 @@ void vect_mult_bw(int32_t *data, int32_t *window, int n) | |||
325 | #endif | 325 | #endif |
326 | 326 | ||
327 | #endif | 327 | #endif |
328 | 328 | /* not used anymore */ | |
329 | /* | ||
329 | #ifndef _V_CLIP_MATH | 330 | #ifndef _V_CLIP_MATH |
330 | #define _V_CLIP_MATH | 331 | #define _V_CLIP_MATH |
331 | 332 | ||
332 | /* this is portable C and simple; why not use this as default? */ | 333 | * this is portable C and simple; why not use this as default? |
333 | static inline int32_t CLIP_TO_15(register int32_t x) { | 334 | static inline int32_t CLIP_TO_15(register int32_t x) { |
334 | register int32_t hi=32767, lo=-32768; | 335 | register int32_t hi=32767, lo=-32768; |
335 | return (x>=hi ? hi : (x<=lo ? lo : x)); | 336 | return (x>=hi ? hi : (x<=lo ? lo : x)); |
336 | } | 337 | } |
337 | 338 | ||
338 | #endif | 339 | #endif |
340 | */ | ||
339 | #else | 341 | #else |
340 | #define LINE_ATTR | 342 | #define LINE_ATTR |
341 | #endif | 343 | #endif |