14 #ifndef GDCMJPEG2000CODEC_H
15 #define GDCMJPEG2000CODEC_H
22 class JPEG2000Internals;
48 void SetRate(
unsigned int idx,
double rate);
49 double GetRate(
unsigned int idx = 0)
const;
51 void SetQuality(
unsigned int idx,
double q);
52 double GetQuality(
unsigned int idx = 0)
const;
54 void SetTileSize(
unsigned int tx,
unsigned int ty);
56 void SetNumberOfResolutions(
unsigned int nres);
58 void SetReversible(
bool res);
63 unsigned int xmin,
unsigned int xmax,
64 unsigned int ymin,
unsigned int ymax,
65 unsigned int zmin,
unsigned int zmax,
69 bool DecodeByStreams(std::istream &is, std::ostream &os);
71 std::pair<char *, size_t> DecodeByStreamsCommon(
char *dummy_buffer,
size_t buf_size);
72 bool GetHeaderInfo(
const char * dummy_buffer,
size_t len,
TransferSyntax &ts);
73 JPEG2000Internals *Internals;
78 #endif //GDCMJPEG2000CODEC_H