MrSID Decode SDK for Raster Reference Manual 9.5.5.5244
MrSIDImageStageManager.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 __MRSID_IMAGE_STAGE_MANAGER_H__
9#define __MRSID_IMAGE_STAGE_MANAGER_H__
10
11// lt_lib_mrsid_core
14
15LT_BEGIN_LIZARDTECH_NAMESPACE
16
17class MG3Container;
18class MG3SingleImageReader;
19class MG4SingleImageReader;
20class MG2ImageReader;
21
23{
25public:
36
47
48 // LTIImageStageManager overrides
50 LTIImageStage *&imageStage) final;
52
54 MrSIDSingleImageReaderBase *&imageStage);
56
58 lt_uint8& tweak, char& letter) const;
59
60 void setMaxWorkerThreads(int numThreads);
61 int getMaxWorkerThreads(void) const;
62
63 // for LizardTech internal use only
65 // for LizardTech internal use only
67
68 // for LizardTech internal use only
69 bool hasMG2Tiles(void) const;
70 // for LizardTech internal use only
71 bool hasMG3Tiles(void) const;
72 // for LizardTech internal use only
73 bool hasMG4Tiles(void) const;
74 // for LizardTech internal use only
75 bool isOptimizable(void) const;
76 // for LizardTech internal use only
77 bool hasOverviewImage(void) const;
78
79 // for LizardTech internal use only
84 {
88 };
89
90 // for LizardTech internal use only
91 struct TileInfo
92 {
93 //lt_uint32 imageNumber;
96
100
102 //LTIGeoCoord geoCoord;
103 };
104
105 // for LizardTech internal use only
106 const TileInfo *getTileInfo(lt_uint32 index) const;
107 // for LizardTech internal use only
108 const TileInfo *getOverviewInfo() const;
109 // for LizardTech internal use only
111
112 // for LizardTech internal use only
113 const MG3Container *getContainer(void) const;
114
115 // for LizardTech internal use only
116 void treatMG3asMG4(void);
117protected:
119 MrSIDMemoryUsage memoryUsage,
120 MrSIDStreamUsage streamUsage);
121
124 MG2ImageReader *&mg2Reader);
126 MG3SingleImageReader *&mg3Reader);
128 MG4SingleImageReader *&mg4Reader);
129
132
139 MG3Container *m_container;
146};
147
148
149LT_END_LIZARDTECH_NAMESPACE
150
151
152#endif // __MRSID_IMAGE_STAGE_MANAGER_H__
#define LTI_REFERENCE_COUNTED_BOILERPLATE(classname)
lt_uint32 LT_STATUS
An integral status code.
Definition: lt_status.h:30
unsigned char lt_uint8
unsigned 8-bit integer
Definition: lt_types.h:36
unsigned int lt_uint32
unsigned 32-bit integer
Definition: lt_types.h:44
MrSIDStreamUsage
@ MRSID_STREAM_USAGE_DEFAULT
MrSIDMemoryUsage
@ MRSID_MEMORY_USAGE_DEFAULT
Represents a file or directory path.
Definition: lt_fileSpec.h:35
Abstract definition of a stream.
abstract class for decoding from an image
abstract class for managing a list of image stages
virtual LT_STATUS createMG4Reader(lt_uint32 imageNumber, MG4SingleImageReader *&mg4Reader)
const TileInfo * getTileInfo(lt_uint32 index) const
virtual LT_STATUS updateMemoryModel()
MrSIDMemoryUsage getMemoryUsage(void) const
LT_STATUS createImageStage(lt_uint32 imageNumber, MrSIDSingleImageReaderBase *&imageStage)
const TileInfo * getOverviewInfo() const
LT_STATUS createImageStage(lt_uint32 imageNumber, LTIImageStage *&imageStage) final
create an image stage
LT_STATUS createOverviewImageStage(MrSIDSingleImageReaderBase *&imageStage)
bool hasOverviewImage(void) const
LT_STATUS initialize(LTIOStreamInf *stream, MrSIDMemoryUsage memoryUsage=MRSID_MEMORY_USAGE_DEFAULT, MrSIDStreamUsage streamUsage=MRSID_STREAM_USAGE_DEFAULT)
initializer
const MG3Container * getContainer(void) const
int getMaxWorkerThreads(void) const
bool hasMG2Tiles(void) const
CompositeImageType
file format type of image tile
bool hasMG3Tiles(void) const
MrSIDStreamUsage getStreamUsage(void) const
LT_STATUS init(lt_uint32 numImages, MrSIDMemoryUsage memoryUsage, MrSIDStreamUsage streamUsage)
bool hasMG4Tiles(void) const
virtual LT_STATUS createMG3Reader(lt_uint32 imageNumber, MG3SingleImageReader *&mg3Reader)
LT_STATUS createOverviewImageStage(LTIImageStage *&imageStage) final
create an image stage that can be used as an overview of all other images.
virtual LT_STATUS createMG2Reader(lt_uint32 imageNumber, MG2ImageReader *&mg2Reader)
lt_uint32 findTileId(lt_uint32 id) const
void setMaxWorkerThreads(int numThreads)
LT_STATUS initialize(const LTFileSpec &fileSpec, MrSIDMemoryUsage memoryUsage=MRSID_MEMORY_USAGE_DEFAULT, MrSIDStreamUsage streamUsage=MRSID_STREAM_USAGE_DEFAULT)
initializer
bool isOptimizable(void) const
LT_STATUS getMrSIDVersion(lt_uint8 &major, lt_uint8 &minor, lt_uint8 &tweak, char &letter) const

Extensis