|
Grok
9.5.0
|
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 | 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 More... | |
| GRK_PROG_ORDER | prg |
| progression order More... | |
| uint16_t | numlayers |
| number of layers More... | |
| uint16_t | numLayersToDecompress |
| uint8_t | mct |
| multi-component transform identifier More... | |
| double | rates [maxCompressLayersGRK] |
| rates of layers More... | |
| uint32_t | numpocs |
| number of progression order changes More... | |
| grk_progression | progressionOrderChange [GRK_J2K_MAXRLVLS] |
| progression order changes More... | |
| uint32_t | ppt_markers_count |
| number of ppt markers (reserved size) More... | |
| grk_ppx * | ppt_markers |
| ppt markers data (table indexed by Zppt) More... | |
| uint8_t * | ppt_data |
| packet header store there for future use in t2_decode_packet More... | |
| uint8_t * | ppt_buffer |
| used to keep a track of the allocated memory More... | |
| size_t | ppt_data_size |
| Number of bytes stored inside ppt_data. More... | |
| size_t | ppt_len |
| size of ppt_data More... | |
| double | distortion [maxCompressLayersGRK] |
| fixed_quality More... | |
| uint32_t | main_qcd_qntsty |
| uint32_t | main_qcd_numStepSizes |
| TileComponentCodingParams * | tccps |
| tile-component coding parameters More... | |
| int16_t | m_tilePartIndexCounter |
| uint8_t | m_numTileParts |
| number of tile parts for the tile. More... | |
| SparseBuffer * | m_compressedTileData |
| double * | mct_norms |
| compressing norms More... | |
| float * | m_mct_decoding_matrix |
| the mct decoding matrix More... | |
| float * | m_mct_coding_matrix |
| the mct coding matrix More... | |
| grk_mct_data * | m_mct_records |
| mct records More... | |
| uint32_t | m_nb_mct_records |
| the number of mct records. More... | |
| uint32_t | m_nb_max_mct_records |
| the max number of mct records. More... | |
| grk_simple_mcc_decorrelation_data * | m_mcc_records |
| mcc records More... | |
| uint32_t | m_nb_mcc_records |
| the number of mct records. More... | |
| uint32_t | m_nb_max_mcc_records |
| the max number of mct records. More... | |
| bool | cod |
| If cod == true --> there was a COD marker for the present tile. More... | |
| bool | ppt |
| If ppt == true --> there was a PPT marker for the present tile. More... | |
| Quantizer * | m_qcd |
Private Attributes | |
| bool | m_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::maxCompressLayersGRK, progressionOrderChange, and rates.
| grk::TileCodingParams::~TileCodingParams | ( | ) |
| bool grk::TileCodingParams::copy | ( | const TileCodingParams * | rhs, |
| const GrkImage * | image | ||
| ) |
| uint32_t grk::TileCodingParams::getNumProgressions | ( | void | ) |
References numpocs.
Referenced by grk::TileProcessor::doCompress(), and grk::PacketManager::init().
| bool grk::TileCodingParams::hasPoc | ( | void | ) |
References numpocs.
Referenced by grk::TileProcessor::canWritePocMarker(), and grk::PacketManager::init().
| bool grk::TileCodingParams::isHT | ( | void | ) |
References m_ht.
Referenced by grk::T1Factory::makeT1().
| void grk::TileCodingParams::setIsHT | ( | bool | ht, |
| bool | reversible, | ||
| uint8_t | guardBits | ||
| ) |
References m_ht, m_qcd, and grk::T1Factory::makeQuantizer().
| bool grk::TileCodingParams::cod |
If cod == true --> there was a COD marker for the present tile.
Referenced by copy().
| uint8_t grk::TileCodingParams::csty |
| double grk::TileCodingParams::distortion[maxCompressLayersGRK] |
fixed_quality
Referenced by grk::TileProcessor::layerNeedsRateControl(), grk::TileProcessor::pcrdBisectSimple(), and TileCodingParams().
| SparseBuffer* grk::TileCodingParams::m_compressedTileData |
Referenced by grk::TileProcessor::decompressT2T1(), and ~TileCodingParams().
| grk_simple_mcc_decorrelation_data* grk::TileCodingParams::m_mcc_records |
mcc records
Referenced by grk::CodeStreamDecompress::add_mct(), copy(), grk::CodeStreamCompress::init_mct_encoding(), and ~TileCodingParams().
| float* grk::TileCodingParams::m_mct_coding_matrix |
the mct coding matrix
Referenced by grk::TileProcessor::mct_encode(), and ~TileCodingParams().
| float* grk::TileCodingParams::m_mct_decoding_matrix |
the mct decoding matrix
Referenced by grk::CodeStreamDecompress::add_mct(), copy(), grk::CodeStreamCompress::init_mct_encoding(), grk::TileProcessor::mctDecompress(), grk::TileProcessor::needsMctDecompress(), and ~TileCodingParams().
| grk_mct_data* grk::TileCodingParams::m_mct_records |
mct records
Referenced by copy(), grk::CodeStreamCompress::init_mct_encoding(), and ~TileCodingParams().
| uint32_t grk::TileCodingParams::m_nb_max_mcc_records |
the max number of mct records.
Referenced by copy(), and grk::CodeStreamCompress::init_mct_encoding().
| uint32_t grk::TileCodingParams::m_nb_max_mct_records |
the max number of mct records.
Referenced by copy(), and grk::CodeStreamCompress::init_mct_encoding().
| uint32_t grk::TileCodingParams::m_nb_mcc_records |
the number of mct records.
Referenced by grk::CodeStreamDecompress::add_mct(), and grk::CodeStreamCompress::init_mct_encoding().
| uint32_t grk::TileCodingParams::m_nb_mct_records |
the number of mct records.
Referenced by copy(), grk::CodeStreamCompress::init_mct_encoding(), and ~TileCodingParams().
| uint8_t grk::TileCodingParams::m_numTileParts |
number of tile parts for the tile.
Referenced by grk::TileProcessor::preCompressTile(), and grk::SOTMarker::write().
| Quantizer* grk::TileCodingParams::m_qcd |
Referenced by copy(), setIsHT(), and ~TileCodingParams().
| int16_t grk::TileCodingParams::m_tilePartIndexCounter |
Referenced by grk::CodeStreamDecompress::decompressTile().
| uint32_t grk::TileCodingParams::main_qcd_numStepSizes |
| uint32_t grk::TileCodingParams::main_qcd_qntsty |
| uint8_t grk::TileCodingParams::mct |
multi-component transform identifier
Referenced by grk::TileProcessor::dcLevelShiftDecompress(), grk::CodeStreamDecompress::dump_tile_info(), grk::CodeStreamCompress::init_mct_encoding(), grk::TileProcessor::mct_encode(), grk::TileProcessor::mctDecompress(), grk::TileProcessor::needsMctDecompress(), and grk::CodeStreamDecompress::readHeader().
| double* grk::TileCodingParams::mct_norms |
compressing norms
Referenced by ~TileCodingParams().
| uint16_t grk::TileCodingParams::numlayers |
number of layers
Referenced by grk::CodeStreamDecompress::dump_tile_info(), grk::TileProcessor::encodeT2(), grk::PacketManager::init(), grk::TileProcessor::makeSingleLosslessLayer(), grk::TileProcessor::needsRateControl(), grk::TileProcessor::pcrdBisectFeasible(), grk::TileProcessor::pcrdBisectSimple(), and grk::CodeStreamDecompress::readHeader().
| uint16_t grk::TileCodingParams::numLayersToDecompress |
Referenced by grk::PacketIter::next_lrcp(), and grk::T2Decompress::processPacket().
| uint32_t grk::TileCodingParams::numpocs |
number of progression order changes
Referenced by getNumProgressions(), and hasPoc().
| bool grk::TileCodingParams::ppt |
If ppt == true --> there was a PPT marker for the present tile.
Referenced by copy(), grk::CodeStreamDecompress::merge_ppt(), and grk::T2Decompress::readPacketHeader().
| uint8_t* grk::TileCodingParams::ppt_buffer |
used to keep a track of the allocated memory
Referenced by grk::CodeStreamDecompress::merge_ppt(), and ~TileCodingParams().
| uint8_t* grk::TileCodingParams::ppt_data |
packet header store there for future use in t2_decode_packet
Referenced by copy(), grk::CodeStreamDecompress::merge_ppt(), and grk::T2Decompress::readPacketHeader().
| size_t grk::TileCodingParams::ppt_data_size |
Number of bytes stored inside ppt_data.
Referenced by grk::CodeStreamDecompress::merge_ppt().
| size_t grk::TileCodingParams::ppt_len |
size of ppt_data
Referenced by grk::CodeStreamDecompress::merge_ppt(), and grk::T2Decompress::readPacketHeader().
| grk_ppx* grk::TileCodingParams::ppt_markers |
ppt markers data (table indexed by Zppt)
Referenced by grk::CodeStreamDecompress::merge_ppt(), and ~TileCodingParams().
| uint32_t grk::TileCodingParams::ppt_markers_count |
number of ppt markers (reserved size)
Referenced by grk::CodeStreamDecompress::merge_ppt(), and ~TileCodingParams().
| GRK_PROG_ORDER grk::TileCodingParams::prg |
progression order
Referenced by grk::CodeStreamDecompress::dump_tile_info(), and grk::PacketManager::init().
| grk_progression grk::TileCodingParams::progressionOrderChange[GRK_J2K_MAXRLVLS] |
progression order changes
Referenced by grk::PacketManager::init(), TileCodingParams(), and grk::PacketManager::updateCompressTcpProgressions().
| double grk::TileCodingParams::rates[maxCompressLayersGRK] |
rates of layers
Referenced by grk::TileProcessor::layerNeedsRateControl(), grk::TileProcessor::pcrdBisectSimple(), and TileCodingParams().
| TileComponentCodingParams* grk::TileCodingParams::tccps |
tile-component coding parameters
Referenced by grk::CodeStreamDecompress::add_mct(), copy(), grk::TileProcessor::dcLevelShiftCompress(), grk::TileProcessor::dcLevelShiftDecompress(), grk::TileProcessor::decompressT1(), grk::CodeStreamDecompress::dump_tile_info(), grk::TileProcessor::dwt_encode(), grk::PacketManager::getParams(), grk::CodeStreamCompress::init_mct_encoding(), grk::CodeStreamCompress::initCompress(), grk::TileProcessor::mct_encode(), grk::CodeStreamCompress::mct_validation(), grk::TileProcessor::mctDecompress(), grk::SIZMarker::read(), grk::CodeStreamDecompress::readHeader(), grk::T2Decompress::readPacketHeader(), grk::T1CompressScheduler::scheduleCompress(), and ~TileCodingParams().