00001
00002
00003
00004
00005
00006
00007
00008
00009
00011
00012
00013 #ifndef MG2_STATUS_H
00014 #define MG2_STATUS_H
00015
00016
00017 #include "lt_base.h"
00018
00019
00020 #define MG2D_STATUS_BASE 8000
00021 LT_STATUSSTRING_ADD(MG2D_STATUS_BASE, "mg2d BASE")
00022
00023 #define MG2D_STATUS_Error1Array2DCtor3 8001
00024 LT_STATUSSTRING_ADD(MG2D_STATUS_Error1Array2DCtor3, "mg2d internal error")
00025
00026 #define MG2D_STATUS_NewerSID 8002
00027 LT_STATUSSTRING_ADD(MG2D_STATUS_NewerSID, "MrSID version error")
00028
00029 #define MG2D_STATUS_InvalidImageSupport 8008
00030 LT_STATUSSTRING_ADD(MG2D_STATUS_InvalidImageSupport, "mg2d internal error")
00031
00032 #define MG2D_STATUS_IncompatibleScaleGreater 8009
00033 LT_STATUSSTRING_ADD(MG2D_STATUS_IncompatibleScaleGreater, "mg2d internal error")
00034
00035 #define MG2D_STATUS_IncompatibleScaleLess 8010
00036 LT_STATUSSTRING_ADD(MG2D_STATUS_IncompatibleScaleLess, "mg2d internal error")
00037
00038 #define MG2D_STATUS_Error1SubbandCopy 8011
00039 LT_STATUSSTRING_ADD(MG2D_STATUS_Error1SubbandCopy, "mg2d internal error")
00040
00041 #define MG2D_STATUS_Error1SubbandIntersect 8012
00042 LT_STATUSSTRING_ADD(MG2D_STATUS_Error1SubbandIntersect, "mg2d internal error")
00043
00044 #define MG2D_STATUS_Error2SubbandIntersect 8013
00045 LT_STATUSSTRING_ADD(MG2D_STATUS_Error2SubbandIntersect, "mg2d internal error")
00046
00047 #define MG2D_STATUS_Error3SubbandIntersect 8014
00048 LT_STATUSSTRING_ADD(MG2D_STATUS_Error3SubbandIntersect, "mg2d internal error")
00049
00050 #define MG2D_STATUS_Error4SubbandIntersect 8015
00051 LT_STATUSSTRING_ADD(MG2D_STATUS_Error4SubbandIntersect, "mg2d internal error")
00052
00053 #define MG2D_STATUS_Error5SubbandIntersect 8016
00054 LT_STATUSSTRING_ADD(MG2D_STATUS_Error5SubbandIntersect, "mg2d internal error")
00055
00056 #define MG2D_STATUS_Error1Array2DSetBand 8017
00057 LT_STATUSSTRING_ADD(MG2D_STATUS_Error1Array2DSetBand, "mg2d internal error")
00058
00059 #define MG2D_STATUS_Error1Array2DInsert 8018
00060 LT_STATUSSTRING_ADD(MG2D_STATUS_Error1Array2DInsert, "mg2d internal error")
00061
00062 #define MG2D_STATUS_Error2Array2DInsert 8019
00063 LT_STATUSSTRING_ADD(MG2D_STATUS_Error2Array2DInsert, "mg2d internal error")
00064
00065 #define MG2D_STATUS_Error1Array2DBSQIteratorPlus 8020
00066 LT_STATUSSTRING_ADD(MG2D_STATUS_Error1Array2DBSQIteratorPlus, "mg2d internal error")
00067
00068 #define MG2D_STATUS_UnexpectedMarker 8021
00069 LT_STATUSSTRING_ADD(MG2D_STATUS_UnexpectedMarker, "mg2d internal error")
00070
00071 #define MG2D_STATUS_ErrorDecompressing 8022
00072 LT_STATUSSTRING_ADD(MG2D_STATUS_ErrorDecompressing, "Error decoding image")
00073
00074 #define MG2D_STATUS_Error2SubbandCopy 8023
00075 LT_STATUSSTRING_ADD(MG2D_STATUS_Error2SubbandCopy, "mg2d internal error")
00076
00077 #define MG2D_STATUS_Error1Merge2sub 8024
00078 LT_STATUSSTRING_ADD(MG2D_STATUS_Error1Merge2sub, "mg2d internal error")
00079
00080 #define MG2D_STATUS_Error2Merge2sub 8025
00081 LT_STATUSSTRING_ADD(MG2D_STATUS_Error2Merge2sub, "mg2d internal error")
00082
00083 #define MG2D_STATUS_Error3Merge2sub 8026
00084 LT_STATUSSTRING_ADD(MG2D_STATUS_Error3Merge2sub, "mg2d internal error")
00085
00086 #define MG2D_STATUS_Error4Merge2sub 8027
00087 LT_STATUSSTRING_ADD(MG2D_STATUS_Error4Merge2sub, "mg2d internal error")
00088
00089 #define MG2D_STATUS_Error5Merge2sub 8028
00090 LT_STATUSSTRING_ADD(MG2D_STATUS_Error5Merge2sub, "mg2d internal error")
00091
00092 #define MG2D_STATUS_Error1Dth 8029
00093 LT_STATUSSTRING_ADD(MG2D_STATUS_Error1Dth, "mg2d internal error")
00094
00095 #define MG2D_STATUS_Interrupt 8040
00096 LT_STATUSSTRING_ADD(MG2D_STATUS_Interrupt, "Interrupt")
00097
00098
00099 #define LT_STS_MG2_readError 8101
00100 LT_STATUSSTRING_ADD(LT_STS_MG2_readError, "mg2 read error")
00101
00102 #define LT_STS_MG2_writeError 8102
00103 LT_STATUSSTRING_ADD(LT_STS_MG2_writeError, "mg2 write error")
00104
00105 #define LT_STS_MG2_ioError 8103
00106 LT_STATUSSTRING_ADD(LT_STS_MG2_ioError, "mg2 i/o error")
00107
00108 #define LT_STS_MG2_notMrSIDFile 8104
00109 LT_STATUSSTRING_ADD(LT_STS_MG2_notMrSIDFile, "not a MG2 file")
00110
00111 #define LT_STS_MG2_unsupportedVersion 8105
00112 LT_STATUSSTRING_ADD(LT_STS_MG2_unsupportedVersion, "unsupported version of mg2")
00113
00114 #define LT_STS_MG2_badMarker 8106
00115 LT_STATUSSTRING_ADD(LT_STS_MG2_badMarker, "bad mg2 file marker")
00116
00117 #define LT_STS_MG2_blockSizeTooLarge 8107
00118 LT_STATUSSTRING_ADD(LT_STS_MG2_blockSizeTooLarge, "blocksize too large")
00119
00120 #define LT_STS_MG2_blockSizeTooSmall 8108
00121 LT_STATUSSTRING_ADD(LT_STS_MG2_blockSizeTooSmall, "blocksize too small")
00122
00123 #define LT_STS_MG2_binCountTooLarge 8109
00124 LT_STATUSSTRING_ADD(LT_STS_MG2_binCountTooLarge, "binCount too large")
00125
00126 #define LT_STS_MG2_binCountTooSmall 8110
00127 LT_STATUSSTRING_ADD(LT_STS_MG2_binCountTooSmall, "binCount too small")
00128
00129 #define LT_STS_MG2_huffmanDecodeError 8111
00130 LT_STATUSSTRING_ADD(LT_STS_MG2_huffmanDecodeError, "huffman decode error")
00131
00132 #define LT_STS_MG2_huffmanEncodeError 8112
00133 LT_STATUSSTRING_ADD(LT_STS_MG2_huffmanEncodeError, "huffman encode error")
00134
00135 #define LT_STS_MG2_outOfMemory 8113
00136 LT_STATUSSTRING_ADD(LT_STS_MG2_outOfMemory, "mg2 out of memory")
00137
00138 #define LT_STS_MG2_error 8114
00139 LT_STATUSSTRING_ADD(LT_STS_MG2_error, "mg2 internal error: unknown exception")
00140
00141 #define LT_STS_MG2_rasterBlockNotCompatible 8115
00142 LT_STATUSSTRING_ADD(LT_STS_MG2_rasterBlockNotCompatible, "mg2 raster block not compatible")
00143
00144 #define LT_STS_MG2_badLevel 8116
00145 LT_STATUSSTRING_ADD(LT_STS_MG2_badLevel, "level is larger than the number of levels in image")
00146
00147 #define LT_STS_MG2_badSupport 8117
00148 LT_STATUSSTRING_ADD(LT_STS_MG2_badSupport, "support is larger than the image")
00149
00150 #define LT_STS_MG2_badColorSpaceConvertion 8118
00151 LT_STATUSSTRING_ADD(LT_STS_MG2_badColorSpaceConvertion, "bad color space conversion")
00152
00153
00154 #define MG2D_STATUS_MAX 8999
00155 LT_STATUSSTRING_ADD(MG2D_STATUS_MAX, "mg2d MAX")
00156
00157
00158 #define LT_STS_Image_MG2E_BASE 9000
00159 LT_STATUSSTRING_ADD(LT_STS_Image_MG2E_BASE, "mg2e BASE")
00160
00161 #define LT_STS_MG2EError1SInitSub 9001
00162 LT_STATUSSTRING_ADD(LT_STS_MG2EError1SInitSub, "mg2 Error1SInitSub")
00163
00164 #define LT_STS_MG2EErrorBlockSmallGivenNlev 9002
00165 LT_STATUSSTRING_ADD(LT_STS_MG2EErrorBlockSmallGivenNlev, "block size too small for given scale")
00166
00167 #define LT_STS_MG2EError1ZeroOverlapSub 9003
00168 LT_STATUSSTRING_ADD(LT_STS_MG2EError1ZeroOverlapSub, "mg2 Error1ZeroOverlapSub")
00169
00170 #define LT_STS_MG2EError1PurgeBorderSub 9004
00171 LT_STATUSSTRING_ADD(LT_STS_MG2EError1PurgeBorderSub, "mg2 Error1PurgeBorderSub")
00172
00173 #define LT_STS_MG2EError1CopyDataToBordersSub 9005
00174 LT_STATUSSTRING_ADD(LT_STS_MG2EError1CopyDataToBordersSub, "mg2 Error1CopyDataToBordersSub")
00175
00176 #define LT_STS_MG2EError2PurgeBorderSub 9006
00177 LT_STATUSSTRING_ADD(LT_STS_MG2EError2PurgeBorderSub, "mg2 Error2PurgeBorderSub")
00178
00179 #define LT_STS_MG2EErrorSetOverlap 9007
00180 LT_STATUSSTRING_ADD(LT_STS_MG2EErrorSetOverlap, "mg2 ErrorSetOverlap")
00181
00182 #define LT_STS_MG2EErrorSubbandSplit 9008
00183 LT_STATUSSTRING_ADD(LT_STS_MG2EErrorSubbandSplit, "mg2 ErrorSubbandSplit")
00184
00185
00186
00187 #define LT_STS_MG2EUnknownException 9010
00188 LT_STATUSSTRING_ADD(LT_STS_MG2EUnknownException, "mg2 UnknownException")
00189
00190 #define LT_STS_MG2ENlevLessEqual9 9011
00191 LT_STATUSSTRING_ADD(LT_STS_MG2ENlevLessEqual9, "scale too large")
00192
00193 #define LT_STS_MG2EImageSmallGivenNLev 9012
00194 LT_STATUSSTRING_ADD(LT_STS_MG2EImageSmallGivenNLev, "scale too small")
00195
00196 #define LT_STS_MG2EErrorMaxIconSize 9013
00197 LT_STATUSSTRING_ADD(LT_STS_MG2EErrorMaxIconSize, "mg2 icon size error")
00198
00199 #define LT_STS_MG2EMemAlloc 9014
00200 LT_STATUSSTRING_ADD(LT_STS_MG2EMemAlloc, "mg2 mem alloc error")
00201
00202 #define LT_STS_MG2EErrorOpenOutputFile 9015
00203 LT_STATUSSTRING_ADD(LT_STS_MG2EErrorOpenOutputFile, "error opening output file")
00204
00205 #define LT_STS_MG2EErrorWriteOutputFile 9016
00206 LT_STATUSSTRING_ADD(LT_STS_MG2EErrorWriteOutputFile, "error writing output file")
00207
00208 #define LT_STS_MG2ETempFileError 9017
00209 LT_STATUSSTRING_ADD(LT_STS_MG2ETempFileError, "temp file error (%F)")
00210
00211 #define LT_STS_MG2ETempDirError 9018
00212 LT_STATUSSTRING_ADD(LT_STS_MG2ETempDirError, "temp dir error")
00213
00214 #define LT_STS_MG2EBlockSmallGivenNlev 9019
00215 LT_STATUSSTRING_ADD(LT_STS_MG2EBlockSmallGivenNlev, "block size too small for scale")
00216
00217 #define LT_STS_MG2EIllegalSampleType 9020
00218 LT_STATUSSTRING_ADD(LT_STS_MG2EIllegalSampleType, "illegal sample type")
00219
00220 #define LT_STS_MG2EInterrupt 9021
00221 LT_STATUSSTRING_ADD(LT_STS_MG2EInterrupt, "mg2 interrupt")
00222
00223 #define LT_STS_MG2EWriteErrorCheckTempDir 9022
00224 LT_STATUSSTRING_ADD(LT_STS_MG2EWriteErrorCheckTempDir, "temp dir write error")
00225
00226 #define LT_STS_MG2EFileOffsetErrorDecodeIndices 9023
00227 LT_STATUSSTRING_ADD(LT_STS_MG2EFileOffsetErrorDecodeIndices, "mg2 FileOffsetErrorDecodeIndices")
00228
00229 #define LT_STS_MG2EInvalidLockingKey 9024
00230 LT_STATUSSTRING_ADD(LT_STS_MG2EInvalidLockingKey, "Invalid key")
00231
00232 #define LT_STS_MG2EInvalidLockingPassword 9025
00233 LT_STATUSSTRING_ADD(LT_STS_MG2EInvalidLockingPassword, "Invalid password")
00234
00235 #define LT_STS_RFIInvalid 9100
00236 LT_STATUSSTRING_ADD(LT_STS_RFIInvalid, "RFI invalid error")
00237
00238
00239 #define LT_STS_MG2E_TableGen_MemAlloc 9200
00240 LT_STATUSSTRING_ADD(LT_STS_MG2E_TableGen_MemAlloc, "memory allocation error")
00241
00242 #define LT_STS_MG2E_Subband_MemAlloc 9201
00243 LT_STATUSSTRING_ADD(LT_STS_MG2E_Subband_MemAlloc, "memory allocation error")
00244
00245 #define LT_STS_MG2E_SetOverlap_MemAlloc 9202
00246 LT_STATUSSTRING_ADD(LT_STS_MG2E_SetOverlap_MemAlloc, "memory allocation error")
00247
00248 #define LT_STS_MG2E_IconBitRate_MemAlloc 9203
00249 LT_STATUSSTRING_ADD(LT_STS_MG2E_IconBitRate_MemAlloc, "memory allocation error")
00250
00251 #define LT_STS_MG2E_CreateTempFile 9204
00252 LT_STATUSSTRING_ADD(LT_STS_MG2E_CreateTempFile, "cannot create temp file")
00253
00254 #define LT_STS_MG2E_TempName_MemAlloc 9205
00255 LT_STATUSSTRING_ADD(LT_STS_MG2E_TempName_MemAlloc, "memory allocation error")
00256
00257 #define LT_STS_MG2E_ArchUtils_MemAlloc 9206
00258 LT_STATUSSTRING_ADD(LT_STS_MG2E_ArchUtils_MemAlloc, "memory allocation error")
00259
00260 #define LT_STS_MG2E_Dump_MemAlloc 9207
00261 LT_STATUSSTRING_ADD(LT_STS_MG2E_Dump_MemAlloc, "memory allocation error")
00262
00263 #define LT_STS_MG2E_BlkNode_MemAlloc 9208
00264 LT_STATUSSTRING_ADD(LT_STS_MG2E_BlkNode_MemAlloc, "memory allocation error")
00265
00266 #define LT_STS_MG2E_Convert_MemAlloc 9209
00267 LT_STATUSSTRING_ADD(LT_STS_MG2E_Convert_MemAlloc, "memory allocation error")
00268
00269 #define LT_STS_MG2E_HuffD_MemAlloc 9210
00270 LT_STATUSSTRING_ADD(LT_STS_MG2E_HuffD_MemAlloc, "memory allocation error")
00271
00272 #define LT_STS_MG2E_HuffE_MemAlloc 9211
00273 LT_STATUSSTRING_ADD(LT_STS_MG2E_HuffE_MemAlloc, "memory allocation error")
00274
00275 #define LT_STS_MG2E_HuffE2_MemAlloc 9212
00276 LT_STATUSSTRING_ADD(LT_STS_MG2E_HuffE2_MemAlloc, "memory allocation error")
00277
00278 #define LT_STS_MG2E_OutIcon_MemAlloc 9213
00279 LT_STATUSSTRING_ADD(LT_STS_MG2E_OutIcon_MemAlloc, "memory allocation error")
00280
00281 #define LT_STS_MG2E_Purge_MemAlloc 9214
00282 LT_STATUSSTRING_ADD(LT_STS_MG2E_Purge_MemAlloc, "memory allocation error")
00283
00284 #define LT_STS_MG2E_QGen_MemAlloc 9215
00285 LT_STATUSSTRING_ADD(LT_STS_MG2E_QGen_MemAlloc, "memory allocation error")
00286
00287 #define LT_STS_MG2E_SQ_MemAlloc 9216
00288 LT_STATUSSTRING_ADD(LT_STS_MG2E_SQ_MemAlloc, "memory allocation error")
00289
00290 #define LT_STS_MG2E_SbInit_MemAlloc 9217
00291 LT_STATUSSTRING_ADD(LT_STS_MG2E_SbInit_MemAlloc, "memory allocation error")
00292
00293 #define LT_STS_MG2E_TDWTQ_MemAlloc 9218
00294 LT_STATUSSTRING_ADD(LT_STS_MG2E_TDWTQ_MemAlloc, "memory allocation error")
00295
00296 #define LT_STS_MG2E_TDWTQ_ColorSpace 9219
00297 LT_STATUSSTRING_ADD(LT_STS_MG2E_TDWTQ_ColorSpace, "invalid colorspace")
00298
00299 #define LT_STS_MG2E_Convert_ReadError 9220
00300 LT_STATUSSTRING_ADD(LT_STS_MG2E_Convert_ReadError, "internal mg2 read error")
00301
00302 #define LT_STS_MG2E_HuffD_ReadError 9221
00303 LT_STATUSSTRING_ADD(LT_STS_MG2E_HuffD_ReadError, "internal mg2 read error")
00304
00305 #define LT_STS_MG2E_Split_MemAlloc 9222
00306 LT_STATUSSTRING_ADD(LT_STS_MG2E_Split_MemAlloc, "memory allocation error")
00307
00308 #define LT_STS_MG2EAllocFailed 9223
00309 LT_STATUSSTRING_ADD(LT_STS_MG2EAllocFailed, "MG2 encode memory allocation failed")
00310
00311 #define LT_STS_Image_MG2E_MAX 9999
00312 LT_STATUSSTRING_ADD(LT_STS_Image_MG2E_MAX, "mg2 MAX")
00313
00314
00315 #define LT_STS_MG2LET_BEGIN 32000
00316
00317 #define LT_STS_SLT_Error 32001
00318 #define LT_STS_SLT_ExtractError 32002
00319 #define LT_STS_SLT_SidletClientZeroSupport 32005
00320 #define LT_STS_SLT_SidletClientAllDataCached 32006
00321 #define LT_STS_SLT_SidletClientExceptionCaught 32007
00322 #define LT_STS_SLT_IOError 32008
00323 #define LT_STS_SLT_ErrGenRequest 32009
00324 #define LT_STS_SLT_ErrorParsingSidletRequest 32013
00325 #define LT_STS_SLT_MessageHeaderSectionCorrupt 32014
00326 #define LT_STS_SLT_MarkerMismatchWhileParsingSidletMessage 32016
00327 #define LT_STS_SLT_UnrecognizedSidletMessageSection 32017
00328
00329 #define LT_STS_MG2LET_END 32999;
00330
00331
00332 #endif