summaryrefslogtreecommitdiff
path: root/apps/codecs/libtremor/os_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libtremor/os_types.h')
-rw-r--r--apps/codecs/libtremor/os_types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/codecs/libtremor/os_types.h b/apps/codecs/libtremor/os_types.h
index 5738ef4911..4c7d17ef3a 100644
--- a/apps/codecs/libtremor/os_types.h
+++ b/apps/codecs/libtremor/os_types.h
@@ -25,9 +25,11 @@
25#ifdef _LOW_ACCURACY_ 25#ifdef _LOW_ACCURACY_
26# define X(n) (((((n)>>22)+1)>>1) - ((((n)>>22)+1)>>9)) 26# define X(n) (((((n)>>22)+1)>>1) - ((((n)>>22)+1)>>9))
27# define LOOKUP_T const unsigned char 27# define LOOKUP_T const unsigned char
28# define LOOKUP_TNC unsigned char
28#else 29#else
29# define X(n) (n) 30# define X(n) (n)
30# define LOOKUP_T const ogg_int32_t 31# define LOOKUP_T const ogg_int32_t
32# define LOOKUP_TNC ogg_int32_t
31#endif 33#endif
32 34
33/* make it easy on the folks that want to compile the libs with a 35/* make it easy on the folks that want to compile the libs with a
@@ -46,6 +48,8 @@ void *ogg_tmpcalloc(size_t nmemb, size_t size);
46void *ogg_realloc(void *ptr, size_t size); 48void *ogg_realloc(void *ptr, size_t size);
47long ogg_tmpmalloc_pos(void); 49long ogg_tmpmalloc_pos(void);
48void ogg_tmpmalloc_free(long pos); 50void ogg_tmpmalloc_free(long pos);
51void iram_malloc_init(void);
52void *iram_malloc(size_t size);
49 53
50 typedef short ogg_int16_t; 54 typedef short ogg_int16_t;
51 typedef int ogg_int32_t; 55 typedef int ogg_int32_t;