diff options
Diffstat (limited to 'apps/codecs/libwma/wmadeci.c')
-rw-r--r-- | apps/codecs/libwma/wmadeci.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/apps/codecs/libwma/wmadeci.c b/apps/codecs/libwma/wmadeci.c index 29651382e2..e48720c043 100644 --- a/apps/codecs/libwma/wmadeci.c +++ b/apps/codecs/libwma/wmadeci.c | |||
@@ -28,28 +28,6 @@ | |||
28 | #include "wmadec.h" | 28 | #include "wmadec.h" |
29 | #include "wmafixed.c" | 29 | #include "wmafixed.c" |
30 | 30 | ||
31 | |||
32 | |||
33 | #define ALT_BITSTREAM_READER | ||
34 | |||
35 | #define unaligned32(a) (*(uint32_t*)(a)) | ||
36 | |||
37 | uint16_t bswap_16(uint16_t x) | ||
38 | { | ||
39 | uint16_t hi = x & 0xff00; | ||
40 | uint16_t lo = x & 0x00ff; | ||
41 | return (hi >> 8) | (lo << 8); | ||
42 | } | ||
43 | |||
44 | uint32_t bswap_32(uint32_t x) | ||
45 | { | ||
46 | uint32_t b1 = x & 0xff000000; | ||
47 | uint32_t b2 = x & 0x00ff0000; | ||
48 | uint32_t b3 = x & 0x0000ff00; | ||
49 | uint32_t b4 = x & 0x000000ff; | ||
50 | return (b1 >> 24) | (b2 >> 8) | (b3 << 8) | (b4 << 24); | ||
51 | } | ||
52 | |||
53 | #ifdef CPU_ARM | 31 | #ifdef CPU_ARM |
54 | static inline | 32 | static inline |
55 | void CMUL(fixed32 *x, fixed32 *y, | 33 | void CMUL(fixed32 *x, fixed32 *y, |