1
0
Fork 0
forked from len0rd/rockbox

iPod 1st..3rd Gen: Nearly halve the cost of software treble/bass (and eq) by putting the filter routine in IRAM.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14452 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2007-08-24 21:03:19 +00:00
parent 153d74443a
commit 163d72ff1f

View file

@ -17,6 +17,8 @@
*
****************************************************************************/
#include "config.h"
/* uncomment this to make filtering calculate lower bits after shifting.
* without this, "shift" of the lower bits will be lost here.
*/
@ -26,7 +28,11 @@
* void eq_filter(int32_t **x, struct eqfilter *f, unsigned num,
* unsigned channels, unsigned shift)
*/
#if CONFIG_CPU == PP5002
.section .icode,"ax",%progbits
#else
.text
#endif
.global eq_filter
eq_filter:
ldr r12, [sp] @ get shift parameter