svn-gvsig-desktop / tags / extI18n-0.1.0-1045_8 / libraries / libjni-ecw / include / NCSJPCDefs.h @ 40799
History | View | Annotate | Download (2.3 KB)
1 |
/********************************************************
|
---|---|
2 |
** Copyright 2002 Earth Resource Mapping Ltd.
|
3 |
** This document contains proprietary source code of
|
4 |
** Earth Resource Mapping Ltd, and can only be used under
|
5 |
** one of the three licenses as described in the
|
6 |
** license.txt file supplied with this distribution.
|
7 |
** See separate license.txt file for license details
|
8 |
** and conditions.
|
9 |
**
|
10 |
** This software is covered by US patent #6,442,298,
|
11 |
** #6,102,897 and #6,633,688. Rights to use these patents
|
12 |
** is included in the license agreements.
|
13 |
**
|
14 |
** FILE: $Archive: /NCS/Source/include/NCSJPCDefs.h $
|
15 |
** CREATED: 05/12/2002 3:27:34 PM
|
16 |
** AUTHOR: Simon Cope
|
17 |
** PURPOSE: NCSJPC Defines
|
18 |
** EDITS: [xx] ddMmmyy NAME COMMENTS
|
19 |
*******************************************************/
|
20 |
|
21 |
#ifndef NCSJPCDEFS_H
|
22 |
#define NCSJPCDEFS_H
|
23 |
|
24 |
//
|
25 |
// Disable dll-interface warning, compiler gives it on protected/private members.
|
26 |
// Disable truncated name mangling warning
|
27 |
//
|
28 |
#ifdef _MSC_VER
|
29 |
#pragma warning( disable : 4251 4786 4717 4275 4163) |
30 |
#endif
|
31 |
|
32 |
//
|
33 |
// Remove unnecessary stubs to reduce binary size
|
34 |
//
|
35 |
#define NCSJPC_LEAN_AND_MEAN
|
36 |
|
37 |
|
38 |
#ifndef NCSDEFS_H
|
39 |
#include "NCSDefs.h" |
40 |
#endif // NCSDEFS_H |
41 |
|
42 |
#if defined(WIN32)&&!defined(_WIN32_WCE)&&((defined(_X86_) && defined(_MSC_FULL_VER) && (_MSC_FULL_VER >= 12008804))||(defined(_AMD64_) && defined(_MSC_VER) && _MSC_VER >= 1400)) |
43 |
//
|
44 |
// X86 "Multi Media Intrinsics" - ie, MMX, SSE, SSE2 optimisations
|
45 |
//
|
46 |
// Only defined if Win32, X86 and VC6 Processor Pack or newer _OR_ AMD64 and >= VS.NET 2005/AMD64 PlatformSDK compiler (ie, SSE intrinsics support in the compiler)
|
47 |
//
|
48 |
#define NCSJPC_X86_MMI
|
49 |
#if !defined(_AMD64_)
|
50 |
#define NCSJPC_X86_MMI_MMX
|
51 |
|
52 |
// Prevent mmintrin.h from being included
|
53 |
//#define _MMINTRIN_H_INCLUDED
|
54 |
#endif
|
55 |
|
56 |
#endif
|
57 |
|
58 |
//
|
59 |
// Use LCMS for ICC->RGB conversions, supports both
|
60 |
// restricted and full ICC profiles.
|
61 |
//
|
62 |
#define NCSJPC_USE_LCMS
|
63 |
|
64 |
//
|
65 |
// Use TinyXML for XML DOM Parsing
|
66 |
//
|
67 |
#define NCSJPC_USE_TINYXML
|
68 |
|
69 |
//
|
70 |
// Include ECW Decompression in lib
|
71 |
//
|
72 |
#define NCSJPC_ECW_SUPPORT
|
73 |
|
74 |
//
|
75 |
// Include ECW Compression in lib
|
76 |
//
|
77 |
#define ECW_COMPRESS
|
78 |
|
79 |
#ifndef NCSJPC_EXPORT
|
80 |
#define NCSJPC_EXPORT NCS_EXPORT
|
81 |
#endif // NCSJPC_EXPORT |
82 |
#ifndef NCSJPC_EXPORT_ALL
|
83 |
#define NCSJPC_EXPORT_ALL NCS_EXPORT
|
84 |
#endif // NCSJPC_EXPORT_ALL |
85 |
|
86 |
#define NCSJPC_2POW11 2048 |
87 |
|
88 |
#define NCSJP2_STRIP_HEIGHT 64 |
89 |
|
90 |
#endif // NCSJPCDEFS_H |