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

#include <T1Structs.h>

Inheritance diagram for grk::Subband:
grk::grk_rectangle< uint32_t >

Public Member Functions

 Subband ()
 
 Subband (const Subband &rhs)
 
Subbandoperator= (const Subband &rhs)
 
bool isEmpty ()
 
void print ()
 
PrecinctgetPrecinct (uint64_t precinctIndex)
 
PrecinctcreatePrecinct (bool isCompressor, uint64_t precinctIndex, grk_pt precinct_start, grk_pt precinct_expn, uint32_t pw, grk_pt cblk_expn, grk_plugin_tile *current_plugin_tile)
 
- Public Member Functions inherited from grk::grk_rectangle< uint32_t >
 grk_rectangle (uint32_t x0, uint32_t y0, uint32_t x1, uint32_t y1)
 
 grk_rectangle (const grk_rectangle &rhs)
 
 grk_rectangle (void)
 
void print (void) const
 
bool is_valid (void) const
 
bool non_empty (void) const
 
bool contains (grk_point< uint32_t > pt)
 
grk_rectangle< uint32_t > & operator= (const grk_rectangle< uint32_t > &rhs)
 
bool operator== (const grk_rectangle< uint32_t > &rhs) const
 
void set_rect (grk_rectangle< uint32_t > *rhs)
 
void set_rect (grk_rectangle< uint32_t > rhs)
 
grk_rectangle< uint32_t > rectceildivpow2 (uint32_t power) const
 
grk_rectangle< uint32_t > rectceildiv (uint32_t den) const
 
grk_rectangle< uint32_t > rectceildiv (uint32_t denx, uint32_t deny) const
 
grk_rectangle< uint32_t > intersection (const grk_rectangle< uint32_t > rhs) const
 
grk_rectangle< uint32_t > intersection (const grk_rectangle< uint32_t > *rhs) const
 
bool isContainedIn (const grk_rectangle< uint32_t > rhs) const
 
grk_rectangle< uint32_t > rect_union (const grk_rectangle< uint32_t > *rhs) const
 
grk_rectangle< uint32_t > rect_union (const grk_rectangle< uint32_t > &rhs) const
 
uint64_t area (void) const
 
uint32_t width () const
 
uint32_t height () const
 
grk_rectangle< uint32_t > pan (int64_t x, int64_t y) const
 
grk_rectangle< uint32_t > & grow (uint32_t boundary)
 
grk_rectangle< uint32_t > & grow (uint32_t boundaryx, uint32_t boundaryy)
 
grk_rectangle< uint32_t > & grow (uint32_t boundary, uint32_t maxX, uint32_t maxY)
 
grk_rectangle< uint32_t > & grow (uint32_t boundaryx, uint32_t boundaryy, uint32_t maxX, uint32_t maxY)
 

Public Attributes

eBandOrientation orientation
 
std::vector< Precinct * > precincts
 
std::map< uint64_t, uint64_t > precinctMap
 
uint64_t numPrecincts
 
uint32_t numbps
 
float stepsize
 
uint32_t inv_step
 
- Public Attributes inherited from grk::grk_rectangle< uint32_t >
uint32_t x0
 
uint32_t y0
 
uint32_t x1
 
uint32_t y1
 

Constructor & Destructor Documentation

◆ Subband() [1/2]

grk::Subband::Subband ( )

Referenced by operator=().

◆ Subband() [2/2]

grk::Subband::Subband ( const Subband rhs)

Member Function Documentation

◆ createPrecinct()

Precinct * grk::Subband::createPrecinct ( bool  isCompressor,
uint64_t  precinctIndex,
grk_pt  precinct_start,
grk_pt  precinct_expn,
uint32_t  pw,
grk_pt  cblk_expn,
grk_plugin_tile current_plugin_tile 
)

◆ getPrecinct()

Precinct * grk::Subband::getPrecinct ( uint64_t  precinctIndex)

◆ isEmpty()

bool grk::Subband::isEmpty ( )

◆ operator=()

Subband & grk::Subband::operator= ( const Subband rhs)

References Subband().

◆ print()

void grk::Subband::print ( void  )

Member Data Documentation

◆ inv_step

uint32_t grk::Subband::inv_step

◆ numbps

uint32_t grk::Subband::numbps

◆ numPrecincts

uint64_t grk::Subband::numPrecincts

Referenced by grk::Resolution::init().

◆ orientation

eBandOrientation grk::Subband::orientation

◆ precinctMap

std::map<uint64_t, uint64_t> grk::Subband::precinctMap

Referenced by createPrecinct(), and getPrecinct().

◆ precincts

std::vector<Precinct*> grk::Subband::precincts

◆ stepsize

float grk::Subband::stepsize

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