svn-gvsig-desktop / tags / v1_2_Build_1204 / libraries / libjni-ecwcompress / include / NCSJPCDefs.h @ 40002
History | View | Annotate | Download (1.9 KB)
1 |
/********************************************************
|
---|---|
2 |
** Copyright 2002 Earth Resource Mapping Pty Ltd.
|
3 |
** This document contains unpublished source code of
|
4 |
** Earth Resource Mapping Pty Ltd. This notice does
|
5 |
** not indicate any intention to publish the source
|
6 |
** code contained herein.
|
7 |
**
|
8 |
** FILE: $Archive: /NCS/Source/include/NCSJPCDefs.h $
|
9 |
** CREATED: 05/12/2002 3:27:34 PM
|
10 |
** AUTHOR: Simon Cope
|
11 |
** PURPOSE: NCSJPC Defines
|
12 |
** EDITS: [xx] ddMmmyy NAME COMMENTS
|
13 |
*******************************************************/
|
14 |
|
15 |
#ifndef NCSJPCDEFS_H
|
16 |
#define NCSJPCDEFS_H
|
17 |
|
18 |
//
|
19 |
// Disable dll-interface warning, compiler gives it on protected/private members.
|
20 |
// Disable truncated name mangling warning
|
21 |
//
|
22 |
#ifdef _MSC_VER
|
23 |
#pragma warning( disable : 4251 4786 4717 4275 4163) |
24 |
#endif
|
25 |
|
26 |
//
|
27 |
// Remove unnecessary stubs to reduce binary size
|
28 |
//
|
29 |
#define NCSJPC_LEAN_AND_MEAN
|
30 |
|
31 |
|
32 |
#ifndef NCSDEFS_H
|
33 |
#include "NCSDefs.h" |
34 |
#endif // NCSDEFS_H |
35 |
|
36 |
#if defined(WIN32)&&!defined(_WIN32_WCE)&&(defined(_X86_)||(defined(_AMD64_) && defined(_MSC_VER) && _MSC_VER >= 1400)) |
37 |
//
|
38 |
// X86 "Multi Media Intrinsics" - ie, MMX, SSE, SSE2 optimisations
|
39 |
//
|
40 |
// Only defined if Win32, or AMD64 and >= VS.NET 2005 compiler (ie, SSE intrinsics support in the compiler)
|
41 |
//
|
42 |
#define NCSJPC_X86_MMI
|
43 |
#if !defined(_AMD64_)
|
44 |
#define NCSJPC_X86_MMI_MMX
|
45 |
|
46 |
// Prevent mmintrin.h from being included
|
47 |
//#define _MMINTRIN_H_INCLUDED
|
48 |
#endif
|
49 |
|
50 |
#endif
|
51 |
|
52 |
//
|
53 |
// Use LCMS for ICC->RGB conversions, supports both
|
54 |
// restricted and full ICC profiles.
|
55 |
//
|
56 |
#define NCSJPC_USE_LCMS
|
57 |
|
58 |
//
|
59 |
// Use TinyXML for XML DOM Parsing
|
60 |
//
|
61 |
#define NCSJPC_USE_TINYXML
|
62 |
|
63 |
//
|
64 |
// Include ECW Decompression in lib
|
65 |
//
|
66 |
#define NCSJPC_ECW_SUPPORT
|
67 |
|
68 |
//
|
69 |
// Include ECW Compression in lib
|
70 |
//
|
71 |
#define ECW_COMPRESS
|
72 |
|
73 |
#ifndef NCSJPC_EXPORT
|
74 |
#define NCSJPC_EXPORT NCS_EXPORT
|
75 |
#endif // NCSJPC_EXPORT |
76 |
#ifndef NCSJPC_EXPORT_ALL
|
77 |
#define NCSJPC_EXPORT_ALL NCS_EXPORT
|
78 |
#endif // NCSJPC_EXPORT_ALL |
79 |
|
80 |
#define NCSJPC_2POW11 2048 |
81 |
|
82 |
#endif // NCSJPCDEFS_H |