Grok 20.3.2
grk::PacketIterInfoComponent Struct Reference

Component-level information for packet iteration. More...

#include <PacketIter.h>

Public Member Functions

 PacketIterInfoComponent ()
 ~PacketIterInfoComponent ()

Public Attributes

uint32_t dx
 component horizontal subsampling factor (from SIZ marker)
uint32_t dy
 component vertical subsampling factor (from SIZ marker)
uint8_t numresolutions
 number of resolution levels for this component (1 to GRK_MAXRLVLS)
PacketIterInfoResolutionresolutions
 array of resolution-level precinct grid info, length = numresolutions

Detailed Description

Component-level information for packet iteration.

Holds the component's subsampling factors and an array of resolution-level precinct grid information, one entry per resolution.

Constructor & Destructor Documentation

◆ PacketIterInfoComponent()

grk::PacketIterInfoComponent::PacketIterInfoComponent ( )

References dx, dy, numresolutions, and resolutions.

◆ ~PacketIterInfoComponent()

grk::PacketIterInfoComponent::~PacketIterInfoComponent ( )

References resolutions.

Member Data Documentation

◆ dx

uint32_t grk::PacketIterInfoComponent::dx

component horizontal subsampling factor (from SIZ marker)

Referenced by grk::PacketIter::genPrecinctInfo(), PacketIterInfoComponent(), and grk::PacketIter::update_dxy_for_comp().

◆ dy

uint32_t grk::PacketIterInfoComponent::dy

component vertical subsampling factor (from SIZ marker)

Referenced by grk::PacketIter::genPrecinctInfo(), PacketIterInfoComponent(), and grk::PacketIter::update_dxy_for_comp().

◆ numresolutions

uint8_t grk::PacketIterInfoComponent::numresolutions

number of resolution levels for this component (1 to GRK_MAXRLVLS)

Referenced by grk::PacketIter::genPrecinctInfo(), PacketIterInfoComponent(), and grk::PacketIter::update_dxy_for_comp().

◆ resolutions

PacketIterInfoResolution* grk::PacketIterInfoComponent::resolutions

array of resolution-level precinct grid info, length = numresolutions

Referenced by PacketIterInfoComponent(), grk::PacketIter::update_dxy_for_comp(), and ~PacketIterInfoComponent().


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