summaryrefslogtreecommitdiff
path: root/apps/codecs/libwmapro/libavutil/bswap.h
diff options
context:
space:
mode:
authorMohamed Tarek <mt@rockbox.org>2010-07-14 19:37:52 +0000
committerMohamed Tarek <mt@rockbox.org>2010-07-14 19:37:52 +0000
commitd63abfc7eb7db5eb36b325198fbb6ceaf8778685 (patch)
treedc9496f504711569180fd9c5a91cf6e748815869 /apps/codecs/libwmapro/libavutil/bswap.h
parent16284ae8aef30ec67d7fd9c34519bce17d64ab3a (diff)
downloadrockbox-d63abfc7eb7db5eb36b325198fbb6ceaf8778685.tar.gz
rockbox-d63abfc7eb7db5eb36b325198fbb6ceaf8778685.zip
Add WMA Pro to the main build. WMA Pro now plays on target and decodes in 151% realtime in a 320kbps sample on a sansa e200. Lots of cleanup still need to be done, and optimisations should start soon too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27417 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libwmapro/libavutil/bswap.h')
-rw-r--r--apps/codecs/libwmapro/libavutil/bswap.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/apps/codecs/libwmapro/libavutil/bswap.h b/apps/codecs/libwmapro/libavutil/bswap.h
index 5743e126b8..e15501778b 100644
--- a/apps/codecs/libwmapro/libavutil/bswap.h
+++ b/apps/codecs/libwmapro/libavutil/bswap.h
@@ -30,18 +30,6 @@
30//#include "config.h" 30//#include "config.h"
31#include "attributes.h" 31#include "attributes.h"
32 32
33#if ARCH_ARM
34# include "arm/bswap.h"
35#elif ARCH_AVR32
36# include "avr32/bswap.h"
37#elif ARCH_BFIN
38# include "bfin/bswap.h"
39#elif ARCH_SH4
40# include "sh4/bswap.h"
41#elif ARCH_X86
42# include "x86/bswap.h"
43#endif
44
45#ifndef bswap_16 33#ifndef bswap_16
46static av_always_inline av_const uint16_t bswap_16(uint16_t x) 34static av_always_inline av_const uint16_t bswap_16(uint16_t x)
47{ 35{
@@ -82,6 +70,7 @@ static inline uint64_t av_const bswap_64(uint64_t x)
82// be2me ... big-endian to machine-endian 70// be2me ... big-endian to machine-endian
83// le2me ... little-endian to machine-endian 71// le2me ... little-endian to machine-endian
84 72
73#define HAVE_BIGENDIAN 0
85#if HAVE_BIGENDIAN 74#if HAVE_BIGENDIAN
86#define be2me_16(x) (x) 75#define be2me_16(x) (x)
87#define be2me_32(x) (x) 76#define be2me_32(x) (x)