diff options
Diffstat (limited to 'apps/codecs/demac/libdemac/entropy.c')
-rw-r--r-- | apps/codecs/demac/libdemac/entropy.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/apps/codecs/demac/libdemac/entropy.c b/apps/codecs/demac/libdemac/entropy.c index 76d977da82..1ef5bc4dc1 100644 --- a/apps/codecs/demac/libdemac/entropy.c +++ b/apps/codecs/demac/libdemac/entropy.c | |||
@@ -28,6 +28,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA | |||
28 | #include "parser.h" | 28 | #include "parser.h" |
29 | #include "entropy.h" | 29 | #include "entropy.h" |
30 | #include "rangecoding.h" /* Range-coding (static inline) functions */ | 30 | #include "rangecoding.h" /* Range-coding (static inline) functions */ |
31 | #include "demac_iram.h" | ||
31 | 32 | ||
32 | #define MODEL_ELEMENTS 64 | 33 | #define MODEL_ELEMENTS 64 |
33 | 34 | ||
@@ -270,11 +271,11 @@ void init_entropy_decoder(struct ape_ctx_t* ape_ctx, | |||
270 | *firstbyte = bytebufferoffset; | 271 | *firstbyte = bytebufferoffset; |
271 | } | 272 | } |
272 | 273 | ||
273 | int entropy_decode(struct ape_ctx_t* ape_ctx, | 274 | int ICODE_ATTR_DEMAC entropy_decode(struct ape_ctx_t* ape_ctx, |
274 | unsigned char* inbuffer, int* firstbyte, | 275 | unsigned char* inbuffer, int* firstbyte, |
275 | int* bytesconsumed, | 276 | int* bytesconsumed, |
276 | int32_t* decoded0, int32_t* decoded1, | 277 | int32_t* decoded0, int32_t* decoded1, |
277 | int blockstodecode) | 278 | int blockstodecode) |
278 | { | 279 | { |
279 | bytebuffer = inbuffer; | 280 | bytebuffer = inbuffer; |
280 | bytebufferoffset = *firstbyte; | 281 | bytebufferoffset = *firstbyte; |