diff options
author | Dave Chapman <dave@dchapman.com> | 2007-07-04 20:27:26 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2007-07-04 20:27:26 +0000 |
commit | ba3f4ed565ed9fdfb696f44193958e68d6acc19f (patch) | |
tree | c032043a2e55adbf03d6298bb9f3115d3f1dea84 /apps/codecs/libwma/wmadeci.c | |
parent | e7cdd6cbc6040c3c6225580ba155edfdfd35efb1 (diff) | |
download | rockbox-ba3f4ed565ed9fdfb696f44193958e68d6acc19f.tar.gz rockbox-ba3f4ed565ed9fdfb696f44193958e68d6acc19f.zip |
Remove some unused code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13788 a1c6a512-1295-4272-9138-f99709370657
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 @@ #include "wmadec.h" #include "wmafixed.c" - - -#define ALT_BITSTREAM_READER - -#define unaligned32(a) (*(uint32_t*)(a)) - -uint16_t bswap_16(uint16_t x) -{ - uint16_t hi = x & 0xff00; - uint16_t lo = x & 0x00ff; - return (hi >> 8) | (lo << 8); -} - -uint32_t bswap_32(uint32_t x) -{ - uint32_t b1 = x & 0xff000000; - uint32_t b2 = x & 0x00ff0000; - uint32_t b3 = x & 0x0000ff00; - uint32_t b4 = x & 0x000000ff; - return (b1 >> 24) | (b2 >> 8) | (b3 << 8) | (b4 << 24); -} - #ifdef CPU_ARM static inline void CMUL(fixed32 *x, fixed32 *y, |