MrSID Decode SDK for Raster Reference Manual  9.5.5.5244
mg2_status.h
Go to the documentation of this file.
1 //
2 // This code is property of Celartem, Inc dba Extensis.
3 // Copyright (c) 1995-2023. All rights reserved.
4 // Use permitted only under license from Extensis.
5 //
6 /* PUBLIC */
7 
8 #ifndef MG2_STATUS_H
9 #define MG2_STATUS_H
10 
11 // lt_lib_base
12 #include "lt_base.h"
13 
14 
15 #define MG2D_STATUS_BASE 8000
17 
18 #define MG2D_STATUS_Error1Array2DCtor3 8001
20 
21 #define MG2D_STATUS_NewerSID 8002
22 LT_STATUSSTRING_ADD(MG2D_STATUS_NewerSID, "MrSID version error")
23 
24 #define MG2D_STATUS_InvalidImageSupport 8008
26 
27 #define MG2D_STATUS_IncompatibleScaleGreater 8009
29 
30 #define MG2D_STATUS_IncompatibleScaleLess 8010
32 
33 #define MG2D_STATUS_Error1SubbandCopy 8011
35 
36 #define MG2D_STATUS_Error1SubbandIntersect 8012
38 
39 #define MG2D_STATUS_Error2SubbandIntersect 8013
41 
42 #define MG2D_STATUS_Error3SubbandIntersect 8014
44 
45 #define MG2D_STATUS_Error4SubbandIntersect 8015
47 
48 #define MG2D_STATUS_Error5SubbandIntersect 8016
50 
51 #define MG2D_STATUS_Error1Array2DSetBand 8017
53 
54 #define MG2D_STATUS_Error1Array2DInsert 8018
56 
57 #define MG2D_STATUS_Error2Array2DInsert 8019
59 
60 #define MG2D_STATUS_Error1Array2DBSQIteratorPlus 8020
62 
63 #define MG2D_STATUS_UnexpectedMarker 8021
65 
66 #define MG2D_STATUS_ErrorDecompressing 8022
68 
69 #define MG2D_STATUS_Error2SubbandCopy 8023
71 
72 #define MG2D_STATUS_Error1Merge2sub 8024
74 
75 #define MG2D_STATUS_Error2Merge2sub 8025
77 
78 #define MG2D_STATUS_Error3Merge2sub 8026
80 
81 #define MG2D_STATUS_Error4Merge2sub 8027
83 
84 #define MG2D_STATUS_Error5Merge2sub 8028
86 
87 #define MG2D_STATUS_Error1Dth 8029
88 LT_STATUSSTRING_ADD(MG2D_STATUS_Error1Dth, "mg2d internal error")
89 
90 #define MG2D_STATUS_Interrupt 8040
92 
93 
94 #define LT_STS_MG2_readError 8101
96 
97 #define LT_STS_MG2_writeError 8102
99 
100 #define LT_STS_MG2_ioError 8103
101 LT_STATUSSTRING_ADD(LT_STS_MG2_ioError, "mg2 i/o error")
102 
103 #define LT_STS_MG2_notMrSIDFile 8104
105 
106 #define LT_STS_MG2_unsupportedVersion 8105
107 LT_STATUSSTRING_ADD(LT_STS_MG2_unsupportedVersion, "unsupported version of mg2")
108 
109 #define LT_STS_MG2_badMarker 8106
110 LT_STATUSSTRING_ADD(LT_STS_MG2_badMarker, "bad mg2 file marker")
111 
112 #define LT_STS_MG2_blockSizeTooLarge 8107
114 
115 #define LT_STS_MG2_blockSizeTooSmall 8108
117 
118 #define LT_STS_MG2_binCountTooLarge 8109
120 
121 #define LT_STS_MG2_binCountTooSmall 8110
123 
124 #define LT_STS_MG2_huffmanDecodeError 8111
125 LT_STATUSSTRING_ADD(LT_STS_MG2_huffmanDecodeError, "huffman decode error")
126 
127 #define LT_STS_MG2_huffmanEncodeError 8112
128 LT_STATUSSTRING_ADD(LT_STS_MG2_huffmanEncodeError, "huffman encode error")
129 
130 #define LT_STS_MG2_outOfMemory 8113
131 LT_STATUSSTRING_ADD(LT_STS_MG2_outOfMemory, "mg2 out of memory")
132 
133 #define LT_STS_MG2_error 8114
134 LT_STATUSSTRING_ADD(LT_STS_MG2_error, "mg2 internal error: unknown exception")
135 
136 #define LT_STS_MG2_rasterBlockNotCompatible 8115
137 LT_STATUSSTRING_ADD(LT_STS_MG2_rasterBlockNotCompatible, "mg2 raster block not compatible")
138 
139 #define LT_STS_MG2_badLevel 8116
140 LT_STATUSSTRING_ADD(LT_STS_MG2_badLevel, "level is larger than the number of levels in image")
141 
142 #define LT_STS_MG2_badSupport 8117
143 LT_STATUSSTRING_ADD(LT_STS_MG2_badSupport, "support is larger than the image")
144 
145 #define LT_STS_MG2_badColorSpaceConvertion 8118
146 LT_STATUSSTRING_ADD(LT_STS_MG2_badColorSpaceConvertion, "bad color space conversion")
147 
148 #define LT_STS_MG2_badBlockSupport 8119
149 LT_STATUSSTRING_ADD(LT_STS_MG2_badBlockSupport, "block suport is larger than the subband")
150 
151 #define LT_STS_MG2_CorruptFile 8120
152 LT_STATUSSTRING_ADD(LT_STS_MG2_CorruptFile, "the mg2 file is corrupt")
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 */
Include file for all LizardTech sources.
#define LT_STATUSSTRING_ADD(NUM, STR)
Definition: lt_define.h:114
#define LT_STS_MG2EBlockSmallGivenNlev
Definition: mg2_status.h:214
#define LT_STS_MG2EErrorSubbandSplit
Definition: mg2_status.h:182
#define LT_STS_MG2E_Purge_MemAlloc
Definition: mg2_status.h:281
#define LT_STS_MG2EImageSmallGivenNLev
Definition: mg2_status.h:193
#define LT_STS_MG2_badColorSpaceConvertion
Definition: mg2_status.h:145
#define LT_STS_MG2EFileOffsetErrorDecodeIndices
Definition: mg2_status.h:226
#define LT_STS_MG2EError1ZeroOverlapSub
Definition: mg2_status.h:167
#define LT_STS_MG2E_TableGen_MemAlloc
Definition: mg2_status.h:239
#define LT_STS_MG2E_Convert_MemAlloc
Definition: mg2_status.h:266
#define LT_STS_MG2EErrorWriteOutputFile
Definition: mg2_status.h:205
#define LT_STS_MG2E_SQ_MemAlloc
Definition: mg2_status.h:287
#define LT_STS_MG2EErrorOpenOutputFile
Definition: mg2_status.h:202
#define MG2D_STATUS_Error5SubbandIntersect
Definition: mg2_status.h:48
#define LT_STS_MG2E_Subband_MemAlloc
Definition: mg2_status.h:242
#define LT_STS_MG2E_HuffD_MemAlloc
Definition: mg2_status.h:269
#define LT_STS_MG2_badBlockSupport
Definition: mg2_status.h:148
#define LT_STS_MG2EInvalidLockingPassword
Definition: mg2_status.h:232
#define MG2D_STATUS_InvalidImageSupport
Definition: mg2_status.h:24
#define MG2D_STATUS_Error1Dth
Definition: mg2_status.h:87
#define MG2D_STATUS_NewerSID
Definition: mg2_status.h:21
#define LT_STS_MG2_error
Definition: mg2_status.h:133
#define LT_STS_MG2_badLevel
Definition: mg2_status.h:139
#define LT_STS_MG2EError1SInitSub
Definition: mg2_status.h:161
#define LT_STS_MG2EUnknownException
Definition: mg2_status.h:187
#define LT_STS_MG2E_IconBitRate_MemAlloc
Definition: mg2_status.h:248
#define LT_STS_MG2E_CreateTempFile
Definition: mg2_status.h:251
#define LT_STS_MG2_rasterBlockNotCompatible
Definition: mg2_status.h:136
#define MG2D_STATUS_Error1SubbandIntersect
Definition: mg2_status.h:36
#define MG2D_STATUS_Error4SubbandIntersect
Definition: mg2_status.h:45
#define LT_STS_MG2EError2PurgeBorderSub
Definition: mg2_status.h:176
#define LT_STS_MG2_binCountTooLarge
Definition: mg2_status.h:118
#define MG2D_STATUS_Error3SubbandIntersect
Definition: mg2_status.h:42
#define LT_STS_MG2_ioError
Definition: mg2_status.h:100
#define LT_STS_MG2EErrorSetOverlap
Definition: mg2_status.h:179
#define MG2D_STATUS_UnexpectedMarker
Definition: mg2_status.h:63
#define LT_STS_MG2EMemAlloc
Definition: mg2_status.h:199
#define LT_STS_MG2E_SetOverlap_MemAlloc
Definition: mg2_status.h:245
#define MG2D_STATUS_Error1Array2DInsert
Definition: mg2_status.h:54
#define LT_STS_MG2_huffmanDecodeError
Definition: mg2_status.h:124
#define LT_STS_MG2E_Dump_MemAlloc
Definition: mg2_status.h:260
#define MG2D_STATUS_ErrorDecompressing
Definition: mg2_status.h:66
#define MG2D_STATUS_Interrupt
Definition: mg2_status.h:90
#define LT_STS_MG2_huffmanEncodeError
Definition: mg2_status.h:127
#define LT_STS_MG2_readError
Definition: mg2_status.h:94
#define LT_STS_MG2E_ArchUtils_MemAlloc
Definition: mg2_status.h:257
#define LT_STS_MG2E_HuffE_MemAlloc
Definition: mg2_status.h:272
#define LT_STS_MG2ETempDirError
Definition: mg2_status.h:211
#define LT_STS_MG2EInvalidLockingKey
Definition: mg2_status.h:229
#define MG2D_STATUS_Error2Array2DInsert
Definition: mg2_status.h:57
#define LT_STS_MG2E_Convert_ReadError
Definition: mg2_status.h:299
#define LT_STS_RFIInvalid
Definition: mg2_status.h:235
#define LT_STS_MG2E_TempName_MemAlloc
Definition: mg2_status.h:254
#define LT_STS_MG2_blockSizeTooSmall
Definition: mg2_status.h:115
#define LT_STS_MG2E_Split_MemAlloc
Definition: mg2_status.h:305
#define MG2D_STATUS_Error2Merge2sub
Definition: mg2_status.h:75
#define LT_STS_MG2ETempFileError
Definition: mg2_status.h:208
#define LT_STS_MG2E_OutIcon_MemAlloc
Definition: mg2_status.h:278
#define LT_STS_Image_MG2E_MAX
Definition: mg2_status.h:311
#define LT_STS_MG2ENlevLessEqual9
Definition: mg2_status.h:190
#define LT_STS_MG2E_SbInit_MemAlloc
Definition: mg2_status.h:290
#define MG2D_STATUS_MAX
Definition: mg2_status.h:154
#define LT_STS_MG2E_TDWTQ_MemAlloc
Definition: mg2_status.h:293
#define MG2D_STATUS_Error1Merge2sub
Definition: mg2_status.h:72
#define LT_STS_MG2_unsupportedVersion
Definition: mg2_status.h:106
#define LT_STS_MG2EErrorMaxIconSize
Definition: mg2_status.h:196
#define LT_STS_MG2EError1CopyDataToBordersSub
Definition: mg2_status.h:173
#define LT_STS_Image_MG2E_BASE
Definition: mg2_status.h:158
#define LT_STS_MG2_writeError
Definition: mg2_status.h:97
#define MG2D_STATUS_Error1Array2DCtor3
Definition: mg2_status.h:18
#define LT_STS_MG2E_TDWTQ_ColorSpace
Definition: mg2_status.h:296
#define MG2D_STATUS_Error5Merge2sub
Definition: mg2_status.h:84
#define MG2D_STATUS_Error2SubbandIntersect
Definition: mg2_status.h:39
#define LT_STS_MG2EIllegalSampleType
Definition: mg2_status.h:217
#define LT_STS_MG2E_QGen_MemAlloc
Definition: mg2_status.h:284
#define MG2D_STATUS_BASE
Definition: mg2_status.h:15
#define LT_STS_MG2_outOfMemory
Definition: mg2_status.h:130
#define LT_STS_MG2_CorruptFile
Definition: mg2_status.h:151
#define LT_STS_MG2_badSupport
Definition: mg2_status.h:142
#define LT_STS_MG2EError1PurgeBorderSub
Definition: mg2_status.h:170
#define MG2D_STATUS_Error4Merge2sub
Definition: mg2_status.h:81
#define MG2D_STATUS_Error1SubbandCopy
Definition: mg2_status.h:33
#define MG2D_STATUS_Error1Array2DSetBand
Definition: mg2_status.h:51
#define LT_STS_MG2EErrorBlockSmallGivenNlev
Definition: mg2_status.h:164
#define LT_STS_MG2E_BlkNode_MemAlloc
Definition: mg2_status.h:263
#define LT_STS_MG2EAllocFailed
Definition: mg2_status.h:308
#define LT_STS_MG2EWriteErrorCheckTempDir
Definition: mg2_status.h:223
#define LT_STS_MG2E_HuffD_ReadError
Definition: mg2_status.h:302
#define MG2D_STATUS_Error3Merge2sub
Definition: mg2_status.h:78
#define MG2D_STATUS_Error1Array2DBSQIteratorPlus
Definition: mg2_status.h:60
#define LT_STS_MG2_blockSizeTooLarge
Definition: mg2_status.h:112
#define LT_STS_MG2_badMarker
Definition: mg2_status.h:109
#define MG2D_STATUS_Error2SubbandCopy
Definition: mg2_status.h:69
#define LT_STS_MG2EInterrupt
Definition: mg2_status.h:220
#define LT_STS_MG2_binCountTooSmall
Definition: mg2_status.h:121
#define MG2D_STATUS_IncompatibleScaleGreater
Definition: mg2_status.h:27
#define LT_STS_MG2E_HuffE2_MemAlloc
Definition: mg2_status.h:275
#define MG2D_STATUS_IncompatibleScaleLess
Definition: mg2_status.h:30
#define LT_STS_MG2_notMrSIDFile
Definition: mg2_status.h:103

Extensis