31 #include "kdu_stripe_compressor.h"
33 #define MIN_STRIPE_HEIGHT 256
34 #define MAX_STRIPE_HEIGHT 8192
35 #define INCREMENTAL_FLUSH_BYTES (256 * 1024 * 1024)
82 JP2Encoder(
const QString &jp2file,
const unsigned int nsamps,
83 const unsigned int nlines,
const unsigned int nbands,
96 void Write(
unsigned char **inbuf);
99 void Write(
short int **inbuf);
103 unsigned int p_sampleDimension;
104 unsigned int p_lineDimension;
105 unsigned int p_bandDimension;
106 unsigned int p_resolutionLevels;
107 std::string p_progressionOrder;
108 unsigned int p_codeBlockSize;
111 unsigned int p_tileSizeWidth;
112 unsigned int p_tileSizeHeight;
113 std::vector<unsigned int> p_precinctSize;
114 unsigned int p_pixelBits;
115 unsigned int p_pixelBytes;
119 int *p_stripeHeights;
121 int *p_maxStripeHeights;
130 jp2_family_tgt *JP2_Stream;
131 jp2_target *JP2_Boxes;
132 kdu_codestream *JPEG2000_Codestream;
133 kdu_stripe_compressor p_compressor;