summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/codecs/demac/libdemac/decoder.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/codecs/demac/libdemac/decoder.c b/apps/codecs/demac/libdemac/decoder.c
index 6566ba26a8..b0339a75d9 100644
--- a/apps/codecs/demac/libdemac/decoder.c
+++ b/apps/codecs/demac/libdemac/decoder.c
@@ -35,20 +35,20 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
35 35
36#ifdef FILTER256_IRAM 36#ifdef FILTER256_IRAM
37static filter_int filterbuf32[(32*3 + FILTER_HISTORY_SIZE) * 2] 37static filter_int filterbuf32[(32*3 + FILTER_HISTORY_SIZE) * 2]
38 IBSS_ATTR_DEMAC __attribute__((aligned(16))); 38 IBSS_ATTR_DEMAC MEM_ALIGN_ATTR;
39 /* 2432 or 4864 bytes */ 39 /* 2432 or 4864 bytes */
40static filter_int filterbuf256[(256*3 + FILTER_HISTORY_SIZE) * 2] 40static filter_int filterbuf256[(256*3 + FILTER_HISTORY_SIZE) * 2]
41 IBSS_ATTR_DEMAC __attribute__((aligned(16))); 41 IBSS_ATTR_DEMAC MEM_ALIGN_ATTR;
42 /* 5120 or 10240 bytes */ 42 /* 5120 or 10240 bytes */
43#define FILTERBUF64 filterbuf256 43#define FILTERBUF64 filterbuf256
44#define FILTERBUF32 filterbuf32 44#define FILTERBUF32 filterbuf32
45#define FILTERBUF16 filterbuf32 45#define FILTERBUF16 filterbuf32
46#else 46#else
47static filter_int filterbuf64[(64*3 + FILTER_HISTORY_SIZE) * 2] 47static filter_int filterbuf64[(64*3 + FILTER_HISTORY_SIZE) * 2]
48 IBSS_ATTR_DEMAC __attribute__((aligned(16))); 48 IBSS_ATTR_DEMAC MEM_ALIGN_ATTR;
49 /* 2432 or 4864 bytes */ 49 /* 2432 or 4864 bytes */
50static filter_int filterbuf256[(256*3 + FILTER_HISTORY_SIZE) * 2] 50static filter_int filterbuf256[(256*3 + FILTER_HISTORY_SIZE) * 2]
51 __attribute__((aligned(16))); /* 5120 or 10240 bytes */ 51 MEM_ALIGN_ATTR; /* 5120 or 10240 bytes */
52#define FILTERBUF64 filterbuf64 52#define FILTERBUF64 filterbuf64
53#define FILTERBUF32 filterbuf64 53#define FILTERBUF32 filterbuf64
54#define FILTERBUF16 filterbuf64 54#define FILTERBUF16 filterbuf64
@@ -57,7 +57,7 @@ static filter_int filterbuf256[(256*3 + FILTER_HISTORY_SIZE) * 2]
57/* This is only needed for "insane" files, and no current Rockbox targets 57/* This is only needed for "insane" files, and no current Rockbox targets
58 can hope to decode them in realtime, except the Gigabeat S (at 528MHz). */ 58 can hope to decode them in realtime, except the Gigabeat S (at 528MHz). */
59static filter_int filterbuf1280[(1280*3 + FILTER_HISTORY_SIZE) * 2] 59static filter_int filterbuf1280[(1280*3 + FILTER_HISTORY_SIZE) * 2]
60 IBSS_ATTR_DEMAC_INSANEBUF __attribute__((aligned(16))); 60 IBSS_ATTR_DEMAC_INSANEBUF MEM_ALIGN_ATTR;
61 /* 17408 or 34816 bytes */ 61 /* 17408 or 34816 bytes */
62 62
63void init_frame_decoder(struct ape_ctx_t* ape_ctx, 63void init_frame_decoder(struct ape_ctx_t* ape_ctx,