MrSID Decode SDK for Raster Reference Manual 9.5.4.4709

- Main Page
- Namespaces
- Classes
- Files
- Examples

- File List
- File Members

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
21 LT_STATUSSTRING_ADD(MG2D_STATUS_BASE, "mg2d BASE")
22
23 #define MG2D_STATUS_Error1Array2DCtor3 8001
24 LT_STATUSSTRING_ADD(MG2D_STATUS_Error1Array2DCtor3, "mg2d internal error")
25
26 #define MG2D_STATUS_NewerSID 8002
27 LT_STATUSSTRING_ADD(MG2D_STATUS_NewerSID, "MrSID version error")
28
29 #define MG2D_STATUS_InvalidImageSupport 8008
30 LT_STATUSSTRING_ADD(MG2D_STATUS_InvalidImageSupport, "mg2d internal error")
31
32 #define MG2D_STATUS_IncompatibleScaleGreater 8009
33 LT_STATUSSTRING_ADD(MG2D_STATUS_IncompatibleScaleGreater, "mg2d internal error")
34
35 #define MG2D_STATUS_IncompatibleScaleLess 8010
36 LT_STATUSSTRING_ADD(MG2D_STATUS_IncompatibleScaleLess, "mg2d internal error")
37
38 #define MG2D_STATUS_Error1SubbandCopy 8011
39 LT_STATUSSTRING_ADD(MG2D_STATUS_Error1SubbandCopy, "mg2d internal error")
40
41 #define MG2D_STATUS_Error1SubbandIntersect 8012
42 LT_STATUSSTRING_ADD(MG2D_STATUS_Error1SubbandIntersect, "mg2d internal error")
43
44 #define MG2D_STATUS_Error2SubbandIntersect 8013
45 LT_STATUSSTRING_ADD(MG2D_STATUS_Error2SubbandIntersect, "mg2d internal error")
46
47 #define MG2D_STATUS_Error3SubbandIntersect 8014
48 LT_STATUSSTRING_ADD(MG2D_STATUS_Error3SubbandIntersect, "mg2d internal error")
49
50 #define MG2D_STATUS_Error4SubbandIntersect 8015
51 LT_STATUSSTRING_ADD(MG2D_STATUS_Error4SubbandIntersect, "mg2d internal error")
52
53 #define MG2D_STATUS_Error5SubbandIntersect 8016
54 LT_STATUSSTRING_ADD(MG2D_STATUS_Error5SubbandIntersect, "mg2d internal error")
55
56 #define MG2D_STATUS_Error1Array2DSetBand 8017
57 LT_STATUSSTRING_ADD(MG2D_STATUS_Error1Array2DSetBand, "mg2d internal error")
58
59 #define MG2D_STATUS_Error1Array2DInsert 8018
60 LT_STATUSSTRING_ADD(MG2D_STATUS_Error1Array2DInsert, "mg2d internal error")
61
62 #define MG2D_STATUS_Error2Array2DInsert 8019
63 LT_STATUSSTRING_ADD(MG2D_STATUS_Error2Array2DInsert, "mg2d internal error")
64
65 #define MG2D_STATUS_Error1Array2DBSQIteratorPlus 8020
66 LT_STATUSSTRING_ADD(MG2D_STATUS_Error1Array2DBSQIteratorPlus, "mg2d internal error")
67
68 #define MG2D_STATUS_UnexpectedMarker 8021
69 LT_STATUSSTRING_ADD(MG2D_STATUS_UnexpectedMarker, "mg2d internal error")
70
71 #define MG2D_STATUS_ErrorDecompressing 8022
72 LT_STATUSSTRING_ADD(MG2D_STATUS_ErrorDecompressing, "Error decoding image")
73
74 #define MG2D_STATUS_Error2SubbandCopy 8023
75 LT_STATUSSTRING_ADD(MG2D_STATUS_Error2SubbandCopy, "mg2d internal error")
76
77 #define MG2D_STATUS_Error1Merge2sub 8024
78 LT_STATUSSTRING_ADD(MG2D_STATUS_Error1Merge2sub, "mg2d internal error")
79
80 #define MG2D_STATUS_Error2Merge2sub 8025
81 LT_STATUSSTRING_ADD(MG2D_STATUS_Error2Merge2sub, "mg2d internal error")
82
83 #define MG2D_STATUS_Error3Merge2sub 8026
84 LT_STATUSSTRING_ADD(MG2D_STATUS_Error3Merge2sub, "mg2d internal error")
85
86 #define MG2D_STATUS_Error4Merge2sub 8027
87 LT_STATUSSTRING_ADD(MG2D_STATUS_Error4Merge2sub, "mg2d internal error")
88
89 #define MG2D_STATUS_Error5Merge2sub 8028
90 LT_STATUSSTRING_ADD(MG2D_STATUS_Error5Merge2sub, "mg2d internal error")
91
92 #define MG2D_STATUS_Error1Dth 8029
93 LT_STATUSSTRING_ADD(MG2D_STATUS_Error1Dth, "mg2d internal error")
94
95 #define MG2D_STATUS_Interrupt 8040
96 LT_STATUSSTRING_ADD(MG2D_STATUS_Interrupt, "Interrupt")
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
109 LT_STATUSSTRING_ADD(LT_STS_MG2_notMrSIDFile, "not a MG2 file")
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
118 LT_STATUSSTRING_ADD(LT_STS_MG2_blockSizeTooLarge, "blocksize too large")
119
120 #define LT_STS_MG2_blockSizeTooSmall 8108
121 LT_STATUSSTRING_ADD(LT_STS_MG2_blockSizeTooSmall, "blocksize too small")
122
123 #define LT_STS_MG2_binCountTooLarge 8109
124 LT_STATUSSTRING_ADD(LT_STS_MG2_binCountTooLarge, "binCount too large")
125
126 #define LT_STS_MG2_binCountTooSmall 8110
127 LT_STATUSSTRING_ADD(LT_STS_MG2_binCountTooSmall, "binCount too small")
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
157 LT_STATUSSTRING_ADD(MG2D_STATUS_MAX, "mg2d MAX")
158
159
160 #define LT_STS_Image_MG2E_BASE 9000
161 LT_STATUSSTRING_ADD(LT_STS_Image_MG2E_BASE, "mg2e BASE")
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
193 LT_STATUSSTRING_ADD(LT_STS_MG2ENlevLessEqual9, "scale too large")
194
195 #define LT_STS_MG2EImageSmallGivenNLev 9012
196 LT_STATUSSTRING_ADD(LT_STS_MG2EImageSmallGivenNLev, "scale too small")
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
214 LT_STATUSSTRING_ADD(LT_STS_MG2ETempDirError, "temp dir error")
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
220 LT_STATUSSTRING_ADD(LT_STS_MG2EIllegalSampleType, "illegal sample type")
221
222 #define LT_STS_MG2EInterrupt 9021
223 LT_STATUSSTRING_ADD(LT_STS_MG2EInterrupt, "mg2 interrupt")
224
225 #define LT_STS_MG2EWriteErrorCheckTempDir 9022
226 LT_STATUSSTRING_ADD(LT_STS_MG2EWriteErrorCheckTempDir, "temp dir write error")
227
228 #define LT_STS_MG2EFileOffsetErrorDecodeIndices 9023
229 LT_STATUSSTRING_ADD(LT_STS_MG2EFileOffsetErrorDecodeIndices, "mg2 FileOffsetErrorDecodeIndices")
230
231 #define LT_STS_MG2EInvalidLockingKey 9024
232 LT_STATUSSTRING_ADD(LT_STS_MG2EInvalidLockingKey, "Invalid key")
233
234 #define LT_STS_MG2EInvalidLockingPassword 9025
235 LT_STATUSSTRING_ADD(LT_STS_MG2EInvalidLockingPassword, "Invalid password")
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
299 LT_STATUSSTRING_ADD(LT_STS_MG2E_TDWTQ_ColorSpace, "invalid colorspace")
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
314 LT_STATUSSTRING_ADD(LT_STS_Image_MG2E_MAX, "mg2 MAX")
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 */

LizardTech