annotate libaf/af_mp.h @ 28650:585b5f224fcd

make MMX registers parametrized in the WRITEBGR32 macro, patch by C¸«±dric Schieli (cschieli at gmail youknowwhat)
author stefang
date Sat, 21 Feb 2009 10:49:52 +0000
parents 72d0b1444141
children 8c706ce21c6f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
28229
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 26029
diff changeset
1 /*
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 26029
diff changeset
2 * This file is part of MPlayer.
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 26029
diff changeset
3 *
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 26029
diff changeset
4 * MPlayer is free software; you can redistribute it and/or modify
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 26029
diff changeset
5 * it under the terms of the GNU General Public License as published by
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 26029
diff changeset
6 * the Free Software Foundation; either version 2 of the License, or
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 26029
diff changeset
7 * (at your option) any later version.
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 26029
diff changeset
8 *
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 26029
diff changeset
9 * MPlayer is distributed in the hope that it will be useful,
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 26029
diff changeset
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 26029
diff changeset
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 26029
diff changeset
12 * GNU General Public License for more details.
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 26029
diff changeset
13 *
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 26029
diff changeset
14 * You should have received a copy of the GNU General Public License along
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 26029
diff changeset
15 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 26029
diff changeset
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 26029
diff changeset
17 */
72d0b1444141 Replace informal license notices by standard license header
diego
parents: 26029
diff changeset
18
8167
e8832e66babd New features:
anders
parents:
diff changeset
19 /* Include file for mplayer specific defines and includes */
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25551
diff changeset
20 #ifndef MPLAYER_AF_MP_H
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25551
diff changeset
21 #define MPLAYER_AF_MP_H
8167
e8832e66babd New features:
anders
parents:
diff changeset
22
16982
a9da2db9eb16 Unify include paths by adding -I.. to CFLAGS.
diego
parents: 14245
diff changeset
23 #include "config.h"
a9da2db9eb16 Unify include paths by adding -I.. to CFLAGS.
diego
parents: 14245
diff changeset
24 #include "mp_msg.h"
a9da2db9eb16 Unify include paths by adding -I.. to CFLAGS.
diego
parents: 14245
diff changeset
25 #include "cpudetect.h"
8167
e8832e66babd New features:
anders
parents:
diff changeset
26
e8832e66babd New features:
anders
parents:
diff changeset
27 /* Set the initialization type from mplayers cpudetect */
e8832e66babd New features:
anders
parents:
diff changeset
28 #ifdef AF_INIT_TYPE
e8832e66babd New features:
anders
parents:
diff changeset
29 #undef AF_INIT_TYPE
e8832e66babd New features:
anders
parents:
diff changeset
30 #define AF_INIT_TYPE \
e8832e66babd New features:
anders
parents:
diff changeset
31 ((gCpuCaps.has3DNow || gCpuCaps.hasSSE)?AF_INIT_FAST:AF_INIT_SLOW)
e8832e66babd New features:
anders
parents:
diff changeset
32 #endif
e8832e66babd New features:
anders
parents:
diff changeset
33
e8832e66babd New features:
anders
parents:
diff changeset
34 #ifdef af_msg
e8832e66babd New features:
anders
parents:
diff changeset
35 #undef af_msg
e8832e66babd New features:
anders
parents:
diff changeset
36 #endif
e8832e66babd New features:
anders
parents:
diff changeset
37 #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
38 mp_msg(MSGT_AFILTER,(((lev)<0)?((lev)+3):(((lev)==0)?MSGL_INFO:((lev)+5))), ##args )
8167
e8832e66babd New features:
anders
parents:
diff changeset
39
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25551
diff changeset
40 #endif /* MPLAYER_AF_MP_H */