forked from len0rd/rockbox
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
This commit is contained in:
parent
610d3b4cc5
commit
9b176d88c8
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
int i;
|
||||||
for(i=0; i<len; i++)
|
for(i=0; i<len; i++)
|
||||||
dst[i] = fixmul32b(src0[i], src1[i]) + dst[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;
|
int i;
|
||||||
src1 += len-1;
|
src1 += len-1;
|
||||||
for(i=0; i<len; i++)
|
for(i=0; i<len; i++)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue