Grok 12.0.1
|
Tile coding parameters : this structure is used to store coding/decoding parameters common to all tiles (information like COD, COC in main header) More...
#include <CodingParams.h>
Public Member Functions | |
TileCodingParams () | |
~TileCodingParams () | |
bool | advanceTilePartCounter (uint16_t tileIndex, uint8_t tilePartIndex) |
bool | copy (const TileCodingParams *rhs, const GrkImage *image) |
void | setIsHT (bool ht, bool reversible, uint8_t guardBits) |
bool | isHT (void) |
uint32_t | getNumProgressions (void) |
bool | hasPoc (void) |
Public Attributes | |
uint8_t | csty |
coding style | |
GRK_PROG_ORDER | prg |
progression order | |
uint16_t | max_layers_ |
number of layers | |
uint16_t | numLayersToDecompress |
uint8_t | mct |
multi-component transform identifier | |
double | rates [maxCompressLayersGRK] |
rates of layers | |
uint32_t | numpocs |
number of progression order changes | |
grk_progression | progressionOrderChange [GRK_J2K_MAXRLVLS] |
progression order changes | |
uint32_t | ppt_markers_count |
number of ppt markers (reserved size) | |
grk_ppx * | ppt_markers |
ppt markers data (table indexed by Zppt) | |
uint8_t * | ppt_data |
packet header store there for future use in t2_decode_packet | |
uint8_t * | ppt_buffer |
used to keep a track of the allocated memory | |
size_t | ppt_data_size |
Number of bytes stored inside ppt_data. | |
size_t | ppt_len |
size of ppt_data | |
double | distortion [maxCompressLayersGRK] |
fixed_quality | |
uint32_t | main_qcd_qntsty |
uint32_t | main_qcd_numStepSizes |
TileComponentCodingParams * | tccps |
tile-component coding parameters | |
uint8_t | tilePartCounter_ |
uint8_t | numTileParts_ |
number of tile parts for the tile. | |
SparseBuffer * | compressedTileData_ |
double * | mct_norms |
compressing norms | |
float * | mct_decoding_matrix_ |
the mct decoding matrix | |
float * | mct_coding_matrix_ |
the mct coding matrix | |
grk_mct_data * | mct_records_ |
mct records | |
uint32_t | nb_mct_records_ |
the number of mct records. | |
uint32_t | nb_max_mct_records_ |
the max number of mct records. | |
grk_simple_mcc_decorrelation_data * | mcc_records_ |
mcc records | |
uint32_t | nb_mcc_records_ |
the number of mct records. | |
uint32_t | nb_max_mcc_records_ |
the max number of mct records. | |
bool | cod |
If cod == true --> there was a COD marker for the present tile. | |
bool | ppt |
If ppt == true --> there was a PPT marker for the present tile. | |
Quantizer * | qcd_ |
Private Attributes | |
bool | ht_ |
Tile coding parameters : this structure is used to store coding/decoding parameters common to all tiles (information like COD, COC in main header)
grk::TileCodingParams::TileCodingParams | ( | ) |
References distortion, grk::grk_read(), grk::maxCompressLayersGRK, progressionOrderChange, and rates.
grk::TileCodingParams::~TileCodingParams | ( | ) |
References grk::Logger::error(), grk::grk_read(), grk::Logger::logger_, and tilePartCounter_.
bool grk::TileCodingParams::copy | ( | const TileCodingParams * | rhs, |
const GrkImage * | image ) |
References numpocs.
Referenced by grk::TileProcessor::doCompress().
References numpocs.
Referenced by grk::TileProcessor::canWritePocMarker(), and grk::CodeStreamCompress::init_header_writing().
References ht_.
Referenced by grk::CodeStreamCompress::init_header_writing(), and grk::PacketParser::readData().
References grk::grk_read(), ht_, grk::T1Factory::makeQuantizer(), and qcd_.
bool grk::TileCodingParams::cod |
If cod == true --> there was a COD marker for the present tile.
Referenced by copy().
SparseBuffer* grk::TileCodingParams::compressedTileData_ |
Referenced by ~TileCodingParams().
uint8_t grk::TileCodingParams::csty |
coding style
Referenced by grk::PacketParser::readHeader().
double grk::TileCodingParams::distortion[maxCompressLayersGRK] |
fixed_quality
Referenced by grk::TileProcessor::layerNeedsRateControl(), grk::TileProcessor::pcrdBisectSimple(), and TileCodingParams().
uint32_t grk::TileCodingParams::main_qcd_numStepSizes |
uint32_t grk::TileCodingParams::main_qcd_qntsty |
uint16_t grk::TileCodingParams::max_layers_ |
grk_simple_mcc_decorrelation_data* grk::TileCodingParams::mcc_records_ |
mcc records
Referenced by copy(), and ~TileCodingParams().
uint8_t grk::TileCodingParams::mct |
multi-component transform identifier
Referenced by grk::TileProcessor::decompressT2T1(), grk::TileProcessor::mct_encode(), grk::TileProcessor::mctDecompress(), and grk::TileProcessor::needsMctDecompress().
float* grk::TileCodingParams::mct_coding_matrix_ |
the mct coding matrix
Referenced by grk::TileProcessor::mct_encode(), and ~TileCodingParams().
float* grk::TileCodingParams::mct_decoding_matrix_ |
the mct decoding matrix
Referenced by copy(), grk::TileProcessor::mctDecompress(), grk::TileProcessor::needsMctDecompress(), and ~TileCodingParams().
double* grk::TileCodingParams::mct_norms |
compressing norms
Referenced by ~TileCodingParams().
grk_mct_data* grk::TileCodingParams::mct_records_ |
mct records
Referenced by copy(), grk::CodeStreamCompress::write_mct_data_group(), and ~TileCodingParams().
uint32_t grk::TileCodingParams::nb_max_mcc_records_ |
the max number of mct records.
Referenced by copy().
uint32_t grk::TileCodingParams::nb_max_mct_records_ |
the max number of mct records.
Referenced by copy().
uint32_t grk::TileCodingParams::nb_mcc_records_ |
the number of mct records.
uint32_t grk::TileCodingParams::nb_mct_records_ |
the number of mct records.
Referenced by ~TileCodingParams().
uint16_t grk::TileCodingParams::numLayersToDecompress |
Referenced by grk::PacketIter::init(), and grk::T2Decompress::processPacket().
uint32_t grk::TileCodingParams::numpocs |
number of progression order changes
Referenced by getNumProgressions(), hasPoc(), and grk::PacketManager::PacketManager().
uint8_t grk::TileCodingParams::numTileParts_ |
number of tile parts for the tile.
bool grk::TileCodingParams::ppt |
If ppt == true --> there was a PPT marker for the present tile.
Referenced by copy().
uint8_t* grk::TileCodingParams::ppt_buffer |
used to keep a track of the allocated memory
Referenced by ~TileCodingParams().
uint8_t* grk::TileCodingParams::ppt_data |
packet header store there for future use in t2_decode_packet
Referenced by copy().
size_t grk::TileCodingParams::ppt_data_size |
Number of bytes stored inside ppt_data.
size_t grk::TileCodingParams::ppt_len |
size of ppt_data
grk_ppx* grk::TileCodingParams::ppt_markers |
ppt markers data (table indexed by Zppt)
Referenced by ~TileCodingParams().
uint32_t grk::TileCodingParams::ppt_markers_count |
number of ppt markers (reserved size)
Referenced by ~TileCodingParams().
GRK_PROG_ORDER grk::TileCodingParams::prg |
progression order
grk_progression grk::TileCodingParams::progressionOrderChange[GRK_J2K_MAXRLVLS] |
progression order changes
Referenced by TileCodingParams().
Quantizer* grk::TileCodingParams::qcd_ |
Referenced by copy(), setIsHT(), grk::CodeStreamCompress::write_cap(), and ~TileCodingParams().
double grk::TileCodingParams::rates[maxCompressLayersGRK] |
rates of layers
Referenced by grk::TileProcessor::layerNeedsRateControl(), and TileCodingParams().
TileComponentCodingParams* grk::TileCodingParams::tccps |
tile-component coding parameters
Referenced by grk::CodeStreamCompress::compare_SPCod_SPCoc(), grk::CodeStreamCompress::compare_SQcd_SQcc(), grk::CodeStreamCompress::compressValidation(), copy(), grk::TileProcessor::dcLevelShiftCompress(), grk::TileProcessor::decompressT2T1(), grk::TileProcessor::dwt_encode(), grk::CodeStreamCompress::get_SPCod_SPCoc_size(), grk::CodeStreamCompress::get_SQcd_SQcc_size(), grk::TileProcessor::getMaxNumDecompressResolutions(), grk::CodeStreamCompress::init(), grk::TileProcessor::mct_encode(), grk::CodeStreamCompress::mct_validation(), grk::TileProcessor::mctDecompress(), grk::SIZMarker::read(), grk::CodeStreamDecompress::readHeader(), grk::CompressScheduler::scheduleBlocks(), grk::DecompressScheduler::scheduleBlocks(), grk::DecompressScheduler::scheduleWavelet(), grk::CodeStreamCompress::write_regions(), grk::CodeStreamCompress::write_SPCod_SPCoc(), grk::CodeStreamCompress::write_SQcd_SQcc(), grk::CodeStreamCompress::writePoc(), and ~TileCodingParams().
uint8_t grk::TileCodingParams::tilePartCounter_ |