osdep: Remove cruft
[mplayer.git] / libaf / af_mp.h
blob3c10c9466d1b4b8e7259d220d1ec1c7200eed560
1 /* Include file for mplayer specific defines and includes */
2 #ifndef MPLAYER_AF_MP_H
3 #define MPLAYER_AF_MP_H
5 #include "config.h"
6 #include "mp_msg.h"
7 #include "cpudetect.h"
9 /* Set the initialization type from mplayers cpudetect */
10 #ifdef AF_INIT_TYPE
11 #undef AF_INIT_TYPE
12 #define AF_INIT_TYPE \
13 ((gCpuCaps.has3DNow || gCpuCaps.hasSSE)?AF_INIT_FAST:AF_INIT_SLOW)
14 #endif
16 #ifdef af_msg
17 #undef af_msg
18 #endif
19 #define af_msg(lev, args... ) \
20 mp_msg(MSGT_AFILTER,(((lev)<0)?((lev)+3):(((lev)==0)?MSGL_INFO:((lev)+5))), ##args )
22 #endif /* MPLAYER_AF_MP_H */