Grok 15.1.0
grk::TileCodingParams Struct Reference

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 tile_index, 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 num_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_MAXRLVLS]
 progression order changes
uint32_t ppt_markers_count
 number of ppt markers (reserved size)
grk_ppxppt_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
TileComponentCodingParamstccps
 tile-component coding parameters
uint8_t tilePartCounter_
uint8_t numTileParts_
 number of tile parts for the tile.
SparseBuffercompressedTileData_
double * mct_norms
 compressing norms
float * mct_decoding_matrix_
 the mct decoding matrix
float * mct_coding_matrix_
 the mct coding matrix
grk_mct_datamct_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_datamcc_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.
Quantizerqcd_

Private Attributes

bool ht_

Detailed Description

Tile coding parameters : this structure is used to store coding/decoding parameters common to all tiles (information like COD, COC in main header)

Constructor & Destructor Documentation

◆ TileCodingParams()

◆ ~TileCodingParams()

Member Function Documentation

◆ advanceTilePartCounter()

bool grk::TileCodingParams::advanceTilePartCounter ( uint16_t tile_index,
uint8_t tilePartIndex )

References grk::grklog, and tilePartCounter_.

◆ copy()

◆ getNumProgressions()

uint32_t grk::TileCodingParams::getNumProgressions ( void )

References numpocs.

◆ hasPoc()

bool grk::TileCodingParams::hasPoc ( void )

References numpocs.

Referenced by grk::PacketIter::init().

◆ isHT()

bool grk::TileCodingParams::isHT ( void )

References ht_.

Referenced by grk::T1Factory::makeT1().

◆ setIsHT()

void grk::TileCodingParams::setIsHT ( bool ht,
bool reversible,
uint8_t guardBits )

Member Data Documentation

◆ cod

bool grk::TileCodingParams::cod

If cod == true --> there was a COD marker for the present tile.

Referenced by copy(), and TileCodingParams().

◆ compressedTileData_

SparseBuffer* grk::TileCodingParams::compressedTileData_

◆ csty

◆ distortion

double grk::TileCodingParams::distortion[maxCompressLayersGRK]

fixed_quality

Referenced by TileCodingParams().

◆ ht_

bool grk::TileCodingParams::ht_
private

Referenced by isHT(), setIsHT(), and TileCodingParams().

◆ main_qcd_numStepSizes

uint32_t grk::TileCodingParams::main_qcd_numStepSizes

Referenced by TileCodingParams().

◆ main_qcd_qntsty

uint32_t grk::TileCodingParams::main_qcd_qntsty

Referenced by TileCodingParams().

◆ mcc_records_

◆ mct

uint8_t grk::TileCodingParams::mct

◆ mct_coding_matrix_

float* grk::TileCodingParams::mct_coding_matrix_

the mct coding matrix

Referenced by TileCodingParams(), and ~TileCodingParams().

◆ mct_decoding_matrix_

float* grk::TileCodingParams::mct_decoding_matrix_

◆ mct_norms

double* grk::TileCodingParams::mct_norms

compressing norms

Referenced by TileCodingParams(), and ~TileCodingParams().

◆ mct_records_

grk_mct_data* grk::TileCodingParams::mct_records_

◆ nb_max_mcc_records_

uint32_t grk::TileCodingParams::nb_max_mcc_records_

the max number of mct records.

Referenced by copy(), grk::CodeStreamCompress::init_mct_encoding(), and TileCodingParams().

◆ nb_max_mct_records_

uint32_t grk::TileCodingParams::nb_max_mct_records_

the max number of mct records.

Referenced by copy(), grk::CodeStreamCompress::init_mct_encoding(), and TileCodingParams().

◆ nb_mcc_records_

uint32_t grk::TileCodingParams::nb_mcc_records_

◆ nb_mct_records_

uint32_t grk::TileCodingParams::nb_mct_records_

◆ num_layers_

uint16_t grk::TileCodingParams::num_layers_

◆ numLayersToDecompress

uint16_t grk::TileCodingParams::numLayersToDecompress

Referenced by TileCodingParams().

◆ numpocs

uint32_t grk::TileCodingParams::numpocs

number of progression order changes

Referenced by getNumProgressions(), hasPoc(), and TileCodingParams().

◆ numTileParts_

uint8_t grk::TileCodingParams::numTileParts_

number of tile parts for the tile.

Referenced by TileCodingParams(), and grk::SOTMarker::write().

◆ ppt

bool grk::TileCodingParams::ppt

If ppt == true --> there was a PPT marker for the present tile.

Referenced by copy(), grk::CodeStreamDecompress::merge_ppt(), and TileCodingParams().

◆ ppt_buffer

uint8_t* grk::TileCodingParams::ppt_buffer

used to keep a track of the allocated memory

Referenced by grk::CodeStreamDecompress::merge_ppt(), TileCodingParams(), and ~TileCodingParams().

◆ ppt_data

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 TileCodingParams().

◆ ppt_data_size

size_t grk::TileCodingParams::ppt_data_size

Number of bytes stored inside ppt_data.

Referenced by grk::CodeStreamDecompress::merge_ppt(), and TileCodingParams().

◆ ppt_len

size_t grk::TileCodingParams::ppt_len

size of ppt_data

Referenced by grk::CodeStreamDecompress::merge_ppt(), and TileCodingParams().

◆ ppt_markers

grk_ppx* grk::TileCodingParams::ppt_markers

ppt markers data (table indexed by Zppt)

Referenced by grk::CodeStreamDecompress::merge_ppt(), TileCodingParams(), and ~TileCodingParams().

◆ ppt_markers_count

uint32_t grk::TileCodingParams::ppt_markers_count

number of ppt markers (reserved size)

Referenced by grk::CodeStreamDecompress::merge_ppt(), TileCodingParams(), and ~TileCodingParams().

◆ prg

GRK_PROG_ORDER grk::TileCodingParams::prg

◆ progressionOrderChange

grk_progression grk::TileCodingParams::progressionOrderChange[GRK_MAXRLVLS]

progression order changes

Referenced by grk::PacketIter::init(), and TileCodingParams().

◆ qcd_

Quantizer* grk::TileCodingParams::qcd_

◆ rates

double grk::TileCodingParams::rates[maxCompressLayersGRK]

rates of layers

Referenced by TileCodingParams().

◆ tccps

◆ tilePartCounter_

uint8_t grk::TileCodingParams::tilePartCounter_

The documentation for this struct was generated from the following files: