[svn] / branches / dev-api-4 / xvidcore / src / utils / emms.h Repository:
ViewVC logotype

Annotation of /branches/dev-api-4/xvidcore/src/utils/emms.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1122 - (view) (download)

1 : edgomez 220 /*****************************************************************************
2 :     *
3 :     * XVID MPEG-4 VIDEO CODEC
4 : edgomez 1054 * - emms related header -
5 : edgomez 220 *
6 : edgomez 1054 * Copyright(C) 2002 Michael Militzer <isibaar@xvid.org>
7 : edgomez 426 *
8 : edgomez 851 * 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 220 * (at your option) any later version.
12 :     *
13 :     * This program is distributed in the hope that it will be useful,
14 : edgomez 851 * but WITHOUT ANY WARRANTY ; without even the implied warranty of
15 : edgomez 220 * 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 851 * along with this program ; if not, write to the Free Software
20 : edgomez 220 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 :     *
22 : edgomez 1122 * $Id: emms.h,v 1.13.2.2 2003-08-13 11:44:02 edgomez Exp $
23 : edgomez 220 *
24 :     ****************************************************************************/
25 : Isibaar 3
26 : edgomez 220 #ifndef _EMMS_H_
27 :     #define _EMMS_H_
28 :    
29 :     /*****************************************************************************
30 :     * emms API
31 :     ****************************************************************************/
32 :    
33 : edgomez 851 typedef void (emmsFunc) ();
34 : edgomez 220
35 : edgomez 195 typedef emmsFunc *emmsFuncPtr;
36 : Isibaar 3
37 : edgomez 220 /* Our global function pointer - defined in emms.c */
38 : Isibaar 3 extern emmsFuncPtr emms;
39 :    
40 : edgomez 220 /* Implemented functions */
41 :    
42 : Isibaar 3 emmsFunc emms_c;
43 : edgomez 1122
44 :     #ifdef ARCH_IS_IA32
45 : Isibaar 3 emmsFunc emms_mmx;
46 : edgomez 851 emmsFunc emms_3dn;
47 : edgomez 1122 #endif
48 : edgomez 220
49 :     /*****************************************************************************
50 :     * Prototypes
51 :     ****************************************************************************/
52 :    
53 : edgomez 851 #ifdef ARCH_IS_IA32
54 :     /* cpu_flag detection helper functions */
55 : suxen_drol 248 extern int check_cpu_features(void);
56 : suxen_drol 310 extern void sse_os_trigger(void);
57 :     extern void sse2_os_trigger(void);
58 : edgomez 220 #endif
59 :    
60 : ia64p 245
61 : edgomez 220 #endif

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