Grok  7.6.2
Public Member Functions | Public Attributes | List of all members
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 ()
 
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_ppxppt_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
 
TileComponentCodingParamstccps
 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...
 
ChunkBufferm_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_datam_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_datam_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
 

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

grk::TileCodingParams::TileCodingParams ( )

References distoratio, pocs, and rates.

◆ ~TileCodingParams()

grk::TileCodingParams::~TileCodingParams ( )

References destroy().

Member Function Documentation

◆ destroy()

void grk::TileCodingParams::destroy ( )

Member Data Documentation

◆ cod

bool grk::TileCodingParams::cod

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

◆ csty

uint8_t grk::TileCodingParams::csty

◆ distoratio

double grk::TileCodingParams::distoratio[100]

◆ isHT

bool grk::TileCodingParams::isHT

◆ m_mcc_records

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

◆ m_mct_coding_matrix

float* grk::TileCodingParams::m_mct_coding_matrix

◆ m_mct_decoding_matrix

float* grk::TileCodingParams::m_mct_decoding_matrix

◆ m_mct_records

grk_mct_data* grk::TileCodingParams::m_mct_records

mct records

Referenced by destroy(), and grk::j2k_init_mct_encoding().

◆ m_nb_max_mcc_records

uint32_t grk::TileCodingParams::m_nb_max_mcc_records

the max number of mct records.

Referenced by destroy(), and grk::j2k_init_mct_encoding().

◆ m_nb_max_mct_records

uint32_t grk::TileCodingParams::m_nb_max_mct_records

the max number of mct records.

Referenced by grk::j2k_init_mct_encoding().

◆ m_nb_mcc_records

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

◆ m_nb_mct_records

uint32_t grk::TileCodingParams::m_nb_mct_records

the number of mct records.

Referenced by destroy(), and grk::j2k_init_mct_encoding().

◆ m_nb_tile_parts

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

◆ m_tile_data

ChunkBuffer* grk::TileCodingParams::m_tile_data

Referenced by destroy().

◆ m_tile_part_index

int16_t grk::TileCodingParams::m_tile_part_index

◆ main_qcd_numStepSizes

uint32_t grk::TileCodingParams::main_qcd_numStepSizes

◆ main_qcd_qntsty

uint32_t grk::TileCodingParams::main_qcd_qntsty

◆ mct

uint8_t grk::TileCodingParams::mct

◆ mct_norms

double* grk::TileCodingParams::mct_norms

compressing norms

Referenced by destroy(), and grk::CodeStream::init_compress().

◆ num_layers_to_decompress

uint16_t grk::TileCodingParams::num_layers_to_decompress

◆ numlayers

uint16_t grk::TileCodingParams::numlayers

◆ numpocs

uint32_t grk::TileCodingParams::numpocs

◆ POC

bool grk::TileCodingParams::POC

indicates if a POC marker has been used

Referenced by grk::CodeStream::init_compress().

◆ pocs

grk_poc grk::TileCodingParams::pocs[32]

◆ ppt

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

◆ ppt_buffer

uint8_t* grk::TileCodingParams::ppt_buffer

used to keep a track of the allocated memory

Referenced by destroy(), and grk::j2k_merge_ppt().

◆ ppt_data

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

◆ ppt_data_size

size_t grk::TileCodingParams::ppt_data_size

Number of bytes stored inside ppt_data.

Referenced by grk::j2k_merge_ppt().

◆ ppt_len

size_t grk::TileCodingParams::ppt_len

size of ppt_data

Referenced by grk::j2k_merge_ppt(), and grk::T2Decompress::read_packet_header().

◆ ppt_markers

grk_ppx* grk::TileCodingParams::ppt_markers

ppt markers data (table indexed by Zppt)

Referenced by destroy(), and grk::j2k_merge_ppt().

◆ ppt_markers_count

uint32_t grk::TileCodingParams::ppt_markers_count

number of ppt markers (reserved size)

Referenced by destroy(), and grk::j2k_merge_ppt().

◆ prg

GRK_PROG_ORDER grk::TileCodingParams::prg

◆ qcd

param_qcd grk::TileCodingParams::qcd

◆ rates

double grk::TileCodingParams::rates[100]

◆ tccps

TileComponentCodingParams* grk::TileCodingParams::tccps

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