diff options
author | Jens Arnold <amiconn@rockbox.org> | 2008-11-16 17:49:37 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2008-11-16 17:49:37 +0000 |
commit | 1b14167861bb5bf4c692f8fc661b33e26a706183 (patch) | |
tree | 5a635ce1c95dd74235b29bd23ae9cd9bd4a8e93a /apps/codecs/demac/libdemac/entropy.c | |
parent | 66ff812c4a4fb5bb39c6056a10d814944bda92dc (diff) | |
download | rockbox-1b14167861bb5bf4c692f8fc661b33e26a706183.tar.gz rockbox-1b14167861bb5bf4c692f8fc661b33e26a706183.zip |
Centralise compile-time configuration.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19121 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/demac/libdemac/entropy.c')
-rw-r--r-- | apps/codecs/demac/libdemac/entropy.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/apps/codecs/demac/libdemac/entropy.c b/apps/codecs/demac/libdemac/entropy.c index baddce07be..54ff226bce 100644 --- a/apps/codecs/demac/libdemac/entropy.c +++ b/apps/codecs/demac/libdemac/entropy.c | |||
@@ -27,7 +27,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA | |||
27 | 27 | ||
28 | #include "parser.h" | 28 | #include "parser.h" |
29 | #include "entropy.h" | 29 | #include "entropy.h" |
30 | #include "demac_iram.h" | 30 | #include "demac_config.h" |
31 | 31 | ||
32 | #define MODEL_ELEMENTS 64 | 32 | #define MODEL_ELEMENTS 64 |
33 | 33 | ||
@@ -115,20 +115,11 @@ each function (and the RNGC macro)). | |||
115 | 115 | ||
116 | */ | 116 | */ |
117 | 117 | ||
118 | #ifdef ROCKBOX | ||
119 | #include "../lib/codeclib.h" | ||
120 | /* for UDIV32() */ | ||
121 | #endif | ||
122 | |||
123 | #ifndef UDIV32 | ||
124 | #define UDIV32(a, b) (a / b) | ||
125 | #endif | ||
126 | |||
127 | /* BITSTREAM READING FUNCTIONS */ | 118 | /* BITSTREAM READING FUNCTIONS */ |
128 | 119 | ||
129 | /* We deal with the input data one byte at a time - to ensure | 120 | /* We deal with the input data one byte at a time - to ensure |
130 | functionality on CPUs of any endianness regardless of any requirements | 121 | functionality on CPUs of any endianness regardless of any requirements |
131 | for aligned reads. | 122 | for aligned reads. |
132 | */ | 123 | */ |
133 | 124 | ||
134 | static unsigned char* bytebuffer IBSS_ATTR; | 125 | static unsigned char* bytebuffer IBSS_ATTR; |