13 #ifndef J2KIMAGEREADER_H
14 #define J2KIMAGEREADER_H
22 #if defined(LT_COMPILER_MS)
23 #pragma warning(push,4)
31 class Jpeg2000ReaderManager;
32 class Jpeg2000ReaderSource;
33 class Jpeg2000ReaderStreamSource;
82 LT_STATUS initialize(
const LTFileSpec& fileSpec,
83 bool isPersistent =
true,
85 bool useWorldFile =
true);
101 LT_STATUS initialize(LTIOStreamInf &stream,
102 bool isPersistent =
true,
103 float maxBpp = -1.0f,
104 bool useWorldFile =
true);
123 lt_uint32 getParameter_Precision()
const;
124 lt_uint32 getParameter_MinPrecision()
const;
125 lt_uint32 getParameter_MaxPrecision()
const;
126 lt_uint32 getParameter_DefaultPrecision()
const;
146 lt_uint32 getParameter_MinLayers()
const;
147 lt_uint32 getParameter_MaxLayers()
const;
148 lt_uint32 getParameter_DefaultLayers()
const;
161 void getParameter_TileSize(
int& width,
int& height)
const;
174 void getParameter_Precincts(
const int*& widths,
176 int& numPrecincts)
const;
195 void getParameter_CodeblockSize(
int& width,
int& height)
const;
207 bool getParameter_Wavelet97()
const;
217 bool getParameter_UsingYCbCr()
const;
244 LT_STATUS writeProfile(
const LTFileSpec& file)
const;
247 Jpeg2000ReaderSource& getReaderSouce()
const;
255 virtual lt_int64 getEncodingCost(
const LTIScene& scene)
const;
265 Jpeg2000ReaderManager* m_manager;
266 Jpeg2000ReaderStreamSource* m_source;
276 #if defined(LT_COMPILER_MS)
280 #endif // J2KIMAGEREADER_H
representation of a scene
image reader for JPEG 2000 images
Represents a file or directory path.
#define LT_END_NAMESPACE(theNameSpace)
compiler does not support namespaces
lt_uint32 LT_STATUS
An integral status code.
abstract class for implementing an image transform
Abstract definition of a stream.
J2KProgressionOrder
constants used to define progression orders
#define LT_BEGIN_NAMESPACE(theNameSpace)
compiler does not support namespaces
#define LTI_REFERENCE_COUNTED_BOILERPLATE(classname)
unsigned int lt_uint32
unsigned 32-bit integer
unsigned char lt_uint8
unsigned 8-bit integer