Grok  7.6.3
Public Member Functions | Public Attributes | List of all members
grk::DecoderState Struct Reference

#include <CodingParams.h>

Public Member Functions

 DecoderState ()
 
bool findNextTile (CodeStream *codeStream)
 

Public Attributes

uint16_t m_state
 Decoder state: used to indicate in which part of the code stream the decompressor is (main header, tile header, end) More...
 
TileCodingParamsm_default_tcp
 
uint32_t m_start_tile_x_index
 Only tile indices in the correct range will be decompressed. More...
 
uint32_t m_start_tile_y_index
 
uint32_t m_end_tile_x_index
 
uint32_t m_end_tile_y_index
 
uint64_t m_last_sot_read_pos
 Position of the last SOT marker read. More...
 
bool m_last_tile_part_in_code_stream
 Indicate that the current tile-part is assumed to be the last tile part of the code stream. More...
 
bool last_tile_part_was_read
 
bool m_skip_tile_data
 

Constructor & Destructor Documentation

◆ DecoderState()

grk::DecoderState::DecoderState ( )
inline

Member Function Documentation

◆ findNextTile()

bool grk::DecoderState::findNextTile ( CodeStream codeStream)

Member Data Documentation

◆ last_tile_part_was_read

bool grk::DecoderState::last_tile_part_was_read

◆ m_default_tcp

TileCodingParams* grk::DecoderState::m_default_tcp

◆ m_end_tile_x_index

uint32_t grk::DecoderState::m_end_tile_x_index

Referenced by grk::SOTMarker::read().

◆ m_end_tile_y_index

uint32_t grk::DecoderState::m_end_tile_y_index

Referenced by grk::SOTMarker::read().

◆ m_last_sot_read_pos

uint64_t grk::DecoderState::m_last_sot_read_pos

Position of the last SOT marker read.

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

◆ m_last_tile_part_in_code_stream

bool grk::DecoderState::m_last_tile_part_in_code_stream

Indicate that the current tile-part is assumed to be the last tile part of the code stream.

This is useful in the case when PSot is equal to zero. The SOT length will be computed in the SOD reader function.

Referenced by grk::TileProcessor::prepare_sod_decoding(), and grk::SOTMarker::read().

◆ m_skip_tile_data

bool grk::DecoderState::m_skip_tile_data

Referenced by grk::SOTMarker::read().

◆ m_start_tile_x_index

uint32_t grk::DecoderState::m_start_tile_x_index

Only tile indices in the correct range will be decompressed.

Referenced by grk::SOTMarker::read().

◆ m_start_tile_y_index

uint32_t grk::DecoderState::m_start_tile_y_index

Referenced by grk::SOTMarker::read().

◆ m_state

uint16_t grk::DecoderState::m_state

Decoder state: used to indicate in which part of the code stream the decompressor is (main header, tile header, end)

Referenced by findNextTile(), grk::j2k_read_soc(), grk::j2k_read_SPCod_SPCoc(), grk::TileProcessor::prepare_sod_decoding(), and grk::SOTMarker::read().


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