MrSID Decode SDK for Raster Reference Manual  9.5.1.4427
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 #define LT_STS_MG2_badBlockSupport 8119
154 LT_STATUSSTRING_ADD(LT_STS_MG2_badBlockSupport, "block suport is larger than the subband")
155 
156 #define MG2D_STATUS_MAX 8999
158 
159 
160 #define LT_STS_Image_MG2E_BASE 9000
162 
163 #define LT_STS_MG2EError1SInitSub 9001
164 LT_STATUSSTRING_ADD(LT_STS_MG2EError1SInitSub, "mg2 Error1SInitSub")
165 
166 #define LT_STS_MG2EErrorBlockSmallGivenNlev 9002
167 LT_STATUSSTRING_ADD(LT_STS_MG2EErrorBlockSmallGivenNlev, "block size too small for given scale")
168 
169 #define LT_STS_MG2EError1ZeroOverlapSub 9003
170 LT_STATUSSTRING_ADD(LT_STS_MG2EError1ZeroOverlapSub, "mg2 Error1ZeroOverlapSub")
171 
172 #define LT_STS_MG2EError1PurgeBorderSub 9004
173 LT_STATUSSTRING_ADD(LT_STS_MG2EError1PurgeBorderSub, "mg2 Error1PurgeBorderSub")
174 
175 #define LT_STS_MG2EError1CopyDataToBordersSub 9005
176 LT_STATUSSTRING_ADD(LT_STS_MG2EError1CopyDataToBordersSub, "mg2 Error1CopyDataToBordersSub")
177 
178 #define LT_STS_MG2EError2PurgeBorderSub 9006
179 LT_STATUSSTRING_ADD(LT_STS_MG2EError2PurgeBorderSub, "mg2 Error2PurgeBorderSub")
180 
181 #define LT_STS_MG2EErrorSetOverlap 9007
182 LT_STATUSSTRING_ADD(LT_STS_MG2EErrorSetOverlap, "mg2 ErrorSetOverlap")
183 
184 #define LT_STS_MG2EErrorSubbandSplit 9008
185 LT_STATUSSTRING_ADD(LT_STS_MG2EErrorSubbandSplit, "mg2 ErrorSubbandSplit")
186 
187 // 9009 unused
188 
189 #define LT_STS_MG2EUnknownException 9010
190 LT_STATUSSTRING_ADD(LT_STS_MG2EUnknownException, "mg2 UnknownException")
191 
192 #define LT_STS_MG2ENlevLessEqual9 9011
194 
195 #define LT_STS_MG2EImageSmallGivenNLev 9012
197 
198 #define LT_STS_MG2EErrorMaxIconSize 9013
199 LT_STATUSSTRING_ADD(LT_STS_MG2EErrorMaxIconSize, "mg2 icon size error")
200 
201 #define LT_STS_MG2EMemAlloc 9014
202 LT_STATUSSTRING_ADD(LT_STS_MG2EMemAlloc, "mg2 mem alloc error")
203 
204 #define LT_STS_MG2EErrorOpenOutputFile 9015
205 LT_STATUSSTRING_ADD(LT_STS_MG2EErrorOpenOutputFile, "error opening output file")
206 
207 #define LT_STS_MG2EErrorWriteOutputFile 9016
208 LT_STATUSSTRING_ADD(LT_STS_MG2EErrorWriteOutputFile, "error writing output file")
209 
210 #define LT_STS_MG2ETempFileError 9017
211 LT_STATUSSTRING_ADD(LT_STS_MG2ETempFileError, "temp file error (%F)")
212 
213 #define LT_STS_MG2ETempDirError 9018
215 
216 #define LT_STS_MG2EBlockSmallGivenNlev 9019
217 LT_STATUSSTRING_ADD(LT_STS_MG2EBlockSmallGivenNlev, "block size too small for scale")
218 
219 #define LT_STS_MG2EIllegalSampleType 9020
221 
222 #define LT_STS_MG2EInterrupt 9021
224 
225 #define LT_STS_MG2EWriteErrorCheckTempDir 9022
227 
228 #define LT_STS_MG2EFileOffsetErrorDecodeIndices 9023
229 LT_STATUSSTRING_ADD(LT_STS_MG2EFileOffsetErrorDecodeIndices, "mg2 FileOffsetErrorDecodeIndices")
230 
231 #define LT_STS_MG2EInvalidLockingKey 9024
233 
234 #define LT_STS_MG2EInvalidLockingPassword 9025
236 
237 #define LT_STS_RFIInvalid 9100
238 LT_STATUSSTRING_ADD(LT_STS_RFIInvalid, "RFI invalid error")
239 
240 
241 #define LT_STS_MG2E_TableGen_MemAlloc 9200
242 LT_STATUSSTRING_ADD(LT_STS_MG2E_TableGen_MemAlloc, "memory allocation error")
243 
244 #define LT_STS_MG2E_Subband_MemAlloc 9201
245 LT_STATUSSTRING_ADD(LT_STS_MG2E_Subband_MemAlloc, "memory allocation error")
246 
247 #define LT_STS_MG2E_SetOverlap_MemAlloc 9202
248 LT_STATUSSTRING_ADD(LT_STS_MG2E_SetOverlap_MemAlloc, "memory allocation error")
249 
250 #define LT_STS_MG2E_IconBitRate_MemAlloc 9203
251 LT_STATUSSTRING_ADD(LT_STS_MG2E_IconBitRate_MemAlloc, "memory allocation error")
252 
253 #define LT_STS_MG2E_CreateTempFile 9204
254 LT_STATUSSTRING_ADD(LT_STS_MG2E_CreateTempFile, "cannot create temp file")
255 
256 #define LT_STS_MG2E_TempName_MemAlloc 9205
257 LT_STATUSSTRING_ADD(LT_STS_MG2E_TempName_MemAlloc, "memory allocation error")
258 
259 #define LT_STS_MG2E_ArchUtils_MemAlloc 9206
260 LT_STATUSSTRING_ADD(LT_STS_MG2E_ArchUtils_MemAlloc, "memory allocation error")
261 
262 #define LT_STS_MG2E_Dump_MemAlloc 9207
263 LT_STATUSSTRING_ADD(LT_STS_MG2E_Dump_MemAlloc, "memory allocation error")
264 
265 #define LT_STS_MG2E_BlkNode_MemAlloc 9208
266 LT_STATUSSTRING_ADD(LT_STS_MG2E_BlkNode_MemAlloc, "memory allocation error")
267 
268 #define LT_STS_MG2E_Convert_MemAlloc 9209
269 LT_STATUSSTRING_ADD(LT_STS_MG2E_Convert_MemAlloc, "memory allocation error")
270 
271 #define LT_STS_MG2E_HuffD_MemAlloc 9210
272 LT_STATUSSTRING_ADD(LT_STS_MG2E_HuffD_MemAlloc, "memory allocation error")
273 
274 #define LT_STS_MG2E_HuffE_MemAlloc 9211
275 LT_STATUSSTRING_ADD(LT_STS_MG2E_HuffE_MemAlloc, "memory allocation error")
276 
277 #define LT_STS_MG2E_HuffE2_MemAlloc 9212
278 LT_STATUSSTRING_ADD(LT_STS_MG2E_HuffE2_MemAlloc, "memory allocation error")
279 
280 #define LT_STS_MG2E_OutIcon_MemAlloc 9213
281 LT_STATUSSTRING_ADD(LT_STS_MG2E_OutIcon_MemAlloc, "memory allocation error")
282 
283 #define LT_STS_MG2E_Purge_MemAlloc 9214
284 LT_STATUSSTRING_ADD(LT_STS_MG2E_Purge_MemAlloc, "memory allocation error")
285 
286 #define LT_STS_MG2E_QGen_MemAlloc 9215
287 LT_STATUSSTRING_ADD(LT_STS_MG2E_QGen_MemAlloc, "memory allocation error")
288 
289 #define LT_STS_MG2E_SQ_MemAlloc 9216
290 LT_STATUSSTRING_ADD(LT_STS_MG2E_SQ_MemAlloc, "memory allocation error")
291 
292 #define LT_STS_MG2E_SbInit_MemAlloc 9217
293 LT_STATUSSTRING_ADD(LT_STS_MG2E_SbInit_MemAlloc, "memory allocation error")
294 
295 #define LT_STS_MG2E_TDWTQ_MemAlloc 9218
296 LT_STATUSSTRING_ADD(LT_STS_MG2E_TDWTQ_MemAlloc, "memory allocation error")
297 
298 #define LT_STS_MG2E_TDWTQ_ColorSpace 9219
300 
301 #define LT_STS_MG2E_Convert_ReadError 9220
302 LT_STATUSSTRING_ADD(LT_STS_MG2E_Convert_ReadError, "internal mg2 read error")
303 
304 #define LT_STS_MG2E_HuffD_ReadError 9221
305 LT_STATUSSTRING_ADD(LT_STS_MG2E_HuffD_ReadError, "internal mg2 read error")
306 
307 #define LT_STS_MG2E_Split_MemAlloc 9222
308 LT_STATUSSTRING_ADD(LT_STS_MG2E_Split_MemAlloc, "memory allocation error")
309 
310 #define LT_STS_MG2EAllocFailed 9223
311 LT_STATUSSTRING_ADD(LT_STS_MG2EAllocFailed, "MG2 encode memory allocation failed")
312 
313 #define LT_STS_Image_MG2E_MAX 9999
315 
316 
317 #define LT_STS_MG2LET_BEGIN 32000
318 
319 #define LT_STS_SLT_Error 32001
320 #define LT_STS_SLT_ExtractError 32002
321 #define LT_STS_SLT_SidletClientZeroSupport 32005
322 #define LT_STS_SLT_SidletClientAllDataCached 32006
323 #define LT_STS_SLT_SidletClientExceptionCaught 32007
324 #define LT_STS_SLT_IOError 32008
325 #define LT_STS_SLT_ErrGenRequest 32009
326 #define LT_STS_SLT_ErrorParsingSidletRequest 32013
327 #define LT_STS_SLT_MessageHeaderSectionCorrupt 32014
328 #define LT_STS_SLT_MarkerMismatchWhileParsingSidletMessage 32016
329 #define LT_STS_SLT_UnrecognizedSidletMessageSection 32017
330 
331 #define LT_STS_MG2LET_END 32999;
332 
333 
334 #endif /* MG2_STATUS_H */
#define LT_STS_MG2EUnknownException
Definition: mg2_status.h:189
#define MG2D_STATUS_IncompatibleScaleGreater
Definition: mg2_status.h:32
#define LT_STS_MG2E_Purge_MemAlloc
Definition: mg2_status.h:283
#define MG2D_STATUS_Error1Dth
Definition: mg2_status.h:92
#define LT_STS_MG2E_Subband_MemAlloc
Definition: mg2_status.h:244
#define LT_STS_MG2_outOfMemory
Definition: mg2_status.h:135
#define MG2D_STATUS_MAX
Definition: mg2_status.h:156
#define LT_STS_MG2ETempFileError
Definition: mg2_status.h:210
#define LT_STS_MG2_badBlockSupport
Definition: mg2_status.h:153
#define LT_STS_MG2EBlockSmallGivenNlev
Definition: mg2_status.h:216
#define LT_STS_MG2E_TempName_MemAlloc
Definition: mg2_status.h:256
#define MG2D_STATUS_Error1Array2DSetBand
Definition: mg2_status.h:56
#define LT_STS_MG2E_TableGen_MemAlloc
Definition: mg2_status.h:241
#define LT_STS_MG2EMemAlloc
Definition: mg2_status.h:201
#define LT_STS_MG2E_SetOverlap_MemAlloc
Definition: mg2_status.h:247
#define MG2D_STATUS_Error4SubbandIntersect
Definition: mg2_status.h:50
#define LT_STS_MG2_blockSizeTooSmall
Definition: mg2_status.h:120
#define LT_STS_MG2_readError
Definition: mg2_status.h:99
#define LT_STS_MG2E_Convert_ReadError
Definition: mg2_status.h:301
#define LT_STS_MG2_unsupportedVersion
Definition: mg2_status.h:111
#define MG2D_STATUS_Error4Merge2sub
Definition: mg2_status.h:86
#define MG2D_STATUS_UnexpectedMarker
Definition: mg2_status.h:68
#define LT_STS_MG2_badMarker
Definition: mg2_status.h:114
#define LT_STS_MG2EError1ZeroOverlapSub
Definition: mg2_status.h:169
#define LT_STS_Image_MG2E_BASE
Definition: mg2_status.h:160
#define LT_STS_MG2_rasterBlockNotCompatible
Definition: mg2_status.h:141
#define LT_STS_MG2_blockSizeTooLarge
Definition: mg2_status.h:117
#define LT_STS_MG2E_TDWTQ_MemAlloc
Definition: mg2_status.h:295
#define LT_STS_MG2E_IconBitRate_MemAlloc
Definition: mg2_status.h:250
#define LT_STS_MG2EError1PurgeBorderSub
Definition: mg2_status.h:172
#define LT_STS_MG2E_Dump_MemAlloc
Definition: mg2_status.h:262
#define MG2D_STATUS_Error5SubbandIntersect
Definition: mg2_status.h:53
#define MG2D_STATUS_Interrupt
Definition: mg2_status.h:95
#define LT_STS_MG2EError2PurgeBorderSub
Definition: mg2_status.h:178
#define LT_STS_MG2EInvalidLockingPassword
Definition: mg2_status.h:234
#define MG2D_STATUS_InvalidImageSupport
Definition: mg2_status.h:29
#define LT_STS_MG2_binCountTooSmall
Definition: mg2_status.h:126
#define LT_STS_MG2EError1SInitSub
Definition: mg2_status.h:163
#define LT_STS_MG2_huffmanDecodeError
Definition: mg2_status.h:129
#define LT_STS_MG2EAllocFailed
Definition: mg2_status.h:310
#define MG2D_STATUS_BASE
Definition: mg2_status.h:20
#define LT_STS_RFIInvalid
Definition: mg2_status.h:237
Include file for all LizardTech sources.
#define LT_STS_MG2EInvalidLockingKey
Definition: mg2_status.h:231
#define MG2D_STATUS_Error1Array2DCtor3
Definition: mg2_status.h:23
#define MG2D_STATUS_Error2SubbandCopy
Definition: mg2_status.h:74
#define LT_STS_MG2E_HuffD_MemAlloc
Definition: mg2_status.h:271
#define MG2D_STATUS_Error1Array2DBSQIteratorPlus
Definition: mg2_status.h:65
#define MG2D_STATUS_Error1Merge2sub
Definition: mg2_status.h:77
#define LT_STS_MG2_badColorSpaceConvertion
Definition: mg2_status.h:150
#define LT_STS_MG2E_HuffE2_MemAlloc
Definition: mg2_status.h:277
#define MG2D_STATUS_Error5Merge2sub
Definition: mg2_status.h:89
#define MG2D_STATUS_Error1SubbandCopy
Definition: mg2_status.h:38
#define LT_STS_MG2EError1CopyDataToBordersSub
Definition: mg2_status.h:175
#define LT_STS_MG2ETempDirError
Definition: mg2_status.h:213
#define LT_STS_MG2_ioError
Definition: mg2_status.h:105
#define LT_STS_MG2EImageSmallGivenNLev
Definition: mg2_status.h:195
#define LT_STS_MG2EFileOffsetErrorDecodeIndices
Definition: mg2_status.h:228
#define MG2D_STATUS_Error3SubbandIntersect
Definition: mg2_status.h:47
#define LT_STS_MG2_error
Definition: mg2_status.h:138
#define LT_STS_MG2EErrorWriteOutputFile
Definition: mg2_status.h:207
#define MG2D_STATUS_Error2SubbandIntersect
Definition: mg2_status.h:44
#define MG2D_STATUS_ErrorDecompressing
Definition: mg2_status.h:71
#define MG2D_STATUS_IncompatibleScaleLess
Definition: mg2_status.h:35
#define LT_STS_MG2EErrorSubbandSplit
Definition: mg2_status.h:184
#define LT_STS_MG2E_QGen_MemAlloc
Definition: mg2_status.h:286
#define MG2D_STATUS_Error2Merge2sub
Definition: mg2_status.h:80
#define MG2D_STATUS_Error1Array2DInsert
Definition: mg2_status.h:59
#define LT_STS_MG2_notMrSIDFile
Definition: mg2_status.h:108
#define LT_STS_MG2E_TDWTQ_ColorSpace
Definition: mg2_status.h:298
#define LT_STS_MG2E_SbInit_MemAlloc
Definition: mg2_status.h:292
#define LT_STS_MG2_badSupport
Definition: mg2_status.h:147
#define MG2D_STATUS_Error1SubbandIntersect
Definition: mg2_status.h:41
#define MG2D_STATUS_Error3Merge2sub
Definition: mg2_status.h:83
#define LT_STS_MG2EErrorMaxIconSize
Definition: mg2_status.h:198
#define LT_STS_MG2_huffmanEncodeError
Definition: mg2_status.h:132
#define LT_STS_MG2E_Split_MemAlloc
Definition: mg2_status.h:307
#define MG2D_STATUS_Error2Array2DInsert
Definition: mg2_status.h:62
#define LT_STS_MG2E_OutIcon_MemAlloc
Definition: mg2_status.h:280
#define LT_STS_MG2EIllegalSampleType
Definition: mg2_status.h:219
#define LT_STS_MG2E_Convert_MemAlloc
Definition: mg2_status.h:268
#define LT_STS_MG2E_SQ_MemAlloc
Definition: mg2_status.h:289
#define LT_STS_MG2EWriteErrorCheckTempDir
Definition: mg2_status.h:225
#define MG2D_STATUS_NewerSID
Definition: mg2_status.h:26
#define LT_STS_MG2_writeError
Definition: mg2_status.h:102
#define LT_STS_MG2EErrorSetOverlap
Definition: mg2_status.h:181
#define LT_STS_MG2EInterrupt
Definition: mg2_status.h:222
#define LT_STS_MG2_badLevel
Definition: mg2_status.h:144
#define LT_STS_MG2ENlevLessEqual9
Definition: mg2_status.h:192
#define LT_STATUSSTRING_ADD(NUM, STR)
Definition: lt_define.h:141
#define LT_STS_MG2E_ArchUtils_MemAlloc
Definition: mg2_status.h:259
#define LT_STS_MG2E_HuffD_ReadError
Definition: mg2_status.h:304
#define LT_STS_MG2E_HuffE_MemAlloc
Definition: mg2_status.h:274
#define LT_STS_MG2EErrorOpenOutputFile
Definition: mg2_status.h:204
#define LT_STS_MG2_binCountTooLarge
Definition: mg2_status.h:123
#define LT_STS_Image_MG2E_MAX
Definition: mg2_status.h:313
#define LT_STS_MG2EErrorBlockSmallGivenNlev
Definition: mg2_status.h:166
#define LT_STS_MG2E_BlkNode_MemAlloc
Definition: mg2_status.h:265
#define LT_STS_MG2E_CreateTempFile
Definition: mg2_status.h:253

LizardTech