Grok 10.0.5
|
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 <TileCache.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) |
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 | numlayers |
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::maxCompressLayersGRK, progressionOrderChange, and rates.
grk::TileCodingParams::~TileCodingParams | ( | ) |
grk::grk::TileCodingParams::TileCodingParams | ( | ) |
grk::grk::TileCodingParams::~TileCodingParams | ( | ) |
bool grk::TileCodingParams::advanceTilePartCounter | ( | uint16_t | tileIndex, |
uint8_t | tilePartIndex ) |
References grk::GRK_ERROR(), and tilePartCounter_.
bool grk::grk::TileCodingParams::advanceTilePartCounter | ( | uint16_t | tileIndex, |
uint8_t | tilePartIndex ) |
bool grk::TileCodingParams::copy | ( | const TileCodingParams * | rhs, |
const GrkImage * | image ) |
References cod, grk::grk_malloc(), image, mcc_records_, mcc_records_, mct_decoding_matrix_, mct_decoding_matrix_, mct_records_, mct_records_, nb_max_mcc_records_, nb_max_mcc_records_, nb_max_mct_records_, nb_max_mct_records_, nb_mct_records_, grk::_grk_image::numcomps, offset, ppt, ppt_data, qcd_, tccps, and tccps.
bool grk::grk::TileCodingParams::copy | ( | const TileCodingParams * | rhs, |
const GrkImage * | image ) |
uint32_t grk::TileCodingParams::getNumProgressions | ( | void | ) |
References numpocs.
uint32_t grk::grk::TileCodingParams::getNumProgressions | ( | void | ) |
bool grk::TileCodingParams::hasPoc | ( | void | ) |
References numpocs.
Referenced by grk::grk::PacketIter::init().
bool grk::grk::TileCodingParams::hasPoc | ( | void | ) |
bool grk::TileCodingParams::isHT | ( | void | ) |
References ht_.
Referenced by grk::grk::T1Factory::makeT1().
bool grk::grk::TileCodingParams::isHT | ( | void | ) |
void grk::TileCodingParams::setIsHT | ( | bool | ht, |
bool | reversible, | ||
uint8_t | guardBits ) |
void grk::grk::TileCodingParams::setIsHT | ( | bool | ht, |
bool | reversible, | ||
uint8_t | guardBits ) |
bool grk::grk::TileCodingParams::cod |
If cod == true --> there was a COD marker for the present tile.
SparseBuffer * grk::grk::TileCodingParams::compressedTileData_ |
uint8_t grk::TileCodingParams::csty |
coding style
Referenced by grk::grk::T2Compress::compressPacket(), grk::grk::T2Compress::compressPacketSimulate(), and grk::grk::CodeStreamDecompress::dump_tile_info().
double grk::grk::TileCodingParams::distortion |
fixed_quality
|
private |
uint32_t grk::grk::TileCodingParams::main_qcd_numStepSizes |
uint32_t grk::grk::TileCodingParams::main_qcd_qntsty |
grk_simple_mcc_decorrelation_data * grk::grk::TileCodingParams::mcc_records_ |
mcc records
Referenced by grk::grk::CodeStreamDecompress::add_mct(), copy(), and grk::grk::CodeStreamCompress::init_mct_encoding().
uint8_t grk::grk::TileCodingParams::mct |
multi-component transform identifier
Referenced by grk::grk::CodeStreamDecompress::dump_tile_info(), and grk::grk::CodeStreamCompress::init_mct_encoding().
float * grk::grk::TileCodingParams::mct_coding_matrix_ |
the mct coding matrix
float * grk::grk::TileCodingParams::mct_decoding_matrix_ |
the mct decoding matrix
Referenced by grk::grk::CodeStreamDecompress::add_mct(), copy(), and grk::grk::CodeStreamCompress::init_mct_encoding().
double * grk::grk::TileCodingParams::mct_norms |
compressing norms
grk_mct_data * grk::grk::TileCodingParams::mct_records_ |
mct records
Referenced by copy(), and grk::grk::CodeStreamCompress::init_mct_encoding().
uint32_t grk::grk::TileCodingParams::nb_max_mcc_records_ |
the max number of mct records.
Referenced by copy(), and grk::grk::CodeStreamCompress::init_mct_encoding().
uint32_t grk::grk::TileCodingParams::nb_max_mct_records_ |
the max number of mct records.
Referenced by copy(), and grk::grk::CodeStreamCompress::init_mct_encoding().
uint32_t grk::grk::TileCodingParams::nb_mcc_records_ |
the number of mct records.
Referenced by grk::grk::CodeStreamDecompress::add_mct(), and grk::grk::CodeStreamCompress::init_mct_encoding().
uint32_t grk::grk::TileCodingParams::nb_mct_records_ |
the number of mct records.
Referenced by copy(), and grk::grk::CodeStreamCompress::init_mct_encoding().
uint16_t grk::grk::TileCodingParams::numlayers |
number of layers
Referenced by grk::grk::CodeStreamDecompress::dump_tile_info(), and grk::grk::PacketIter::init().
uint16_t grk::grk::TileCodingParams::numLayersToDecompress |
uint32_t grk::grk::TileCodingParams::numpocs |
number of progression order changes
uint8_t grk::grk::TileCodingParams::numTileParts_ |
number of tile parts for the tile.
Referenced by grk::grk::SOTMarker::write().
bool grk::grk::TileCodingParams::ppt |
If ppt == true --> there was a PPT marker for the present tile.
Referenced by grk::grk::CodeStreamDecompress::merge_ppt().
uint8_t * grk::grk::TileCodingParams::ppt_buffer |
used to keep a track of the allocated memory
Referenced by grk::grk::CodeStreamDecompress::merge_ppt().
uint8_t * grk::grk::TileCodingParams::ppt_data |
packet header store there for future use in t2_decode_packet
Referenced by grk::grk::CodeStreamDecompress::merge_ppt().
size_t grk::grk::TileCodingParams::ppt_data_size |
Number of bytes stored inside ppt_data.
Referenced by grk::grk::CodeStreamDecompress::merge_ppt().
size_t grk::grk::TileCodingParams::ppt_len |
size of ppt_data
Referenced by grk::grk::CodeStreamDecompress::merge_ppt().
grk_ppx * grk::grk::TileCodingParams::ppt_markers |
ppt markers data (table indexed by Zppt)
Referenced by grk::grk::CodeStreamDecompress::merge_ppt().
uint32_t grk::grk::TileCodingParams::ppt_markers_count |
number of ppt markers (reserved size)
Referenced by grk::grk::CodeStreamDecompress::merge_ppt().
GRK_PROG_ORDER grk::grk::TileCodingParams::prg |
progression order
Referenced by grk::grk::CodeStreamDecompress::dump_tile_info(), and grk::grk::PacketIter::init().
grk_progression grk::grk::TileCodingParams::progressionOrderChange |
progression order changes
Referenced by grk::grk::PacketIter::checkForRemainingValidProgression(), and grk::grk::PacketIter::init().
Quantizer * grk::grk::TileCodingParams::qcd_ |
double grk::grk::TileCodingParams::rates |
rates of layers
TileComponentCodingParams * grk::grk::TileCodingParams::tccps |
tile-component coding parameters
Referenced by grk::grk::CodeStreamDecompress::add_mct(), copy(), grk::grk::CodeStreamDecompress::dump_tile_info(), grk::grk::PacketIter::init(), grk::grk::CodeStreamCompress::init_mct_encoding(), and grk::grk::SIZMarker::read().
uint8_t grk::grk::TileCodingParams::tilePartCounter_ |