Split YUV2RGB operands declaration into a separate macro
[mplayer/glamo.git] / libaf / af_mp.h
blob29aca538e74f52d537de2e5264164c2f416caf47
1 /*
2 * This file is part of MPlayer.
4 * MPlayer is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * MPlayer is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License along
15 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 /* Include file for mplayer specific defines and includes */
20 #ifndef MPLAYER_AF_MP_H
21 #define MPLAYER_AF_MP_H
23 #include "config.h"
24 #include "mp_msg.h"
25 #include "cpudetect.h"
27 /* Set the initialization type from mplayers cpudetect */
28 #ifdef AF_INIT_TYPE
29 #undef AF_INIT_TYPE
30 #define AF_INIT_TYPE \
31 ((gCpuCaps.has3DNow || gCpuCaps.hasSSE)?AF_INIT_FAST:AF_INIT_SLOW)
32 #endif
34 #ifdef af_msg
35 #undef af_msg
36 #endif
37 #define af_msg(lev, args... ) \
38 mp_msg(MSGT_AFILTER,(((lev)<0)?((lev)+3):(((lev)==0)?MSGL_INFO:((lev)+5))), ##args )
40 #endif /* MPLAYER_AF_MP_H */