summaryrefslogtreecommitdiff
path: root/apps/codecs/demac/libdemac/demac_config.h
diff options
context:
space:
mode:
authorAndrew Mahone <andrew.mahone@gmail.com>2010-01-30 02:20:54 +0000
committerAndrew Mahone <andrew.mahone@gmail.com>2010-01-30 02:20:54 +0000
commit436f4d3a204e8183d32d8c47975e6a294be1c0fa (patch)
tree179e01ffbcbf216526ff008f1fd6453884768634 /apps/codecs/demac/libdemac/demac_config.h
parent423927310882669e70f318688945bd4e51a847f7 (diff)
downloadrockbox-436f4d3a204e8183d32d8c47975e6a294be1c0fa.tar.gz
rockbox-436f4d3a204e8183d32d8c47975e6a294be1c0fa.zip
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
Diffstat (limited to 'apps/codecs/demac/libdemac/demac_config.h')
-rw-r--r--apps/codecs/demac/libdemac/demac_config.h4
1 files changed, 4 insertions, 0 deletions
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
44#define FILTER_BITS 32 44#define FILTER_BITS 32
45#endif 45#endif
46 46
47#if !defined(CPU_PP) && !defined(CPU_S5L870X)
48#define FILTER256_IRAM
49#endif
50
47#if CONFIG_CPU == PP5002 51#if CONFIG_CPU == PP5002
48/* Code in IRAM for speed, not enough IRAM for the insane filter buffer. */ 52/* Code in IRAM for speed, not enough IRAM for the insane filter buffer. */
49#define ICODE_SECTION_DEMAC_ARM .icode 53#define ICODE_SECTION_DEMAC_ARM .icode