summaryrefslogtreecommitdiff
path: root/apps/codecs/libwmapro/wmapro_math.h
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2010-07-29 22:18:04 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2010-07-29 22:18:04 +0000
commitaa2fca384a7e71b7a9afbee0d68cfb2b7a5266f5 (patch)
treecff75c9a211b84890e16eee128cda84dba33727a /apps/codecs/libwmapro/wmapro_math.h
parente63e19b50773393064e7a458297b18a835e8b004 (diff)
Maintenance and minor speedup of libwmapro. Comment unused arrays, fix comment, remove tabs and introduce WMAPRO_FRACT to wma.h to remove magic numbers. Swap operands of fixmul16-call for minor speedup on ARM (+1%).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27617 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libwmapro/wmapro_math.h')
-rw-r--r--apps/codecs/libwmapro/wmapro_math.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/libwmapro/wmapro_math.h b/apps/codecs/libwmapro/wmapro_math.h
index 06df737bc0..b605f275e8 100644
--- a/apps/codecs/libwmapro/wmapro_math.h
+++ b/apps/codecs/libwmapro/wmapro_math.h
@@ -276,7 +276,7 @@ static inline void vector_fixmul_window(int32_t *dst, const int32_t *src0,
dst[i+1] = fixmul24(src[i+1], mul); \
dst[i+2] = fixmul24(src[i+2], mul); \
dst[i+3] = fixmul24(src[i+3], mul);
-#endif /* CPU_ARM */
+#endif /* CPU_ARM, CPU_COLDFIRE */
static inline void vector_fixmul_scalar(int32_t *dst, const int32_t *src,
int32_t mul, int len)