MrSID Decode SDK for Raster Reference Manual  9.0.0.3864
mg2_status.h
Go to the documentation of this file.
1 /* $Id$ */
2 /* //////////////////////////////////////////////////////////////////////////
3 // //
4 // This code is Copyright (c) 2005 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 */
12 
13 #ifndef MG2_STATUS_H
14 #define MG2_STATUS_H
15 
16 // lt_lib_base
17 #include "lt_base.h"
18 
19 
20 #define MG2D_STATUS_BASE 8000
22 
23 #define MG2D_STATUS_Error1Array2DCtor3 8001
25 
26 #define MG2D_STATUS_NewerSID 8002
27 LT_STATUSSTRING_ADD(MG2D_STATUS_NewerSID, "MrSID version error")
28 
29 #define MG2D_STATUS_InvalidImageSupport 8008
31 
32 #define MG2D_STATUS_IncompatibleScaleGreater 8009
34 
35 #define MG2D_STATUS_IncompatibleScaleLess 8010
37 
38 #define MG2D_STATUS_Error1SubbandCopy 8011
40 
41 #define MG2D_STATUS_Error1SubbandIntersect 8012
43 
44 #define MG2D_STATUS_Error2SubbandIntersect 8013
46 
47 #define MG2D_STATUS_Error3SubbandIntersect 8014
49 
50 #define MG2D_STATUS_Error4SubbandIntersect 8015
52 
53 #define MG2D_STATUS_Error5SubbandIntersect 8016
55 
56 #define MG2D_STATUS_Error1Array2DSetBand 8017
58 
59 #define MG2D_STATUS_Error1Array2DInsert 8018
61 
62 #define MG2D_STATUS_Error2Array2DInsert 8019
64 
65 #define MG2D_STATUS_Error1Array2DBSQIteratorPlus 8020
67 
68 #define MG2D_STATUS_UnexpectedMarker 8021
70 
71 #define MG2D_STATUS_ErrorDecompressing 8022
73 
74 #define MG2D_STATUS_Error2SubbandCopy 8023
76 
77 #define MG2D_STATUS_Error1Merge2sub 8024
79 
80 #define MG2D_STATUS_Error2Merge2sub 8025
82 
83 #define MG2D_STATUS_Error3Merge2sub 8026
85 
86 #define MG2D_STATUS_Error4Merge2sub 8027
88 
89 #define MG2D_STATUS_Error5Merge2sub 8028
91 
92 #define MG2D_STATUS_Error1Dth 8029
93 LT_STATUSSTRING_ADD(MG2D_STATUS_Error1Dth, "mg2d internal error")
94 
95 #define MG2D_STATUS_Interrupt 8040
97 
98 
99 #define LT_STS_MG2_readError 8101
100 LT_STATUSSTRING_ADD(LT_STS_MG2_readError, "mg2 read error")
101 
102 #define LT_STS_MG2_writeError 8102
103 LT_STATUSSTRING_ADD(LT_STS_MG2_writeError, "mg2 write error")
104 
105 #define LT_STS_MG2_ioError 8103
106 LT_STATUSSTRING_ADD(LT_STS_MG2_ioError, "mg2 i/o error")
107 
108 #define LT_STS_MG2_notMrSIDFile 8104
110 
111 #define LT_STS_MG2_unsupportedVersion 8105
112 LT_STATUSSTRING_ADD(LT_STS_MG2_unsupportedVersion, "unsupported version of mg2")
113 
114 #define LT_STS_MG2_badMarker 8106
115 LT_STATUSSTRING_ADD(LT_STS_MG2_badMarker, "bad mg2 file marker")
116 
117 #define LT_STS_MG2_blockSizeTooLarge 8107
119 
120 #define LT_STS_MG2_blockSizeTooSmall 8108
122 
123 #define LT_STS_MG2_binCountTooLarge 8109
125 
126 #define LT_STS_MG2_binCountTooSmall 8110
128 
129 #define LT_STS_MG2_huffmanDecodeError 8111
130 LT_STATUSSTRING_ADD(LT_STS_MG2_huffmanDecodeError, "huffman decode error")
131 
132 #define LT_STS_MG2_huffmanEncodeError 8112
133 LT_STATUSSTRING_ADD(LT_STS_MG2_huffmanEncodeError, "huffman encode error")
134 
135 #define LT_STS_MG2_outOfMemory 8113
136 LT_STATUSSTRING_ADD(LT_STS_MG2_outOfMemory, "mg2 out of memory")
137 
138 #define LT_STS_MG2_error 8114
139 LT_STATUSSTRING_ADD(LT_STS_MG2_error, "mg2 internal error: unknown exception")
140 
141 #define LT_STS_MG2_rasterBlockNotCompatible 8115
142 LT_STATUSSTRING_ADD(LT_STS_MG2_rasterBlockNotCompatible, "mg2 raster block not compatible")
143 
144 #define LT_STS_MG2_badLevel 8116
145 LT_STATUSSTRING_ADD(LT_STS_MG2_badLevel, "level is larger than the number of levels in image")
146 
147 #define LT_STS_MG2_badSupport 8117
148 LT_STATUSSTRING_ADD(LT_STS_MG2_badSupport, "support is larger than the image")
149 
150 #define LT_STS_MG2_badColorSpaceConvertion 8118
151 LT_STATUSSTRING_ADD(LT_STS_MG2_badColorSpaceConvertion, "bad color space conversion")
152 
153 
154 #define MG2D_STATUS_MAX 8999
156 
157 
158 #define LT_STS_Image_MG2E_BASE 9000
160 
161 #define LT_STS_MG2EError1SInitSub 9001
162 LT_STATUSSTRING_ADD(LT_STS_MG2EError1SInitSub, "mg2 Error1SInitSub")
163 
164 #define LT_STS_MG2EErrorBlockSmallGivenNlev 9002
165 LT_STATUSSTRING_ADD(LT_STS_MG2EErrorBlockSmallGivenNlev, "block size too small for given scale")
166 
167 #define LT_STS_MG2EError1ZeroOverlapSub 9003
168 LT_STATUSSTRING_ADD(LT_STS_MG2EError1ZeroOverlapSub, "mg2 Error1ZeroOverlapSub")
169 
170 #define LT_STS_MG2EError1PurgeBorderSub 9004
171 LT_STATUSSTRING_ADD(LT_STS_MG2EError1PurgeBorderSub, "mg2 Error1PurgeBorderSub")
172 
173 #define LT_STS_MG2EError1CopyDataToBordersSub 9005
174 LT_STATUSSTRING_ADD(LT_STS_MG2EError1CopyDataToBordersSub, "mg2 Error1CopyDataToBordersSub")
175 
176 #define LT_STS_MG2EError2PurgeBorderSub 9006
177 LT_STATUSSTRING_ADD(LT_STS_MG2EError2PurgeBorderSub, "mg2 Error2PurgeBorderSub")
178 
179 #define LT_STS_MG2EErrorSetOverlap 9007
180 LT_STATUSSTRING_ADD(LT_STS_MG2EErrorSetOverlap, "mg2 ErrorSetOverlap")
181 
182 #define LT_STS_MG2EErrorSubbandSplit 9008
183 LT_STATUSSTRING_ADD(LT_STS_MG2EErrorSubbandSplit, "mg2 ErrorSubbandSplit")
184 
185 // 9009 unused
186 
187 #define LT_STS_MG2EUnknownException 9010
188 LT_STATUSSTRING_ADD(LT_STS_MG2EUnknownException, "mg2 UnknownException")
189 
190 #define LT_STS_MG2ENlevLessEqual9 9011
192 
193 #define LT_STS_MG2EImageSmallGivenNLev 9012
195 
196 #define LT_STS_MG2EErrorMaxIconSize 9013
197 LT_STATUSSTRING_ADD(LT_STS_MG2EErrorMaxIconSize, "mg2 icon size error")
198 
199 #define LT_STS_MG2EMemAlloc 9014
200 LT_STATUSSTRING_ADD(LT_STS_MG2EMemAlloc, "mg2 mem alloc error")
201 
202 #define LT_STS_MG2EErrorOpenOutputFile 9015
203 LT_STATUSSTRING_ADD(LT_STS_MG2EErrorOpenOutputFile, "error opening output file")
204 
205 #define LT_STS_MG2EErrorWriteOutputFile 9016
206 LT_STATUSSTRING_ADD(LT_STS_MG2EErrorWriteOutputFile, "error writing output file")
207 
208 #define LT_STS_MG2ETempFileError 9017
209 LT_STATUSSTRING_ADD(LT_STS_MG2ETempFileError, "temp file error (%F)")
210 
211 #define LT_STS_MG2ETempDirError 9018
213 
214 #define LT_STS_MG2EBlockSmallGivenNlev 9019
215 LT_STATUSSTRING_ADD(LT_STS_MG2EBlockSmallGivenNlev, "block size too small for scale")
216 
217 #define LT_STS_MG2EIllegalSampleType 9020
219 
220 #define LT_STS_MG2EInterrupt 9021
222 
223 #define LT_STS_MG2EWriteErrorCheckTempDir 9022
225 
226 #define LT_STS_MG2EFileOffsetErrorDecodeIndices 9023
227 LT_STATUSSTRING_ADD(LT_STS_MG2EFileOffsetErrorDecodeIndices, "mg2 FileOffsetErrorDecodeIndices")
228 
229 #define LT_STS_MG2EInvalidLockingKey 9024
231 
232 #define LT_STS_MG2EInvalidLockingPassword 9025
234 
235 #define LT_STS_RFIInvalid 9100
236 LT_STATUSSTRING_ADD(LT_STS_RFIInvalid, "RFI invalid error")
237 
238 
239 #define LT_STS_MG2E_TableGen_MemAlloc 9200
240 LT_STATUSSTRING_ADD(LT_STS_MG2E_TableGen_MemAlloc, "memory allocation error")
241 
242 #define LT_STS_MG2E_Subband_MemAlloc 9201
243 LT_STATUSSTRING_ADD(LT_STS_MG2E_Subband_MemAlloc, "memory allocation error")
244 
245 #define LT_STS_MG2E_SetOverlap_MemAlloc 9202
246 LT_STATUSSTRING_ADD(LT_STS_MG2E_SetOverlap_MemAlloc, "memory allocation error")
247 
248 #define LT_STS_MG2E_IconBitRate_MemAlloc 9203
249 LT_STATUSSTRING_ADD(LT_STS_MG2E_IconBitRate_MemAlloc, "memory allocation error")
250 
251 #define LT_STS_MG2E_CreateTempFile 9204
252 LT_STATUSSTRING_ADD(LT_STS_MG2E_CreateTempFile, "cannot create temp file")
253 
254 #define LT_STS_MG2E_TempName_MemAlloc 9205
255 LT_STATUSSTRING_ADD(LT_STS_MG2E_TempName_MemAlloc, "memory allocation error")
256 
257 #define LT_STS_MG2E_ArchUtils_MemAlloc 9206
258 LT_STATUSSTRING_ADD(LT_STS_MG2E_ArchUtils_MemAlloc, "memory allocation error")
259 
260 #define LT_STS_MG2E_Dump_MemAlloc 9207
261 LT_STATUSSTRING_ADD(LT_STS_MG2E_Dump_MemAlloc, "memory allocation error")
262 
263 #define LT_STS_MG2E_BlkNode_MemAlloc 9208
264 LT_STATUSSTRING_ADD(LT_STS_MG2E_BlkNode_MemAlloc, "memory allocation error")
265 
266 #define LT_STS_MG2E_Convert_MemAlloc 9209
267 LT_STATUSSTRING_ADD(LT_STS_MG2E_Convert_MemAlloc, "memory allocation error")
268 
269 #define LT_STS_MG2E_HuffD_MemAlloc 9210
270 LT_STATUSSTRING_ADD(LT_STS_MG2E_HuffD_MemAlloc, "memory allocation error")
271 
272 #define LT_STS_MG2E_HuffE_MemAlloc 9211
273 LT_STATUSSTRING_ADD(LT_STS_MG2E_HuffE_MemAlloc, "memory allocation error")
274 
275 #define LT_STS_MG2E_HuffE2_MemAlloc 9212
276 LT_STATUSSTRING_ADD(LT_STS_MG2E_HuffE2_MemAlloc, "memory allocation error")
277 
278 #define LT_STS_MG2E_OutIcon_MemAlloc 9213
279 LT_STATUSSTRING_ADD(LT_STS_MG2E_OutIcon_MemAlloc, "memory allocation error")
280 
281 #define LT_STS_MG2E_Purge_MemAlloc 9214
282 LT_STATUSSTRING_ADD(LT_STS_MG2E_Purge_MemAlloc, "memory allocation error")
283 
284 #define LT_STS_MG2E_QGen_MemAlloc 9215
285 LT_STATUSSTRING_ADD(LT_STS_MG2E_QGen_MemAlloc, "memory allocation error")
286 
287 #define LT_STS_MG2E_SQ_MemAlloc 9216
288 LT_STATUSSTRING_ADD(LT_STS_MG2E_SQ_MemAlloc, "memory allocation error")
289 
290 #define LT_STS_MG2E_SbInit_MemAlloc 9217
291 LT_STATUSSTRING_ADD(LT_STS_MG2E_SbInit_MemAlloc, "memory allocation error")
292 
293 #define LT_STS_MG2E_TDWTQ_MemAlloc 9218
294 LT_STATUSSTRING_ADD(LT_STS_MG2E_TDWTQ_MemAlloc, "memory allocation error")
295 
296 #define LT_STS_MG2E_TDWTQ_ColorSpace 9219
298 
299 #define LT_STS_MG2E_Convert_ReadError 9220
300 LT_STATUSSTRING_ADD(LT_STS_MG2E_Convert_ReadError, "internal mg2 read error")
301 
302 #define LT_STS_MG2E_HuffD_ReadError 9221
303 LT_STATUSSTRING_ADD(LT_STS_MG2E_HuffD_ReadError, "internal mg2 read error")
304 
305 #define LT_STS_MG2E_Split_MemAlloc 9222
306 LT_STATUSSTRING_ADD(LT_STS_MG2E_Split_MemAlloc, "memory allocation error")
307 
308 #define LT_STS_MG2EAllocFailed 9223
309 LT_STATUSSTRING_ADD(LT_STS_MG2EAllocFailed, "MG2 encode memory allocation failed")
310 
311 #define LT_STS_Image_MG2E_MAX 9999
313 
314 
315 #define LT_STS_MG2LET_BEGIN 32000
316 
317 #define LT_STS_SLT_Error 32001
318 #define LT_STS_SLT_ExtractError 32002
319 #define LT_STS_SLT_SidletClientZeroSupport 32005
320 #define LT_STS_SLT_SidletClientAllDataCached 32006
321 #define LT_STS_SLT_SidletClientExceptionCaught 32007
322 #define LT_STS_SLT_IOError 32008
323 #define LT_STS_SLT_ErrGenRequest 32009
324 #define LT_STS_SLT_ErrorParsingSidletRequest 32013
325 #define LT_STS_SLT_MessageHeaderSectionCorrupt 32014
326 #define LT_STS_SLT_MarkerMismatchWhileParsingSidletMessage 32016
327 #define LT_STS_SLT_UnrecognizedSidletMessageSection 32017
328 
329 #define LT_STS_MG2LET_END 32999;
330 
331 
332 #endif /* MG2_STATUS_H */
#define LT_STS_MG2E_HuffD_ReadError
Definition: mg2_status.h:302
#define LT_STS_MG2E_ArchUtils_MemAlloc
Definition: mg2_status.h:257
#define MG2D_STATUS_IncompatibleScaleLess
Definition: mg2_status.h:35
#define LT_STS_MG2E_BlkNode_MemAlloc
Definition: mg2_status.h:263
#define LT_STS_MG2E_HuffE_MemAlloc
Definition: mg2_status.h:272
#define LT_STS_MG2E_IconBitRate_MemAlloc
Definition: mg2_status.h:248
#define LT_STS_MG2EIllegalSampleType
Definition: mg2_status.h:217
#define LT_STS_MG2E_CreateTempFile
Definition: mg2_status.h:251
#define LT_STS_MG2EInvalidLockingKey
Definition: mg2_status.h:229
#define MG2D_STATUS_Error1Array2DCtor3
Definition: mg2_status.h:23
#define LT_STS_MG2EErrorSetOverlap
Definition: mg2_status.h:179
#define LT_STS_MG2EErrorWriteOutputFile
Definition: mg2_status.h:205
#define LT_STS_MG2EFileOffsetErrorDecodeIndices
Definition: mg2_status.h:226
#define LT_STS_MG2EErrorSubbandSplit
Definition: mg2_status.h:182
#define MG2D_STATUS_MAX
Definition: mg2_status.h:154
#define LT_STS_MG2E_OutIcon_MemAlloc
Definition: mg2_status.h:278
#define LT_STS_MG2E_Purge_MemAlloc
Definition: mg2_status.h:281
#define LT_STS_MG2E_TDWTQ_ColorSpace
Definition: mg2_status.h:296
#define LT_STS_MG2_binCountTooLarge
Definition: mg2_status.h:123
#define MG2D_STATUS_Error1SubbandIntersect
Definition: mg2_status.h:41
#define MG2D_STATUS_ErrorDecompressing
Definition: mg2_status.h:71
#define MG2D_STATUS_Error5Merge2sub
Definition: mg2_status.h:89
#define LT_STS_MG2EInvalidLockingPassword
Definition: mg2_status.h:232
#define MG2D_STATUS_UnexpectedMarker
Definition: mg2_status.h:68
#define MG2D_STATUS_Error1SubbandCopy
Definition: mg2_status.h:38
Include file for all LizardTech sources.
#define LT_STS_MG2E_Convert_ReadError
Definition: mg2_status.h:299
#define LT_STS_MG2_readError
Definition: mg2_status.h:99
#define LT_STS_MG2EWriteErrorCheckTempDir
Definition: mg2_status.h:223
#define LT_STS_MG2E_HuffD_MemAlloc
Definition: mg2_status.h:269
#define MG2D_STATUS_Error3SubbandIntersect
Definition: mg2_status.h:47
#define LT_STS_Image_MG2E_MAX
Definition: mg2_status.h:311
#define LT_STS_MG2E_TempName_MemAlloc
Definition: mg2_status.h:254
#define MG2D_STATUS_Error2SubbandIntersect
Definition: mg2_status.h:44
#define LT_STS_MG2EUnknownException
Definition: mg2_status.h:187
#define LT_STS_MG2E_QGen_MemAlloc
Definition: mg2_status.h:284
#define LT_STS_MG2E_Split_MemAlloc
Definition: mg2_status.h:305
#define LT_STS_MG2EImageSmallGivenNLev
Definition: mg2_status.h:193
#define LT_STS_MG2_notMrSIDFile
Definition: mg2_status.h:108
#define LT_STS_MG2E_Dump_MemAlloc
Definition: mg2_status.h:260
#define LT_STS_MG2EBlockSmallGivenNlev
Definition: mg2_status.h:214
#define LT_STS_MG2_ioError
Definition: mg2_status.h:105
#define LT_STS_MG2EErrorOpenOutputFile
Definition: mg2_status.h:202
#define LT_STS_Image_MG2E_BASE
Definition: mg2_status.h:158
#define MG2D_STATUS_Error5SubbandIntersect
Definition: mg2_status.h:53
#define MG2D_STATUS_Error2Array2DInsert
Definition: mg2_status.h:62
#define MG2D_STATUS_Error1Array2DSetBand
Definition: mg2_status.h:56
#define LT_STS_MG2EError1PurgeBorderSub
Definition: mg2_status.h:170
#define LT_STS_MG2_binCountTooSmall
Definition: mg2_status.h:126
#define LT_STS_MG2E_Subband_MemAlloc
Definition: mg2_status.h:242
#define LT_STS_MG2_badLevel
Definition: mg2_status.h:144
#define MG2D_STATUS_Interrupt
Definition: mg2_status.h:95
#define LT_STS_MG2_blockSizeTooSmall
Definition: mg2_status.h:120
#define LT_STS_MG2E_HuffE2_MemAlloc
Definition: mg2_status.h:275
#define MG2D_STATUS_Error1Array2DBSQIteratorPlus
Definition: mg2_status.h:65
#define LT_STS_MG2_unsupportedVersion
Definition: mg2_status.h:111
#define LT_STS_MG2EError1ZeroOverlapSub
Definition: mg2_status.h:167
#define MG2D_STATUS_InvalidImageSupport
Definition: mg2_status.h:29
#define MG2D_STATUS_BASE
Definition: mg2_status.h:20
#define LT_STS_MG2_outOfMemory
Definition: mg2_status.h:135
#define LT_STS_MG2EErrorMaxIconSize
Definition: mg2_status.h:196
#define MG2D_STATUS_Error2Merge2sub
Definition: mg2_status.h:80
#define LT_STS_MG2_badColorSpaceConvertion
Definition: mg2_status.h:150
#define LT_STS_MG2E_SbInit_MemAlloc
Definition: mg2_status.h:290
#define LT_STS_MG2_badMarker
Definition: mg2_status.h:114
#define LT_STS_MG2ENlevLessEqual9
Definition: mg2_status.h:190
#define LT_STS_MG2_huffmanDecodeError
Definition: mg2_status.h:129
#define LT_STS_MG2E_TDWTQ_MemAlloc
Definition: mg2_status.h:293
#define LT_STS_MG2_huffmanEncodeError
Definition: mg2_status.h:132
#define LT_STS_MG2_blockSizeTooLarge
Definition: mg2_status.h:117
#define LT_STS_MG2EError1CopyDataToBordersSub
Definition: mg2_status.h:173
#define MG2D_STATUS_Error2SubbandCopy
Definition: mg2_status.h:74
#define LT_STS_MG2E_Convert_MemAlloc
Definition: mg2_status.h:266
#define LT_STS_MG2ETempDirError
Definition: mg2_status.h:211
#define LT_STS_MG2_badSupport
Definition: mg2_status.h:147
#define LT_STS_MG2ETempFileError
Definition: mg2_status.h:208
#define LT_STS_MG2E_SQ_MemAlloc
Definition: mg2_status.h:287
#define MG2D_STATUS_Error1Array2DInsert
Definition: mg2_status.h:59
#define LT_STS_MG2EInterrupt
Definition: mg2_status.h:220
#define LT_STS_MG2EMemAlloc
Definition: mg2_status.h:199
#define MG2D_STATUS_Error4SubbandIntersect
Definition: mg2_status.h:50
#define MG2D_STATUS_IncompatibleScaleGreater
Definition: mg2_status.h:32
#define LT_STS_MG2E_SetOverlap_MemAlloc
Definition: mg2_status.h:245
#define MG2D_STATUS_Error1Merge2sub
Definition: mg2_status.h:77
#define MG2D_STATUS_NewerSID
Definition: mg2_status.h:26
#define LT_STS_MG2E_TableGen_MemAlloc
Definition: mg2_status.h:239
#define LT_STATUSSTRING_ADD(NUM, STR)
Definition: lt_define.h:141
#define LT_STS_MG2EError2PurgeBorderSub
Definition: mg2_status.h:176
#define LT_STS_RFIInvalid
Definition: mg2_status.h:235
#define LT_STS_MG2EAllocFailed
Definition: mg2_status.h:308
#define MG2D_STATUS_Error3Merge2sub
Definition: mg2_status.h:83
#define LT_STS_MG2EErrorBlockSmallGivenNlev
Definition: mg2_status.h:164
#define MG2D_STATUS_Error4Merge2sub
Definition: mg2_status.h:86
#define LT_STS_MG2_error
Definition: mg2_status.h:138
#define LT_STS_MG2_writeError
Definition: mg2_status.h:102
#define LT_STS_MG2EError1SInitSub
Definition: mg2_status.h:161
#define MG2D_STATUS_Error1Dth
Definition: mg2_status.h:92
#define LT_STS_MG2_rasterBlockNotCompatible
Definition: mg2_status.h:141

LizardTech