2 * GPAC - Multimedia Framework C SDK
\r
4 * Copyright (c) Jean Le Feuvre 2000-2005
\r
5 * Copyright (c) ENST 2008 -
\r
6 * All rights reserved
\r
8 * This file is part of GPAC
\r
10 * GPAC is free software; you can redistribute it and/or modify
\r
11 * it under the terms of the GNU Lesser General Public License as published by
\r
12 * the Free Software Foundation; either version 2, or (at your option)
\r
13 * any later version.
\r
15 * GPAC is distributed in the hope that it will be useful,
\r
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
\r
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
\r
18 * GNU Lesser General Public License for more details.
\r
20 * You should have received a copy of the GNU Lesser General Public
\r
21 * License along with this library; see the file COPYING. If not, write to
\r
22 * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
\r
27 #ifndef _GF_CONFIG_H_
\r
28 #define _GF_CONFIG_H_
\r
30 /*this file defines all common macros for libgpac compilation*/
\r
32 /*platform is big endian*/
\r
33 //#define GPAC_BIG_ENDIAN
\r
36 //#define GPAC_HAS_SSL
\r
38 /*spidermonkey enabled*/
\r
39 #define GPAC_HAS_SPIDERMONKEY
\r
42 #define GPAC_HAS_JPEG
\r
45 #define GPAC_HAS_PNG
\r
47 /*IPv6 enabled - for win32, this is evaluated at compile time, !! do not uncomment !!*/
\r
48 //#define GPAC_HAS_IPV6
\r
51 //#define GPAC_DISABLE_SVG
\r
53 /*3D compositor disabled*/
\r
54 //#define GPAC_DISABLE_3D
\r
56 /*use TinyGL instead of OpenGL*/
\r
57 //#define GPAC_USE_TINYGL
\r
59 /*use OpenGL ES instead of OpenGL*/
\r
60 //#define GPAC_USE_OGL_ES
\r
63 #if defined(_WIN32_WCE)
\r
65 /*use intel fixed-point*/
\r
66 //#define GPAC_USE_IGPP
\r
67 /*use intel fixed-point with high precision*/
\r
68 //#define GPAC_USE_IGPP_HP
\r
70 #if defined(GPAC_USE_IGPP) && defined(GPAC_USE_IGPP_HP)
\r
71 #error "Only one of GPAC_USE_IGPP and GPAC_USE_IGPP_HP can be defined"
\r
75 #if !defined(GPAC_DISABLE_3D) && !defined(GPAC_USE_TINYGL) && !defined(GPAC_USE_OGL_ES)
\r
76 #define GPAC_USE_OGL_ES
\r
82 #if !defined(GPAC_USE_OGL_ES) && !defined(GPAC_USE_TINYGL)
\r
83 #define GPAC_HAS_GLU
\r
88 #endif /*_GF_CONFIG_H_*/
\r