Mercurial > mplayer.hg
comparison mpcommon.c @ 28340:b0af9b4b5015
Replace a bunch of '#if HAVE_FOO' preprocessor checks by 'if (HAVE_FOO)'.
author | diego |
---|---|
date | Mon, 26 Jan 2009 11:24:05 +0000 |
parents | 31287e75b5d8 |
children | 06540eb5ef6a |
comparison
equal
deleted
inserted
replaced
28339:69346a3311e9 | 28340:b0af9b4b5015 |
---|---|
43 gCpuCaps.hasSSE, gCpuCaps.hasSSE2, gCpuCaps.hasSSSE3); | 43 gCpuCaps.hasSSE, gCpuCaps.hasSSE2, gCpuCaps.hasSSSE3); |
44 #ifdef RUNTIME_CPUDETECT | 44 #ifdef RUNTIME_CPUDETECT |
45 mp_msg(MSGT_CPLAYER,MSGL_V, MSGTR_CompiledWithRuntimeDetection); | 45 mp_msg(MSGT_CPLAYER,MSGL_V, MSGTR_CompiledWithRuntimeDetection); |
46 #else | 46 #else |
47 mp_msg(MSGT_CPLAYER,MSGL_V, MSGTR_CompiledWithCPUExtensions); | 47 mp_msg(MSGT_CPLAYER,MSGL_V, MSGTR_CompiledWithCPUExtensions); |
48 #if HAVE_MMX | 48 if (HAVE_MMX) |
49 mp_msg(MSGT_CPLAYER,MSGL_V," MMX"); | 49 mp_msg(MSGT_CPLAYER,MSGL_V," MMX"); |
50 #endif | 50 if (HAVE_MMX2) |
51 #if HAVE_MMX2 | |
52 mp_msg(MSGT_CPLAYER,MSGL_V," MMX2"); | 51 mp_msg(MSGT_CPLAYER,MSGL_V," MMX2"); |
53 #endif | 52 if (HAVE_AMD3DNOW) |
54 #if HAVE_AMD3DNOW | |
55 mp_msg(MSGT_CPLAYER,MSGL_V," 3DNow"); | 53 mp_msg(MSGT_CPLAYER,MSGL_V," 3DNow"); |
56 #endif | 54 if (HAVE_AMD3DNOWEXT) |
57 #if HAVE_AMD3DNOWEXT | |
58 mp_msg(MSGT_CPLAYER,MSGL_V," 3DNowExt"); | 55 mp_msg(MSGT_CPLAYER,MSGL_V," 3DNowExt"); |
59 #endif | 56 if (HAVE_SSE) |
60 #if HAVE_SSE | |
61 mp_msg(MSGT_CPLAYER,MSGL_V," SSE"); | 57 mp_msg(MSGT_CPLAYER,MSGL_V," SSE"); |
62 #endif | 58 if (HAVE_SSE2) |
63 #if HAVE_SSE2 | |
64 mp_msg(MSGT_CPLAYER,MSGL_V," SSE2"); | 59 mp_msg(MSGT_CPLAYER,MSGL_V," SSE2"); |
65 #endif | 60 if (HAVE_SSSE3) |
66 #if HAVE_SSSE3 | |
67 mp_msg(MSGT_CPLAYER,MSGL_V," SSSE3"); | 61 mp_msg(MSGT_CPLAYER,MSGL_V," SSSE3"); |
68 #endif | 62 if (HAVE_CMOV) |
69 #if HAVE_CMOV | |
70 mp_msg(MSGT_CPLAYER,MSGL_V," CMOV"); | 63 mp_msg(MSGT_CPLAYER,MSGL_V," CMOV"); |
71 #endif | |
72 mp_msg(MSGT_CPLAYER,MSGL_V,"\n"); | 64 mp_msg(MSGT_CPLAYER,MSGL_V,"\n"); |
73 #endif /* RUNTIME_CPUDETECT */ | 65 #endif /* RUNTIME_CPUDETECT */ |
74 #endif /* ARCH_X86 */ | 66 #endif /* ARCH_X86 */ |
75 } | 67 } |
76 | 68 |