Grok
7.6.2
|
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 () | |
void | destroy () |
Public Attributes | |
uint8_t | csty |
coding style More... | |
GRK_PROG_ORDER | prg |
progression order More... | |
uint16_t | numlayers |
number of layers More... | |
uint16_t | num_layers_to_decompress |
uint8_t | mct |
multi-component transform identifier More... | |
double | rates [100] |
rates of layers More... | |
uint32_t | numpocs |
number of progression order changes More... | |
grk_poc | pocs [32] |
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 | distoratio [100] |
fixed_quality More... | |
uint32_t | main_qcd_qntsty |
uint32_t | main_qcd_numStepSizes |
TileComponentCodingParams * | tccps |
tile-component coding parameters More... | |
int16_t | m_tile_part_index |
uint8_t | m_nb_tile_parts |
number of tile parts for the tile. More... | |
ChunkBuffer * | m_tile_data |
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... | |
bool | POC |
indicates if a POC marker has been used More... | |
bool | isHT |
param_qcd | qcd |
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 distoratio, pocs, and rates.
grk::TileCodingParams::~TileCodingParams | ( | ) |
References destroy().
void grk::TileCodingParams::destroy | ( | ) |
References grk::grk_free(), m_mcc_records, m_mct_coding_matrix, m_mct_decoding_matrix, m_mct_records, m_nb_max_mcc_records, m_nb_mcc_records, m_nb_mct_records, m_tile_data, mct_norms, ppt_buffer, ppt_markers, ppt_markers_count, and tccps.
Referenced by grk::CodingParams::destroy(), and ~TileCodingParams().
bool grk::TileCodingParams::cod |
If cod == true --> there was a COD marker for the present tile.
uint8_t grk::TileCodingParams::csty |
double grk::TileCodingParams::distoratio[100] |
fixed_quality
Referenced by grk::CodeStream::init_compress(), grk::TileProcessor::layer_needs_rate_control(), grk::TileProcessor::pcrd_bisect_simple(), and TileCodingParams().
bool grk::TileCodingParams::isHT |
grk_simple_mcc_decorrelation_data* grk::TileCodingParams::m_mcc_records |
mcc records
Referenced by destroy(), grk::j2k_add_mct(), and grk::j2k_init_mct_encoding().
float* grk::TileCodingParams::m_mct_coding_matrix |
the mct coding matrix
Referenced by destroy(), grk::CodeStream::init_compress(), and grk::TileProcessor::mct_encode().
float* grk::TileCodingParams::m_mct_decoding_matrix |
the mct decoding matrix
Referenced by destroy(), grk::CodeStream::init_compress(), grk::j2k_add_mct(), grk::j2k_init_mct_encoding(), grk::TileProcessor::mct_decompress(), and grk::TileProcessor::need_mct_decompress().
grk_mct_data* grk::TileCodingParams::m_mct_records |
mct records
Referenced by destroy(), and grk::j2k_init_mct_encoding().
uint32_t grk::TileCodingParams::m_nb_max_mcc_records |
the max number of mct records.
Referenced by destroy(), and grk::j2k_init_mct_encoding().
uint32_t grk::TileCodingParams::m_nb_max_mct_records |
the max number of mct records.
Referenced by grk::j2k_init_mct_encoding().
uint32_t grk::TileCodingParams::m_nb_mcc_records |
the number of mct records.
Referenced by destroy(), grk::j2k_add_mct(), and grk::j2k_init_mct_encoding().
uint32_t grk::TileCodingParams::m_nb_mct_records |
the number of mct records.
Referenced by destroy(), and grk::j2k_init_mct_encoding().
uint8_t grk::TileCodingParams::m_nb_tile_parts |
number of tile parts for the tile.
Referenced by grk::TileProcessor::pre_write_tile(), and grk::SOTMarker::write().
ChunkBuffer* grk::TileCodingParams::m_tile_data |
Referenced by destroy().
int16_t grk::TileCodingParams::m_tile_part_index |
Referenced by grk::CodeStream::decompress_tile().
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::dc_level_shift_decompress(), grk::CodeStream::init_compress(), grk::j2k_dump_tile_info(), grk::j2k_init_mct_encoding(), grk::TileProcessor::mct_decompress(), grk::TileProcessor::mct_encode(), grk::TileProcessor::need_mct_decompress(), and grk::CodeStream::read_header().
double* grk::TileCodingParams::mct_norms |
compressing norms
Referenced by destroy(), and grk::CodeStream::init_compress().
uint16_t grk::TileCodingParams::num_layers_to_decompress |
uint16_t grk::TileCodingParams::numlayers |
number of layers
Referenced by grk::CodeStream::init_compress(), grk::j2k_dump_tile_info(), grk::TileProcessor::make_single_lossless_layer(), grk::TileProcessor::needs_rate_control(), grk::TileProcessor::pcrd_bisect_simple(), grk::pi_update_decode_no_poc(), grk::pi_update_decode_poc(), grk::CodeStream::read_header(), and grk::TileProcessor::t2_encode().
uint32_t grk::TileCodingParams::numpocs |
number of progression order changes
Referenced by grk::CodeStream::init_compress(), grk::j2k_get_num_tp(), grk::pi_create(), grk::pi_create_compress(), grk::pi_create_decompress(), grk::pi_update_decode_no_poc(), grk::pi_update_decode_poc(), grk::pi_update_encode_no_poc(), and grk::pi_update_encode_poc_and_final().
bool grk::TileCodingParams::POC |
indicates if a POC marker has been used
Referenced by grk::CodeStream::init_compress().
grk_poc grk::TileCodingParams::pocs[32] |
progression order changes
Referenced by grk::CodeStream::init_compress(), grk::pi_check_next_level(), grk::pi_enable_tile_part_generation(), grk::pi_update_decode_poc(), and TileCodingParams().
bool grk::TileCodingParams::ppt |
If ppt == true --> there was a PPT marker for the present tile.
Referenced by grk::j2k_merge_ppt(), and grk::T2Decompress::read_packet_header().
uint8_t* grk::TileCodingParams::ppt_buffer |
used to keep a track of the allocated memory
Referenced by destroy(), and grk::j2k_merge_ppt().
uint8_t* grk::TileCodingParams::ppt_data |
packet header store there for future use in t2_decode_packet
Referenced by grk::j2k_merge_ppt(), and grk::T2Decompress::read_packet_header().
size_t grk::TileCodingParams::ppt_data_size |
Number of bytes stored inside ppt_data.
Referenced by grk::j2k_merge_ppt().
size_t grk::TileCodingParams::ppt_len |
size of ppt_data
Referenced by grk::j2k_merge_ppt(), and grk::T2Decompress::read_packet_header().
grk_ppx* grk::TileCodingParams::ppt_markers |
ppt markers data (table indexed by Zppt)
Referenced by destroy(), and grk::j2k_merge_ppt().
uint32_t grk::TileCodingParams::ppt_markers_count |
number of ppt markers (reserved size)
Referenced by destroy(), and grk::j2k_merge_ppt().
GRK_PROG_ORDER grk::TileCodingParams::prg |
progression order
Referenced by grk::CodeStream::init_compress(), grk::j2k_dump_tile_info(), and grk::pi_update_decode_no_poc().
param_qcd grk::TileCodingParams::qcd |
Referenced by grk::CodeStream::init_compress().
double grk::TileCodingParams::rates[100] |
rates of layers
Referenced by grk::CodeStream::init_compress(), grk::TileProcessor::layer_needs_rate_control(), grk::TileProcessor::pcrd_bisect_simple(), and TileCodingParams().
TileComponentCodingParams* grk::TileCodingParams::tccps |
tile-component coding parameters
Referenced by grk::TileProcessor::dc_level_shift_decompress(), grk::TileProcessor::dc_level_shift_encode(), grk::TileProcessor::decompress_tile_t1(), destroy(), grk::TileProcessor::dwt_encode(), grk::grk_get_all_encoding_parameters(), grk::CodeStream::init_compress(), grk::j2k_add_mct(), grk::j2k_copy_tile_component_parameters(), grk::j2k_dump_tile_info(), grk::j2k_init_mct_encoding(), grk::j2k_read_poc(), grk::j2k_read_qcd(), grk::j2k_read_SPCod_SPCoc(), grk::j2k_read_SQcd_SQcc(), grk::j2k_write_poc(), grk::j2k_write_regions(), grk::TileProcessor::mct_decompress(), grk::TileProcessor::mct_encode(), grk::SIZMarker::read(), grk::CodeStream::read_header(), grk::T2Decompress::read_packet_header(), grk::Quantizer::read_SQcd_SQcc(), and grk::T1CompressScheduler::scheduleCompress().