From 436f4d3a204e8183d32d8c47975e6a294be1c0fa Mon Sep 17 00:00:00 2001 From: Andrew Mahone Date: Sat, 30 Jan 2010 02:20:54 +0000 Subject: Improve libdemac SATURATE slightly on ARMv4/5, move filter buffers and code out of IRAM for sizes that aren't near realtime and extend udiv32_arm reciprocal table. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24376 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/demac/libdemac/demac_config.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/codecs/demac/libdemac/demac_config.h') diff --git a/apps/codecs/demac/libdemac/demac_config.h b/apps/codecs/demac/libdemac/demac_config.h index 1beda2b9cd..13166f69ae 100644 --- a/apps/codecs/demac/libdemac/demac_config.h +++ b/apps/codecs/demac/libdemac/demac_config.h @@ -44,6 +44,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA #define FILTER_BITS 32 #endif +#if !defined(CPU_PP) && !defined(CPU_S5L870X) +#define FILTER256_IRAM +#endif + #if CONFIG_CPU == PP5002 /* Code in IRAM for speed, not enough IRAM for the insane filter buffer. */ #define ICODE_SECTION_DEMAC_ARM .icode -- cgit v1.2.3