summaryrefslogtreecommitdiff
path: root/apps/codecs/libtremor/config-tremor.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libtremor/config-tremor.h')
-rw-r--r--apps/codecs/libtremor/config-tremor.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/apps/codecs/libtremor/config-tremor.h b/apps/codecs/libtremor/config-tremor.h
index d360b5fd73..403fdfd88b 100644
--- a/apps/codecs/libtremor/config-tremor.h
+++ b/apps/codecs/libtremor/config-tremor.h
@@ -1,4 +1,8 @@
1#ifndef _CONFIG_TREMOR_H
2#define _CONFIG_TREMOR_H
3
1#include "codeclib.h" 4#include "codeclib.h"
5
2#ifdef CPU_ARM 6#ifdef CPU_ARM
3#define _ARM_ASSEM_ 7#define _ARM_ASSEM_
4#endif 8#endif
@@ -17,6 +21,14 @@
17#define ICODE_ATTR_TREMOR_MDCT ICODE_ATTR 21#define ICODE_ATTR_TREMOR_MDCT ICODE_ATTR
18#endif 22#endif
19 23
24/* Workaround for gcc bug where all static functions are called with short
25 calls */
26#if !defined(ICODE_ATTR_TREMOR_NOT_MDCT) && (CONFIG_CPU==S5L8701)
27#define STATICIRAM_NOT_MDCT
28#else
29#define STATICIRAM_NOT_MDCT static
30#endif
31
20#ifndef ICODE_ATTR_TREMOR_NOT_MDCT 32#ifndef ICODE_ATTR_TREMOR_NOT_MDCT
21#define ICODE_ATTR_TREMOR_NOT_MDCT ICODE_ATTR 33#define ICODE_ATTR_TREMOR_NOT_MDCT ICODE_ATTR
22#endif 34#endif
@@ -47,3 +59,5 @@
47#define CHANNELS 2 59#define CHANNELS 2
48 60
49// #define _LOW_ACCURACY_ 61// #define _LOW_ACCURACY_
62
63#endif /* _CONFIG_TREMOR_H */