8#ifndef MRSIDIMAGEREADERBASE_H
9#define MRSIDIMAGEREADERBASE_H
15LT_BEGIN_LIZARDTECH_NAMESPACE
18#ifdef LT_SUPPORT_ENCRYPTED_MRSIDS
94#ifdef LT_SUPPORT_ENCRYPTED_MRSIDS
235 lt_uint8& tweak,
char& letter)
const;
255#ifdef LT_SUPPORT_ENCRYPTED_MRSIDS
280LT_END_LIZARDTECH_NAMESPACE
This file contains a number of enums, typedefs, etc, that are used throughout the MrSID SDK.
lt_uint32 LT_STATUS
An integral status code.
lt_uint8 lt_utf8
signed 8-bit integer
unsigned char lt_uint8
unsigned 8-bit integer
unsigned int lt_uint32
unsigned 32-bit integer
long long int lt_int64
signed 64-bit integer
@ MRSID_STREAM_USAGE_DEFAULT
@ MRSID_STREAM_USAGE_INVALID
@ MRSID_STREAM_USAGE_KEEPOPEN
@ MRSID_STREAM_USAGE_KEEPCLOSED
@ MRSID_MEMORY_USAGE_INVALID
@ MRSID_MEMORY_USAGE_DEFAULT
@ MRSID_MEMORY_USAGE_MEDIUM
@ MRSID_MEMORY_USAGE_LARGE
@ MRSID_MEMORY_USAGE_SMALL
Represents a file or directory path.
Abstract definition of a stream.
represents a geographic coordinate
abstract class for implementing a geo image reader
class for storing metadata associated with an image
representation of a scene
base class for MrSID image readers
static LT_STATUS getGeoCoordFromMetadata(LTIMetadataDatabase &metadata, LTIGeoCoord &geoCoord, bool &hasGeo)
virtual int getMaxWorkerThreads() const =0
get the maximum number of worker threads
virtual bool isLocked() const =0
image encryption query
MrSIDStreamUsage m_streamUsage
MrSIDImageReaderInterface()
virtual void setMaxWorkerThreads(int numThreads)=0
set the maximum number of worker threads
static LT_STATUS getMrSIDGeneration(const lt_uint8 version[8], lt_uint8 &gen, bool &raster)
get MrSID generation
void setPasswordDelegate(MrSIDPasswordDelegate *passwordDelegate)
set password handler
static LTIOStreamInf * openWorldFileStream(const LTFileSpec &fileSpec, bool useWorldFile)
static LT_STATUS getMrSIDGeneration(const LTFileSpec &fileSpec, lt_uint8 &gen, bool &raster)
get MrSID generation
static LT_STATUS getMrSIDGeneration(LTIOStreamInf &stream, lt_uint8 &gen, bool &raster)
get MrSID generation
LT_STATUS getMrSIDVersion(lt_uint8 &major, lt_uint8 &minor, lt_uint8 &tweak, char &letter) const
get MrSID image version (for LizardTech internal use only)
LT_STATUS init(MrSIDMemoryUsage memoryUsage, MrSIDStreamUsage streamUsage, const lt_uint8 preamble[8])
virtual ~MrSIDImageReaderInterface()
virtual lt_uint8 getNumLevels() const =0
get number of resolution levels
MrSIDMemoryUsage m_memoryUsage
void setPassword(const lt_utf8 *password)
set password handler
LT_STATUS getMrSIDGeneration(lt_uint8 &gen, bool &raster) const
get MrSID generation
LT_STATUS init(MrSIDImageStageManager *manager)
MrSIDImageStageManager * m_manager
MrSIDSingleImageReaderBase(bool supportBandSelection)
virtual lt_int64 getEncodingCost(const LTIScene &scene) const
get the cost to encode this scene
~MrSIDSingleImageReaderBase(void)
virtual lt_uint32 getModifications(const LTIScene &scene) const
get the modification bitfield for this image
delegate for locked MrSID images
simple concrete delegate for locked MrSID images