summaryrefslogtreecommitdiff
path: root/apps/codecs/libwmapro/libavutil/internal.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/internal.h
parent16284ae8aef30ec67d7fd9c34519bce17d64ab3a (diff)
downloadrockbox-d63abfc7eb7db5eb36b325198fbb6ceaf8778685.zip
rockbox-d63abfc7eb7db5eb36b325198fbb6ceaf8778685.tar.gz
rockbox-d63abfc7eb7db5eb36b325198fbb6ceaf8778685.tar.bz2
rockbox-d63abfc7eb7db5eb36b325198fbb6ceaf8778685.tar.xz
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/internal.h')
-rw-r--r--apps/codecs/libwmapro/libavutil/internal.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/apps/codecs/libwmapro/libavutil/internal.h b/apps/codecs/libwmapro/libavutil/internal.h
index 97087e4..87a4d3e 100644
--- a/apps/codecs/libwmapro/libavutil/internal.h
+++ b/apps/codecs/libwmapro/libavutil/internal.h
@@ -55,7 +55,8 @@
#endif
#ifndef av_alias
-#if HAVE_ATTRIBUTE_MAY_ALIAS && (!defined(__ICC) || __ICC > 1110) && AV_GCC_VERSION_AT_LEAST(3,3)
+//#if HAVE_ATTRIBUTE_MAY_ALIAS && (!defined(__ICC) || __ICC > 1110) && AV_GCC_VERSION_AT_LEAST(3,3)
+#if 0
# define av_alias __attribute__((may_alias))
#else
# define av_alias
@@ -106,7 +107,8 @@
#define LABEL_MANGLE(a) EXTERN_PREFIX #a
// Use rip-relative addressing if compiling PIC code on x86-64.
-#if ARCH_X86_64 && defined(PIC)
+//#if ARCH_X86_64 && defined(PIC)
+#if 0
# define LOCAL_MANGLE(a) #a "(%%rip)"
#else
# define LOCAL_MANGLE(a) #a
@@ -127,7 +129,8 @@
/* math */
-#if ARCH_X86
+//#if ARCH_X86
+#if 0
#define MASK_ABS(mask, level)\
__asm__ volatile(\
"cltd \n\t"\
@@ -198,10 +201,10 @@
* without modification. Used to disable the definition of strings
* (for example AVCodec long_names).
*/
-#if CONFIG_SMALL
-# define NULL_IF_CONFIG_SMALL(x) NULL
-#else
-# define NULL_IF_CONFIG_SMALL(x) x
-#endif
+//#if CONFIG_SMALL
+//# define NULL_IF_CONFIG_SMALL(x) NULL
+//#else
+//# define NULL_IF_CONFIG_SMALL(x) x
+//#endif
#endif /* AVUTIL_INTERNAL_H */