MrSID Decode SDK for Raster Reference Manual  9.0.0.3864
lti_types.h
Go to the documentation of this file.
1 /* $Id$ */
2 /* //////////////////////////////////////////////////////////////////////////
3 // //
4 // This code is Copyright (c) 2004 LizardTech, Inc, 1008 Western Avenue, //
5 // Suite 200, Seattle, WA 98104. Unauthorized use or distribution //
6 // prohibited. Access to and use of this code is permitted only under //
7 // license from LizardTech, Inc. Portions of the code are protected by //
8 // US and foreign patents and other filings. All Rights Reserved. //
9 // //
11 /* PUBLIC - C*/
12 
13 #ifndef LTI_TYPES_H
14 #define LTI_TYPES_H
15 
16 #include "lt_base.h"
17 #include <stddef.h> // NULL
18 
19 
20 
21 #ifdef LT_CPLUSPLUS
22 extern "C" {
23 #endif
24 
38 typedef enum LTIColorSpace
39 {
43 
44  // 1-banded colorspaces
49 
50  // 3-banded colorspaces
51  LTI_COLORSPACE_RGB = 0x000301,
52  LTI_COLORSPACE_CMY = 0x000302,
53  LTI_COLORSPACE_YIQ = 0x000303,
60 
61  // 4-banded colorspaces
62  LTI_COLORSPACE_RGBK = 0x000401,
63  LTI_COLORSPACE_CMYK = 0x000402,
64  LTI_COLORSPACE_YIQK = 0x000403,
71 
72  // N-banded colorspaces
77 
83 typedef enum LTIColor
84 {
97 } LTIColor;
98 
99 
105 typedef enum LTIDataType
106 {
116  // not supported at this time
117  //LTI_DATATYPE_UINT64 = 9,
118  //LTI_DATATYPE_SINT64 = 10,
119  //LTI_DATATYPE_COMPLEX32 = 11, // (float32 Real, float32 Imaginary)
120  //LTI_DATATYPE_COMPLEX64 = 12 // (float64 Real, float64 Imaginary)
121 } LTIDataType;
122 
123 
124 
132 typedef enum LTIPosition
133 {
143 } LTIPosition;
144 
145 
152 typedef enum LTILayout
153 {
158 } LTILayout;
159 
160 
164 typedef enum LTIEndian
165 {
170 } LTIEndian;
171 
176 typedef enum LTIResampleMethod
177 {
183 
187 typedef enum LTIPixelFillMethod
188 {
189  LTI_PIXELFILL_HARD = 0, // use NoData
190  LTI_PIXELFILL_FUZZY = 1, // use fuzzy NoData
191  LTI_PIXELFILL_COPY = 2 // ignore NoData
193 
194 /*
195  * constants representing possible pixel modifications
196  */
198 {
199  LTI_MODIFICATION_NONE = 0x00000000,
218 
219 /*
220  * constants representing the constructed pipeline
221  */
222 typedef enum LTIPipelineInfo
223 {
226 
227 #ifdef LT_CPLUSPLUS
228 }
229 
230 LT_BEGIN_NAMESPACE(LizardTech)
231 
232 // fwd decls (utils)
233 class LTFileSpec;
234 class LTIOStreamInf;
235 
236 // fwd decls (SDK core)
237 class LTIGeoCoord;
238 class LTIImage;
239 class LTIImageFilter;
240 class LTIImageReader;
241 class LTIImageStage;
242 class LTIImageWriter;
244 class LTIMetadataDatabase;
245 class LTINavigator;
246 class LTIPixel;
247 class LTIPixelLookupTable;
248 class LTIProgressDelegate;
249 class LTISample;
250 class LTIScene;
251 class LTISceneBuffer;
252 class LTIMaskSource;
253 class LTIMask;
254 
255 LT_END_NAMESPACE(LizardTech)
256 
257 #endif
258 
259 #endif

LizardTech