• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Goom Project
2  * Copyright (C) <2003> iOS-Software
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Library General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 of the License, or (at your option) any later version.
8  *
9  * This library 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 GNU
12  * Library General Public License for more details.
13  *
14  * You should have received a copy of the GNU Library General Public
15  * License along with this library; if not, write to the
16  * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
17  * Boston, MA 02110-1301, USA.
18  */
19 #include <glib.h>
20 
21 #if G_BYTE_ORDER == G_BIG_ENDIAN
22 #define COLOR_ARGB
23 #else
24 #define COLOR_BGRA
25 #endif
26 
27 #if 1
28 /* ndef COLOR_BGRA */
29 /* position des composantes */
30     #define BLEU 0
31     #define VERT 1
32     #define ROUGE 2
33     #define ALPHA 3
34 #else
35     #define ROUGE 1
36     #define BLEU 3
37     #define VERT 2
38     #define ALPHA 0
39 #endif
40 
41 #if defined (BUILD_MMX) && defined (HAVE_GCC_ASM)
42 
43 #define HAVE_MMX
44 #endif
45 
46