diff options
author | Michael Giacomelli <giac2000@hotmail.com> | 2007-07-08 22:03:56 +0000 |
---|---|---|
committer | Michael Giacomelli <giac2000@hotmail.com> | 2007-07-08 22:03:56 +0000 |
commit | 9b176d88c8c98d3656ebdcfaac7163b3e87d1c7d (patch) | |
tree | 5f05bf01d2bf448a790dfecec7b85a50ae0debf5 /apps/codecs | |
parent | 610d3b4cc5f47d8773cf8947827ebb34b5ff263d (diff) |
Inline wma_window functions. No real performance improvement. Also, thanks to Benjamin Larsson for cleaning up some code I was simply to lazy to fix myself.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13823 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs')
-rw-r--r-- | apps/codecs/libwma/wmadeci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/libwma/wmadeci.c b/apps/codecs/libwma/wmadeci.c index f296a516f8..17a96b5e65 100644 --- a/apps/codecs/libwma/wmadeci.c +++ b/apps/codecs/libwma/wmadeci.c @@ -687,13 +687,13 @@ void ff_mdct_end(MDCTContext *s) * */ -static void vector_fmul_add_add(fixed32 *dst, const fixed32 *src0, const fixed32 *src1, int len){ +static inline void vector_fmul_add_add(fixed32 *dst, const fixed32 *src0, const fixed32 *src1, int len){ int i; for(i=0; i<len; i++) dst[i] = fixmul32b(src0[i], src1[i]) + dst[i]; } -static void vector_fmul_reverse(fixed32 *dst, const fixed32 *src0, const fixed32 *src1, int len){ +static inline void vector_fmul_reverse(fixed32 *dst, const fixed32 *src0, const fixed32 *src1, int len){ int i; src1 += len-1; for(i=0; i<len; i++) |