Grok 20.3.2
grk::PacketIterInfoResolution Struct Reference

Resolution-level precinct grid geometry for packet iteration. More...

#include <PacketIter.h>

Public Member Functions

 PacketIterInfoResolution ()
 ~PacketIterInfoResolution ()

Public Attributes

uint8_t precWidthExp
 log2 precinct width (from codestream SPcoc marker, 0-15)
uint8_t precHeightExp
 log2 precinct height (from codestream SPcoc marker, 0-15)
uint32_t precinctGridWidth
 number of precincts horizontally in this resolution's precinct grid
uint32_t precinctGridHeight
 number of precincts vertically in this resolution's precinct grid
ResPrecinctInfoprecinctInfo
 fully computed precinct info (non-OPT path only; null when precinctInfoOPT_ is used)

Detailed Description

Resolution-level precinct grid geometry for packet iteration.

Stores the log2 precinct dimensions and the number of precincts in the grid for one resolution of one component. Also optionally holds a pointer to a fully computed ResPrecinctInfo when the non-OPT code path is used.

Constructor & Destructor Documentation

◆ PacketIterInfoResolution()

grk::PacketIterInfoResolution::PacketIterInfoResolution ( )

◆ ~PacketIterInfoResolution()

grk::PacketIterInfoResolution::~PacketIterInfoResolution ( )

References precinctInfo.

Member Data Documentation

◆ precHeightExp

uint8_t grk::PacketIterInfoResolution::precHeightExp

log2 precinct height (from codestream SPcoc marker, 0-15)

Referenced by grk::PacketIter::genPrecinctInfo(), and PacketIterInfoResolution().

◆ precinctGridHeight

uint32_t grk::PacketIterInfoResolution::precinctGridHeight

number of precincts vertically in this resolution's precinct grid

Referenced by grk::PacketIter::genPrecinctInfo(), and PacketIterInfoResolution().

◆ precinctGridWidth

uint32_t grk::PacketIterInfoResolution::precinctGridWidth

number of precincts horizontally in this resolution's precinct grid

Referenced by grk::PacketIter::genPrecinctInfo(), and PacketIterInfoResolution().

◆ precinctInfo

ResPrecinctInfo* grk::PacketIterInfoResolution::precinctInfo

fully computed precinct info (non-OPT path only; null when precinctInfoOPT_ is used)

Referenced by grk::PacketIter::genPrecinctInfo(), PacketIterInfoResolution(), and ~PacketIterInfoResolution().

◆ precWidthExp

uint8_t grk::PacketIterInfoResolution::precWidthExp

log2 precinct width (from codestream SPcoc marker, 0-15)

Referenced by grk::PacketIter::genPrecinctInfo(), and PacketIterInfoResolution().


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