Mercurial > mplayer.hg
annotate libaf/af_mp.h @ 25818:2f6ad8c8ebf3
remove some redundant declarations
author | ben |
---|---|
date | Thu, 24 Jan 2008 19:15:28 +0000 |
parents | d88f5f82826e |
children | 4129c8cfa742 |
rev | line source |
---|---|
8167 | 1 /* Include file for mplayer specific defines and includes */ |
25551
d88f5f82826e
Replace multiple inclusion guards with leading underscores by default names.
diego
parents:
16982
diff
changeset
|
2 #ifndef AF_MP_H |
d88f5f82826e
Replace multiple inclusion guards with leading underscores by default names.
diego
parents:
16982
diff
changeset
|
3 #define AF_MP_H |
8167 | 4 |
16982 | 5 #include "config.h" |
6 #include "mp_msg.h" | |
7 #include "cpudetect.h" | |
8167 | 8 |
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 | |
15 | |
16 #ifdef af_msg | |
17 #undef af_msg | |
18 #endif | |
19 #define af_msg(lev, args... ) \ | |
8957
36a5cdca733b
bunkus: Encapsulated arguments to #define in ( ... ) so that the #defines can be safely used like functions: mydef(flag ? val1 : val2)
mosu
parents:
8735
diff
changeset
|
20 mp_msg(MSGT_AFILTER,(((lev)<0)?((lev)+3):(((lev)==0)?MSGL_INFO:((lev)+5))), ##args ) |
8167 | 21 |
25551
d88f5f82826e
Replace multiple inclusion guards with leading underscores by default names.
diego
parents:
16982
diff
changeset
|
22 #endif /* AF_MP_H */ |