48 typedef __int8 mpc_int8_t;
49 typedef unsigned __int8 mpc_uint8_t;
50 typedef __int16 mpc_int16_t;
51 typedef unsigned __int16 mpc_uint16_t;
52 typedef __int32 mpc_int32_t;
53 typedef unsigned __int32 mpc_uint32_t;
54 typedef __int64 mpc_int64_t;
55 typedef unsigned __int64 mpc_uint64_t;
56 #define mpc_inline __inline
59 typedef int8_t mpc_int8_t;
60 typedef uint8_t mpc_uint8_t;
61 typedef int16_t mpc_int16_t;
62 typedef uint16_t mpc_uint16_t;
63 typedef int32_t mpc_int32_t;
64 typedef uint32_t mpc_uint32_t;
65 typedef int64_t mpc_int64_t;
66 typedef uint64_t mpc_uint64_t;
67 #define mpc_inline inline
70 typedef int mpc_int_t;
71 typedef unsigned int mpc_uint_t;
72 typedef size_t mpc_size_t;
73 typedef mpc_uint8_t mpc_bool_t;
76 #ifdef LONG_SEEK_TABLE // define as needed (mpc_uint32_t supports files up to 512 MB)
77 typedef mpc_uint64_t mpc_seek_t;
79 typedef mpc_uint32_t mpc_seek_t;
82 # define mpc_int64_min -9223372036854775808ll
83 # define mpc_int64_max 9223372036854775807ll
91 typedef enum mpc_status {
94 MPC_STATUS_SV7BETA = -2,
97 MPC_STATUS_BLOCKSIZE = -5,
98 MPC_STATUS_INVALIDSV = -6
102 #define MPC_FIXED_POINT_SHIFT 16
104 #ifdef MPC_FIXED_POINT
105 # define MPC_FIXED_POINT_FRACTPART 14
106 # define MPC_FIXED_POINT_SCALE_SHIFT (MPC_FIXED_POINT_SHIFT + MPC_FIXED_POINT_FRACTPART)
107 # define MPC_FIXED_POINT_SCALE (1 << (MPC_FIXED_POINT_SCALE_SHIFT - 1))
108 typedef mpc_int32_t MPC_SAMPLE_FORMAT;
110 typedef float MPC_SAMPLE_FORMAT;
115 MPC_TRUE = !MPC_FALSE
120 # define mpc_cdecl __cdecl
121 #elif defined __ZTC__
122 # define mpc_cdecl _cdecl
123 #elif defined __TURBOC__
124 # define mpc_cdecl cdecl
130 # define MPC_API __attribute__ ((visibility("default")))