Grok  9.7.5
Public Member Functions | Public Attributes | Private Attributes | List of all members
grk::DecompressorState Struct Reference

#include <CodingParams.h>

Public Member Functions

 DecompressorState ()
 
bool findNextTile (CodeStreamDecompress *codeStream)
 
uint16_t getState (void)
 
void setState (uint16_t state)
 
void orState (uint16_t state)
 
void andState (uint16_t state)
 

Public Attributes

TileCodingParamsdefault_tcp_
 
uint32_t start_tile_x_index_
 Only tile indices in the correct range will be decompressed. More...
 
uint32_t start_tile_y_index_
 
uint32_t end_tile_x_index_
 
uint32_t end_tile_y_index_
 
uint64_t lastSotReadPosition
 Position of the last SOT marker read. More...
 
bool lastTilePartInCodeStream
 Indicate that the current tile-part is assumed to be the last tile part of the code stream. More...
 
bool lastTilePartWasRead
 
bool skipTileData
 

Private Attributes

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

Constructor & Destructor Documentation

◆ DecompressorState()

grk::DecompressorState::DecompressorState ( )

Member Function Documentation

◆ andState()

void grk::DecompressorState::andState ( uint16_t  state)

References state_.

Referenced by findNextTile().

◆ findNextTile()

bool grk::DecompressorState::findNextTile ( CodeStreamDecompress codeStream)

◆ getState()

uint16_t grk::DecompressorState::getState ( void  )

◆ orState()

void grk::DecompressorState::orState ( uint16_t  state)

◆ setState()

void grk::DecompressorState::setState ( uint16_t  state)

Member Data Documentation

◆ default_tcp_

TileCodingParams* grk::DecompressorState::default_tcp_

◆ end_tile_x_index_

uint32_t grk::DecompressorState::end_tile_x_index_

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

◆ end_tile_y_index_

uint32_t grk::DecompressorState::end_tile_y_index_

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

◆ lastSotReadPosition

uint64_t grk::DecompressorState::lastSotReadPosition

◆ lastTilePartInCodeStream

bool grk::DecompressorState::lastTilePartInCodeStream

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::SOTMarker::read().

◆ lastTilePartWasRead

bool grk::DecompressorState::lastTilePartWasRead

◆ skipTileData

bool grk::DecompressorState::skipTileData

◆ start_tile_x_index_

uint32_t grk::DecompressorState::start_tile_x_index_

Only tile indices in the correct range will be decompressed.

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

◆ start_tile_y_index_

uint32_t grk::DecompressorState::start_tile_y_index_

◆ state_

uint16_t grk::DecompressorState::state_
private

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

Referenced by andState(), getState(), orState(), and setState().


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