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:
parent
153d74443a
commit
163d72ff1f
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue