Grok  7.6.0
Public Member Functions | Data Fields
grk::DecoderState Struct Reference

#include <CodingParams.h>

Public Member Functions

 DecoderState ()
 
bool findNextTile (BufferedStream *stream)
 

Data Fields

uint32_t m_state
 Decoder state: used to indicate in which part of the code stream the decoder 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 decoded. 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
 Indicate that the current tile-part is assumed to be the last tile part of the code stream. More...
 
bool ready_to_decode_tile_part_data
 
bool m_discard_tiles
 
bool m_skip_data
 

Constructor & Destructor Documentation

◆ DecoderState()

grk::DecoderState::DecoderState ( )
inline

Member Function Documentation

◆ findNextTile()

bool grk::DecoderState::findNextTile ( BufferedStream stream)

Field Documentation

◆ m_default_tcp

TileCodingParams* grk::DecoderState::m_default_tcp

◆ m_discard_tiles

bool grk::DecoderState::m_discard_tiles

◆ m_end_tile_x_index

uint32_t grk::DecoderState::m_end_tile_x_index

◆ m_end_tile_y_index

uint32_t grk::DecoderState::m_end_tile_y_index

◆ m_last_sot_read_pos

uint64_t grk::DecoderState::m_last_sot_read_pos

Position of the last SOT marker read.

◆ m_last_tile_part

bool grk::DecoderState::m_last_tile_part

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.

◆ m_skip_data

bool grk::DecoderState::m_skip_data

◆ m_start_tile_x_index

uint32_t grk::DecoderState::m_start_tile_x_index

Only tile indices in the correct range will be decoded.

◆ m_start_tile_y_index

uint32_t grk::DecoderState::m_start_tile_y_index

◆ m_state

uint32_t grk::DecoderState::m_state

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

◆ ready_to_decode_tile_part_data

bool grk::DecoderState::ready_to_decode_tile_part_data

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