15#include "kdu_stripe_compressor.h" 
   18#define MIN_STRIPE_HEIGHT 256 
   19#define MAX_STRIPE_HEIGHT 8192 
   20#define INCREMENTAL_FLUSH_BYTES                         (256 * 1024 * 1024) 
   69      JP2Encoder(
const QString &jp2file, 
const unsigned int nsamps,
 
   70                 const unsigned int nlines, 
const unsigned int nbands,
 
   83      void Write(
unsigned char **inbuf);
 
   86      void Write(
short int **inbuf);
 
   95      unsigned int p_sampleDimension;  
 
   96      unsigned int p_lineDimension;    
 
   97      unsigned int p_bandDimension;    
 
   98      unsigned int p_resolutionLevels; 
 
   99      unsigned int p_codeBlockSize;    
 
  102      unsigned int p_tileSizeWidth;    
 
  103      unsigned int p_tileSizeHeight;   
 
  104      unsigned int p_pixelBits;        
 
  105      unsigned int p_pixelBytes;       
 
  109      int *p_stripeHeights;            
 
  111      int *p_maxStripeHeights;         
 
  118      kdu_supp::jp2_family_tgt *JP2_Stream;      
 
  119      kdu_supp::jp2_target *JP2_Boxes;           
 
  120      kdu_core::kdu_codestream *JPEG2000_Codestream; 
 
  121      kdu_supp::kdu_stripe_compressor p_compressor;  
 
 
std::vector< unsigned int > p_precinctSize
Precinct size(s) used to create output file.
QString p_jp2File
Output file name.
~JP2Encoder()
JP2Encoder destructor.
void OpenFile()
Open the JPEG2000 file and initialize it.
JP2Encoder(const QString &jp2file, const unsigned int nsamps, const unsigned int nlines, const unsigned int nbands, const Isis::PixelType type)
Constructs a JPEG2000 encoder object.
void Write(unsigned char **inbuf)
Write 8-bit data to JP2 file.
std::string p_progressionOrder
Progression order used to create output file.
JP2Error * Kakadu_Error
JP2 Error handling facility.
Kakadu error messaging class.
This is free and unencumbered software released into the public domain.
PixelType
Enumerations for Isis Pixel Types.