MrSID Decode SDK for Raster Reference Manual  9.5.4.4709
mg2_status.h
Go to the documentation of this file.
00001 /* $Id$ */
00002 /* //////////////////////////////////////////////////////////////////////////
00003 //                                                                         //
00004 // This code is Copyright (c) 2005 LizardTech, Inc, 1008 Western Avenue,   //
00005 // Suite 200, Seattle, WA 98104.  Unauthorized use or distribution         //
00006 // prohibited.  Access to and use of this code is permitted only under     //
00007 // license from LizardTech, Inc.  Portions of the code are protected by    //
00008 // US and foreign patents and other filings. All Rights Reserved.          //
00009 //                                                                         //
00011 /* PUBLIC */
00012 
00013 #ifndef MG2_STATUS_H
00014 #define MG2_STATUS_H
00015 
00016 // lt_lib_base
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 #define LT_STS_MG2_badBlockSupport                    8119
00154 LT_STATUSSTRING_ADD(LT_STS_MG2_badBlockSupport, "block suport is larger than the subband")
00155 
00156 #define MG2D_STATUS_MAX                               8999
00157 LT_STATUSSTRING_ADD(MG2D_STATUS_MAX, "mg2d MAX")
00158 
00159 
00160 #define LT_STS_Image_MG2E_BASE                  9000
00161 LT_STATUSSTRING_ADD(LT_STS_Image_MG2E_BASE, "mg2e BASE")
00162 
00163 #define LT_STS_MG2EError1SInitSub               9001
00164 LT_STATUSSTRING_ADD(LT_STS_MG2EError1SInitSub, "mg2 Error1SInitSub")
00165 
00166 #define LT_STS_MG2EErrorBlockSmallGivenNlev     9002
00167 LT_STATUSSTRING_ADD(LT_STS_MG2EErrorBlockSmallGivenNlev, "block size too small for given scale")
00168 
00169 #define LT_STS_MG2EError1ZeroOverlapSub         9003
00170 LT_STATUSSTRING_ADD(LT_STS_MG2EError1ZeroOverlapSub, "mg2 Error1ZeroOverlapSub")
00171 
00172 #define LT_STS_MG2EError1PurgeBorderSub         9004
00173 LT_STATUSSTRING_ADD(LT_STS_MG2EError1PurgeBorderSub, "mg2 Error1PurgeBorderSub")
00174 
00175 #define LT_STS_MG2EError1CopyDataToBordersSub   9005
00176 LT_STATUSSTRING_ADD(LT_STS_MG2EError1CopyDataToBordersSub, "mg2 Error1CopyDataToBordersSub")
00177 
00178 #define LT_STS_MG2EError2PurgeBorderSub         9006
00179 LT_STATUSSTRING_ADD(LT_STS_MG2EError2PurgeBorderSub, "mg2 Error2PurgeBorderSub")
00180 
00181 #define LT_STS_MG2EErrorSetOverlap              9007
00182 LT_STATUSSTRING_ADD(LT_STS_MG2EErrorSetOverlap, "mg2 ErrorSetOverlap")
00183 
00184 #define LT_STS_MG2EErrorSubbandSplit            9008
00185 LT_STATUSSTRING_ADD(LT_STS_MG2EErrorSubbandSplit, "mg2 ErrorSubbandSplit")
00186 
00187 // 9009 unused
00188 
00189 #define LT_STS_MG2EUnknownException             9010
00190 LT_STATUSSTRING_ADD(LT_STS_MG2EUnknownException, "mg2 UnknownException")
00191 
00192 #define LT_STS_MG2ENlevLessEqual9               9011
00193 LT_STATUSSTRING_ADD(LT_STS_MG2ENlevLessEqual9, "scale too large")
00194 
00195 #define LT_STS_MG2EImageSmallGivenNLev          9012
00196 LT_STATUSSTRING_ADD(LT_STS_MG2EImageSmallGivenNLev, "scale too small")
00197 
00198 #define LT_STS_MG2EErrorMaxIconSize             9013
00199 LT_STATUSSTRING_ADD(LT_STS_MG2EErrorMaxIconSize, "mg2 icon size error")
00200 
00201 #define LT_STS_MG2EMemAlloc                     9014
00202 LT_STATUSSTRING_ADD(LT_STS_MG2EMemAlloc, "mg2 mem alloc error")
00203 
00204 #define LT_STS_MG2EErrorOpenOutputFile          9015
00205 LT_STATUSSTRING_ADD(LT_STS_MG2EErrorOpenOutputFile, "error opening output file")
00206 
00207 #define LT_STS_MG2EErrorWriteOutputFile         9016
00208 LT_STATUSSTRING_ADD(LT_STS_MG2EErrorWriteOutputFile, "error writing output file")
00209 
00210 #define LT_STS_MG2ETempFileError                9017
00211 LT_STATUSSTRING_ADD(LT_STS_MG2ETempFileError, "temp file error (%F)")
00212 
00213 #define LT_STS_MG2ETempDirError                 9018
00214 LT_STATUSSTRING_ADD(LT_STS_MG2ETempDirError, "temp dir error")
00215 
00216 #define LT_STS_MG2EBlockSmallGivenNlev          9019
00217 LT_STATUSSTRING_ADD(LT_STS_MG2EBlockSmallGivenNlev, "block size too small for scale")
00218 
00219 #define LT_STS_MG2EIllegalSampleType            9020
00220 LT_STATUSSTRING_ADD(LT_STS_MG2EIllegalSampleType, "illegal sample type")
00221 
00222 #define LT_STS_MG2EInterrupt                    9021
00223 LT_STATUSSTRING_ADD(LT_STS_MG2EInterrupt, "mg2 interrupt")
00224 
00225 #define LT_STS_MG2EWriteErrorCheckTempDir       9022
00226 LT_STATUSSTRING_ADD(LT_STS_MG2EWriteErrorCheckTempDir, "temp dir write error")
00227 
00228 #define LT_STS_MG2EFileOffsetErrorDecodeIndices 9023
00229 LT_STATUSSTRING_ADD(LT_STS_MG2EFileOffsetErrorDecodeIndices, "mg2 FileOffsetErrorDecodeIndices")
00230 
00231 #define LT_STS_MG2EInvalidLockingKey            9024
00232 LT_STATUSSTRING_ADD(LT_STS_MG2EInvalidLockingKey, "Invalid key")
00233 
00234 #define LT_STS_MG2EInvalidLockingPassword       9025
00235 LT_STATUSSTRING_ADD(LT_STS_MG2EInvalidLockingPassword, "Invalid password")
00236 
00237 #define LT_STS_RFIInvalid                       9100
00238 LT_STATUSSTRING_ADD(LT_STS_RFIInvalid, "RFI invalid error")
00239 
00240 
00241 #define LT_STS_MG2E_TableGen_MemAlloc           9200
00242 LT_STATUSSTRING_ADD(LT_STS_MG2E_TableGen_MemAlloc, "memory allocation error")
00243 
00244 #define LT_STS_MG2E_Subband_MemAlloc            9201
00245 LT_STATUSSTRING_ADD(LT_STS_MG2E_Subband_MemAlloc, "memory allocation error")
00246 
00247 #define LT_STS_MG2E_SetOverlap_MemAlloc         9202
00248 LT_STATUSSTRING_ADD(LT_STS_MG2E_SetOverlap_MemAlloc, "memory allocation error")
00249 
00250 #define LT_STS_MG2E_IconBitRate_MemAlloc        9203
00251 LT_STATUSSTRING_ADD(LT_STS_MG2E_IconBitRate_MemAlloc, "memory allocation error")
00252 
00253 #define LT_STS_MG2E_CreateTempFile              9204
00254 LT_STATUSSTRING_ADD(LT_STS_MG2E_CreateTempFile, "cannot create temp file")
00255 
00256 #define LT_STS_MG2E_TempName_MemAlloc           9205
00257 LT_STATUSSTRING_ADD(LT_STS_MG2E_TempName_MemAlloc, "memory allocation error")
00258 
00259 #define LT_STS_MG2E_ArchUtils_MemAlloc          9206
00260 LT_STATUSSTRING_ADD(LT_STS_MG2E_ArchUtils_MemAlloc, "memory allocation error")
00261 
00262 #define LT_STS_MG2E_Dump_MemAlloc               9207
00263 LT_STATUSSTRING_ADD(LT_STS_MG2E_Dump_MemAlloc, "memory allocation error")
00264 
00265 #define LT_STS_MG2E_BlkNode_MemAlloc            9208
00266 LT_STATUSSTRING_ADD(LT_STS_MG2E_BlkNode_MemAlloc, "memory allocation error")
00267 
00268 #define LT_STS_MG2E_Convert_MemAlloc            9209
00269 LT_STATUSSTRING_ADD(LT_STS_MG2E_Convert_MemAlloc, "memory allocation error")
00270 
00271 #define LT_STS_MG2E_HuffD_MemAlloc              9210
00272 LT_STATUSSTRING_ADD(LT_STS_MG2E_HuffD_MemAlloc, "memory allocation error")
00273 
00274 #define LT_STS_MG2E_HuffE_MemAlloc              9211
00275 LT_STATUSSTRING_ADD(LT_STS_MG2E_HuffE_MemAlloc, "memory allocation error")
00276 
00277 #define LT_STS_MG2E_HuffE2_MemAlloc             9212
00278 LT_STATUSSTRING_ADD(LT_STS_MG2E_HuffE2_MemAlloc, "memory allocation error")
00279 
00280 #define LT_STS_MG2E_OutIcon_MemAlloc            9213
00281 LT_STATUSSTRING_ADD(LT_STS_MG2E_OutIcon_MemAlloc, "memory allocation error")
00282 
00283 #define LT_STS_MG2E_Purge_MemAlloc              9214
00284 LT_STATUSSTRING_ADD(LT_STS_MG2E_Purge_MemAlloc, "memory allocation error")
00285 
00286 #define LT_STS_MG2E_QGen_MemAlloc               9215
00287 LT_STATUSSTRING_ADD(LT_STS_MG2E_QGen_MemAlloc, "memory allocation error")
00288 
00289 #define LT_STS_MG2E_SQ_MemAlloc                 9216
00290 LT_STATUSSTRING_ADD(LT_STS_MG2E_SQ_MemAlloc, "memory allocation error")
00291 
00292 #define LT_STS_MG2E_SbInit_MemAlloc             9217
00293 LT_STATUSSTRING_ADD(LT_STS_MG2E_SbInit_MemAlloc, "memory allocation error")
00294 
00295 #define LT_STS_MG2E_TDWTQ_MemAlloc              9218
00296 LT_STATUSSTRING_ADD(LT_STS_MG2E_TDWTQ_MemAlloc, "memory allocation error")
00297 
00298 #define LT_STS_MG2E_TDWTQ_ColorSpace            9219
00299 LT_STATUSSTRING_ADD(LT_STS_MG2E_TDWTQ_ColorSpace, "invalid colorspace")
00300 
00301 #define LT_STS_MG2E_Convert_ReadError           9220
00302 LT_STATUSSTRING_ADD(LT_STS_MG2E_Convert_ReadError, "internal mg2 read error")
00303 
00304 #define LT_STS_MG2E_HuffD_ReadError             9221
00305 LT_STATUSSTRING_ADD(LT_STS_MG2E_HuffD_ReadError, "internal mg2 read error")
00306 
00307 #define LT_STS_MG2E_Split_MemAlloc              9222
00308 LT_STATUSSTRING_ADD(LT_STS_MG2E_Split_MemAlloc, "memory allocation error")
00309 
00310 #define LT_STS_MG2EAllocFailed                  9223
00311 LT_STATUSSTRING_ADD(LT_STS_MG2EAllocFailed, "MG2 encode memory allocation failed")
00312 
00313 #define LT_STS_Image_MG2E_MAX                   9999
00314 LT_STATUSSTRING_ADD(LT_STS_Image_MG2E_MAX, "mg2 MAX")
00315 
00316 
00317 #define LT_STS_MG2LET_BEGIN                  32000 
00318 
00319 #define LT_STS_SLT_Error                     32001
00320 #define LT_STS_SLT_ExtractError              32002 
00321 #define LT_STS_SLT_SidletClientZeroSupport   32005
00322 #define LT_STS_SLT_SidletClientAllDataCached 32006
00323 #define LT_STS_SLT_SidletClientExceptionCaught 32007
00324 #define LT_STS_SLT_IOError                   32008
00325 #define LT_STS_SLT_ErrGenRequest             32009
00326 #define LT_STS_SLT_ErrorParsingSidletRequest 32013
00327 #define LT_STS_SLT_MessageHeaderSectionCorrupt              32014
00328 #define LT_STS_SLT_MarkerMismatchWhileParsingSidletMessage  32016
00329 #define LT_STS_SLT_UnrecognizedSidletMessageSection         32017
00330 
00331 #define LT_STS_MG2LET_END 32999;
00332 
00333 
00334 #endif /* MG2_STATUS_H */