From 9b96d66621ce0a7266df2f232b60683248d532e8 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Wed, 4 Jul 2007 20:45:00 +0000 Subject: Yet more dead code removal git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13789 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libwma/common.h | 60 --------------------------------------------- 1 file changed, 60 deletions(-) (limited to 'apps/codecs/libwma/common.h') diff --git a/apps/codecs/libwma/common.h b/apps/codecs/libwma/common.h index dc55dcaed2..b627bfb710 100644 --- a/apps/codecs/libwma/common.h +++ b/apps/codecs/libwma/common.h @@ -6,69 +6,9 @@ #ifndef COMMON_H #define COMMON_H -/* only include the following when compiling package */ #include "ffmpeg_config.h" - -#include -#include -#include -#include -#include -#include #include -#ifndef M_PI -#define M_PI 3.14159265358979323846 -#endif - -#if defined(__GNUC__) && (__GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 0) -# define always_inline __attribute__((always_inline)) inline -#else -# define always_inline inline -#endif - -#ifndef INT64_MAX -#define INT64_MAX 9223372036854775807LL -#endif - -# if defined(__MINGW32__) || defined(__CYGWIN__) || \ - defined(__OS2__) || (defined (__OpenBSD__) && !defined(__ELF__)) -# define MANGLE(a) "_" #a -# else -# define MANGLE(a) #a -# endif - -/* debug stuff */ - -# ifndef DEBUG -# define NDEBUG -# endif -# include - -/* dprintf macros */ -# if defined(CONFIG_WIN32) && !defined(__MINGW32__) - -inline void dprintf(const char* fmt,...) {} - -# else - -# ifdef DEBUG -# define dprintf(fmt,...) printf(fmt, __VA_ARGS__) -# else -# define dprintf(fmt,...) -# endif - -# endif /* !CONFIG_WIN32 */ - -# define av_abort() do { av_log(AV_LOG_ERROR, "Abort at %s:%d\n", __FILE__, __LINE__); abort(); } while (0) - -//rounded divison & shift -#define RSHIFT(a,b) ((a) > 0 ? ((a) + (1<<((b)-1)))>>(b) : ((a) + (1<<((b)-1))-1)>>(b)) -/* assume b>0 */ -#define ROUNDED_DIV(a,b) (((a)>0 ? (a) + ((b)>>1) : (a) - ((b)>>1))/(b)) - -extern const uint32_t inverse[256]; - #define NEG_SSR32(a,s) ((( int32_t)(a))>>(32-(s))) #define NEG_USR32(a,s) (((uint32_t)(a))>>(32-(s))) -- cgit v1.2.3