MrSID Decode SDK for Raster Reference Manual  9.5.4.4709
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,
222 
224 
225 /*
226  * constants representing the constructed pipeline
227  */
228 typedef enum LTIPipelineInfo
229 {
232 
233 #ifdef LT_CPLUSPLUS
234 }
235 
237 
238 // fwd decls (utils)
239 class LTFileSpec;
240 class LTIOStreamInf;
241 
242 // fwd decls (SDK core)
243 class LTIGeoCoord;
244 class LTIImage;
245 class LTIImageFilter;
246 class LTIImageReader;
247 class LTIImageStage;
248 class LTIImageWriter;
250 class LTIMetadataDatabase;
251 class LTINavigator;
252 class LTIPixel;
253 class LTIPixelLookupTable;
254 class LTIProgressDelegate;
255 class LTISample;
256 class LTIScene;
257 class LTISceneBuffer;
258 class LTIMaskSource;
259 class LTIMask;
260 
262 
263 #endif
264 
265 #endif
#define LT_BEGIN_NAMESPACE(theNameSpace)
compiler does not support namespaces
Definition: lt_define.h:84
representation of a scene
Definition: lti_scene.h:64
Abstract definition of a stream.
LTIPixelFillMethod
constants representing pixel filling methods
Definition: lti_types.h:187
abstract class for implementing an image reader
LTIColorSpace
colorspaces
Definition: lti_types.h:38
Represents a file or directory path.
Definition: lt_fileSpec.h:39
LTILayout
constants representing data layout
Definition: lti_types.h:152
provides LTIScene movement control
Definition: lti_navigator.h:30
band interleaved by pixel
Definition: lti_types.h:155
LTIDataType
datatypes
Definition: lti_types.h:105
LTIPosition
well-known points
Definition: lti_types.h:132
color lookup table
band sequential
Definition: lti_types.h:156
band interleaved by line
Definition: lti_types.h:157
LTIEncodingModification
Definition: lti_types.h:197
interrupt delegate (callback) base class
Definition: lti_delegates.h:39
represents a geographic coordinate
Definition: lti_geoCoord.h:32
LTIColor
colors
Definition: lti_types.h:83
class for storing metadata associated with an image
abstract class for implementing an image transform
enum LTIEncodingModification LTIEncodingModifications
abstract class for decoding from an image
LTIResampleMethod
constants representing resampling methods
Definition: lti_types.h:176
basic properties of a pixel
Definition: lti_pixel.h:36
class to hold data passed between image stages
basic properties of a sample
Definition: lti_sample.h:28
progress delegate (callback) base class
Definition: lti_delegates.h:72
LTIPipelineInfo
Definition: lti_types.h:228
Include file for all LizardTech sources.
abstract class for implementing an image writer
abstract class representing an image
Definition: lti_image.h:32
LTIEndian
constants representing endianness (byte order)
Definition: lti_types.h:164
#define LT_END_NAMESPACE(theNameSpace)
compiler does not support namespaces
Definition: lt_define.h:85

LizardTech