configMS.h

Go to the documentation of this file.
00001 /* The number of bytes in a double.  */
00002 #define SIZEOF_DOUBLE 8
00003 
00004 /* The number of bytes in a float.  */
00005 #define SIZEOF_FLOAT 4
00006 
00007 /* The number of bytes in a int.  */
00008 #define SIZEOF_INT 4
00009 
00010 /* The number of bytes in a long.  */
00011 #define SIZEOF_LONG 4
00012 
00013 /* The number of bytes in a long double.  */
00014 #define SIZEOF_LONG_DOUBLE 12
00015 
00016 /* The number of bytes in a short.  */
00017 #define SIZEOF_SHORT 2
00018 
00019 /* The number of bytes in a unsigned int.  */
00020 #define SIZEOF_UNSIGNED_INT 4
00021 
00022 /* The number of bytes in a unsigned long.  */
00023 #define SIZEOF_UNSIGNED_LONG 4
00024 
00025 /* The number of bytes in a unsigned short.  */
00026 #define SIZEOF_UNSIGNED_SHORT 2
00027 
00028 /* Define if you have the ANSI C header files.  */
00029 #define STDC_HEADERS
00030 
00031 /* Define if you have the <errno.h> header file.  */
00032 #define HAVE_ERRNO_H
00033 
00034 /* Define if you have the <fcntl.h> header file.  */
00035 #define HAVE_FCNTL_H
00036 
00037 /* Define if you have the <limits.h> header file.  */
00038 #define HAVE_LIMITS_H
00039 
00040 /* Name of package */
00041 #define PACKAGE "lame"
00042 
00043 /* Version number of package */
00044 #define VERSION "3.98"
00045 
00046 /* Define if compiler has function prototypes */
00047 #define PROTOTYPES 1
00048 
00049 /* enable VBR bitrate histogram */
00050 #define BRHIST 1
00051 
00052 /* IEEE754 compatible machine */
00053 #define TAKEHIRO_IEEE754_HACK 1
00054 
00055 /* faster log implementation with less but enough precission */
00056 #define USE_FAST_LOG 1
00057 
00058 #define HAVE_STRCHR
00059 #define HAVE_MEMCPY
00060 
00061 #if defined(_MSC_VER) || defined(__BORLANDC__)
00062 #pragma warning( disable : 4305 )
00063         typedef __int8  int8_t;
00064         typedef __int16 int16_t;
00065         typedef __int32 int32_t;
00066         typedef __int64 int64_t;
00067 
00068         typedef unsigned __int8  uint8_t;
00069         typedef unsigned __int16 uint16_t;
00070         typedef unsigned __int32 uint32_t;
00071         typedef unsigned __int64 uint64_t;
00072 
00073         typedef float  float32_t;
00074         typedef double float64_t;
00075 #elif defined (__GNUC__)
00076 #define __int8_t_defined
00077 #define uint8_t unsigned char
00078 #define uint16_t unsigned short
00079 #define uint32_t unsigned int
00080 #define uint64_t unsigned long long
00081 
00082 #define int8_t signed char
00083 #define int16_t signed short
00084 #define int32_t signed int
00085 #define int64_t signed long long
00086 #endif
00087 
00088 typedef long double ieee854_float80_t;
00089 typedef double      ieee754_float64_t;
00090 typedef float       ieee754_float32_t;
00091 
00092 #ifdef HAVE_MPGLIB
00093 # define DECODE_ON_THE_FLY 1
00094 #endif
00095 
00096 #ifdef LAME_ACM
00097 /* memory hacking for driver purposes */
00098 #define calloc(x,y) acm_Calloc(x,y)
00099 #define free(x)     acm_Free(x)
00100 #define malloc(x)   acm_Malloc(x)
00101 
00102 #include <stddef.h>
00103 void *acm_Calloc( size_t num, size_t size );
00104 void *acm_Malloc( size_t size );
00105 void acm_Free( void * mem);
00106 #endif /* LAME_ACM */
00107 
00108 #define LAME_LIBRARY_BUILD
00109 
00110 
00111 #ifdef HAVE_NASM
00112     #if (defined(__ICL) && (__ICL >= 450))
00113         #define HAVE_XMMINTRIN_H
00114     #elif defined(_MSC_VER)
00115         #include <malloc.h>
00116         #ifdef _mm_malloc
00117             #define HAVE_XMMINTRIN_H
00118         #endif
00119     #endif
00120 #endif
00121 
00122 #ifdef _M_X64
00123         #define HAVE_XMMINTRIN_H
00124 #endif

Generated on Sun Dec 2 11:34:17 2007 for LAME by  doxygen 1.5.2