summaryrefslogtreecommitdiff
path: root/apps/codecs
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2007-07-08 22:03:56 +0000
committerMichael Giacomelli <giac2000@hotmail.com>2007-07-08 22:03:56 +0000
commit9b176d88c8c98d3656ebdcfaac7163b3e87d1c7d (patch)
tree5f05bf01d2bf448a790dfecec7b85a50ae0debf5 /apps/codecs
parent610d3b4cc5f47d8773cf8947827ebb34b5ff263d (diff)
downloadrockbox-9b176d88c8c98d3656ebdcfaac7163b3e87d1c7d.tar.gz
rockbox-9b176d88c8c98d3656ebdcfaac7163b3e87d1c7d.zip
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.c4
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)
687 * 687 *
688 */ 688 */
689 689
690static void vector_fmul_add_add(fixed32 *dst, const fixed32 *src0, const fixed32 *src1, int len){ 690static inline void vector_fmul_add_add(fixed32 *dst, const fixed32 *src0, const fixed32 *src1, int len){
691 int i; 691 int i;
692 for(i=0; i<len; i++) 692 for(i=0; i<len; i++)
693 dst[i] = fixmul32b(src0[i], src1[i]) + dst[i]; 693 dst[i] = fixmul32b(src0[i], src1[i]) + dst[i];
694} 694}
695 695
696static void vector_fmul_reverse(fixed32 *dst, const fixed32 *src0, const fixed32 *src1, int len){ 696static inline void vector_fmul_reverse(fixed32 *dst, const fixed32 *src0, const fixed32 *src1, int len){
697 int i; 697 int i;
698 src1 += len-1; 698 src1 += len-1;
699 for(i=0; i<len; i++) 699 for(i=0; i<len; i++)