annotate libaf/af_mp.h @ 8743:68a0f5e77257

10l, geometry always returns 1. i think this is the correct fix.
author rfelker
date Fri, 03 Jan 2003 18:01:49 +0000
parents 265cbc7079c0
children 36a5cdca733b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8167
e8832e66babd New features:
anders
parents:
diff changeset
1 /* Include file for mplayer specific defines and includes */
e8832e66babd New features:
anders
parents:
diff changeset
2 #ifndef __af_mp_h__
e8832e66babd New features:
anders
parents:
diff changeset
3 #define __af_mp_h__
e8832e66babd New features:
anders
parents:
diff changeset
4
e8832e66babd New features:
anders
parents:
diff changeset
5 #include "../config.h"
e8832e66babd New features:
anders
parents:
diff changeset
6 #include "../mp_msg.h"
e8832e66babd New features:
anders
parents:
diff changeset
7 #include "../cpudetect.h"
e8832e66babd New features:
anders
parents:
diff changeset
8 #include "../libao2/afmt.h"
e8832e66babd New features:
anders
parents:
diff changeset
9
e8832e66babd New features:
anders
parents:
diff changeset
10 /* Set the initialization type from mplayers cpudetect */
e8832e66babd New features:
anders
parents:
diff changeset
11 #ifdef AF_INIT_TYPE
e8832e66babd New features:
anders
parents:
diff changeset
12 #undef AF_INIT_TYPE
e8832e66babd New features:
anders
parents:
diff changeset
13 #define AF_INIT_TYPE \
e8832e66babd New features:
anders
parents:
diff changeset
14 ((gCpuCaps.has3DNow || gCpuCaps.hasSSE)?AF_INIT_FAST:AF_INIT_SLOW)
e8832e66babd New features:
anders
parents:
diff changeset
15 #endif
e8832e66babd New features:
anders
parents:
diff changeset
16
e8832e66babd New features:
anders
parents:
diff changeset
17 #ifdef af_msg
e8832e66babd New features:
anders
parents:
diff changeset
18 #undef af_msg
e8832e66babd New features:
anders
parents:
diff changeset
19 #endif
e8832e66babd New features:
anders
parents:
diff changeset
20 #define af_msg(lev, args... ) \
8735
265cbc7079c0 compiler warning fix
arpi
parents: 8167
diff changeset
21 mp_msg(MSGT_AFILTER,((lev<0)?(lev+3):((lev==0)?MSGL_INFO:(lev+5))), ##args )
8167
e8832e66babd New features:
anders
parents:
diff changeset
22
e8832e66babd New features:
anders
parents:
diff changeset
23 /* Decodes the format from mplayer format to libaf format */
e8832e66babd New features:
anders
parents:
diff changeset
24 extern int af_format_decode(int format);
e8832e66babd New features:
anders
parents:
diff changeset
25
e8832e66babd New features:
anders
parents:
diff changeset
26 #endif /* __af_mp_h__ */