[cvs] / xvidcore / src / utils / emms.h Repository:
ViewVC logotype

Annotation of /xvidcore/src/utils/emms.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.16 - (view) (download)

1 : edgomez 1.3 /*****************************************************************************
2 :     *
3 :     * XVID MPEG-4 VIDEO CODEC
4 : edgomez 1.14 * - emms related header -
5 : edgomez 1.3 *
6 : edgomez 1.14 * Copyright(C) 2002 Michael Militzer <isibaar@xvid.org>
7 : edgomez 1.13 *
8 :     * This program is free software ; you can redistribute it and/or modify
9 :     * it under the terms of the GNU General Public License as published by
10 :     * the Free Software Foundation ; either version 2 of the License, or
11 : edgomez 1.3 * (at your option) any later version.
12 :     *
13 :     * This program is distributed in the hope that it will be useful,
14 : edgomez 1.13 * but WITHOUT ANY WARRANTY ; without even the implied warranty of
15 : edgomez 1.3 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 :     * GNU General Public License for more details.
17 :     *
18 :     * You should have received a copy of the GNU General Public License
19 : edgomez 1.13 * along with this program ; if not, write to the Free Software
20 : edgomez 1.3 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 :     *
22 : edgomez 1.14 * $Id$
23 : edgomez 1.3 *
24 :     ****************************************************************************/
25 :    
26 :     #ifndef _EMMS_H_
27 :     #define _EMMS_H_
28 :    
29 :     /*****************************************************************************
30 :     * emms API
31 :     ****************************************************************************/
32 : Isibaar 1.1
33 : edgomez 1.13 typedef void (emmsFunc) ();
34 : edgomez 1.3
35 : edgomez 1.2 typedef emmsFunc *emmsFuncPtr;
36 : Isibaar 1.1
37 : edgomez 1.3 /* Our global function pointer - defined in emms.c */
38 : Isibaar 1.1 extern emmsFuncPtr emms;
39 :    
40 : edgomez 1.3 /* Implemented functions */
41 :    
42 : Isibaar 1.1 emmsFunc emms_c;
43 : edgomez 1.14
44 : edgomez 1.16 #if defined(ARCH_IS_IA32) || defined(ARCH_IS_X86_64)
45 : Isibaar 1.1 emmsFunc emms_mmx;
46 : edgomez 1.13 emmsFunc emms_3dn;
47 : edgomez 1.14 #endif
48 : edgomez 1.3
49 :     /*****************************************************************************
50 :     * Prototypes
51 :     ****************************************************************************/
52 :    
53 : edgomez 1.16 #if defined(ARCH_IS_IA32) || defined(ARCH_IS_X86_64)
54 : edgomez 1.13 /* cpu_flag detection helper functions */
55 : suxen_drol 1.5 extern int check_cpu_features(void);
56 : suxen_drol 1.7 extern void sse_os_trigger(void);
57 :     extern void sse2_os_trigger(void);
58 : ia64p 1.4 #endif
59 :    
60 : edgomez 1.15 #ifdef ARCH_IS_PPC
61 :     extern void altivec_trigger(void);
62 :     #endif
63 : edgomez 1.3
64 :     #endif

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4