summaryrefslogtreecommitdiff
path: root/apps/codecs/libatrac/atrac3.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libatrac/atrac3.h')
-rw-r--r--apps/codecs/libatrac/atrac3.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/apps/codecs/libatrac/atrac3.h b/apps/codecs/libatrac/atrac3.h
index f81fc0a734..a817db2b55 100644
--- a/apps/codecs/libatrac/atrac3.h
+++ b/apps/codecs/libatrac/atrac3.h
@@ -1,6 +1,14 @@
1#include "ffmpeg_bitstream.h" 1#include "ffmpeg_bitstream.h"
2#include "../librm/rm.h" 2#include "../librm/rm.h"
3 3
4#if (CONFIG_CPU == PP5022) || (CONFIG_CPU == PP5024) || (CONFIG_CPU == MCF5250)
5/* PP5022/24 and MCF5250 have larger IRAM */
6#define IBSS_ATTR_LARGE_IRAM IBSS_ATTR
7#else
8/* other CPUs IRAM is not large enough */
9#define IBSS_ATTR_LARGE_IRAM
10#endif
11
4/* These structures are needed to store the parsed gain control data. */ 12/* These structures are needed to store the parsed gain control data. */
5typedef struct { 13typedef struct {
6 int num_gain_data; 14 int num_gain_data;
@@ -75,6 +83,5 @@ typedef struct {
75int atrac3_decode_init(ATRAC3Context *q, RMContext *rmctx); 83int atrac3_decode_init(ATRAC3Context *q, RMContext *rmctx);
76 84
77int atrac3_decode_frame(RMContext *rmctx, ATRAC3Context *q, 85int atrac3_decode_frame(RMContext *rmctx, ATRAC3Context *q,
78 void *data, int *data_size, 86 int *data_size, const uint8_t *buf, int buf_size);
79 const uint8_t *buf, int buf_size);
80 87