Grok  7.6.6
Public Member Functions | Public Attributes | List of all members
grk::Resolution Struct Reference

#include <T1Structs.h>

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

Public Member Functions

 Resolution ()
 
void print ()
 
bool init (bool isCompressor, TileComponentCodingParams *tccp, uint8_t resno, 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
 
void clip (const grk_rectangle< uint32_t > *rhs)
 
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_line< uint32_t > dimX ()
 
grk_line< uint32_t > dimY ()
 
grk_rectangle< uint32_t > pan (int64_t x, int64_t y) const
 
void pan_inplace (int64_t x, int64_t y)
 
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)
 
grk_rectangle< uint32_t > & grow (uint32_t boundary, grk_rectangle< uint32_t > bounds)
 
grk_rectangle< uint32_t > & grow (uint32_t boundaryx, uint32_t boundaryy, grk_rectangle< uint32_t > bounds)
 

Public Attributes

bool initialized
 
Subband band [BAND_NUM_INDICES]
 
uint32_t numBandWindows
 
uint32_t pw
 
uint32_t ph
 
grk_pt cblk_expn
 
grk_pt precinct_start
 
grk_pt precinct_expn
 
grk_plugin_tilecurrent_plugin_tile
 
- Public Attributes inherited from grk::grk_rectangle< uint32_t >
uint32_t x0
 
uint32_t y0
 
uint32_t x1
 
uint32_t y1
 

Constructor & Destructor Documentation

◆ Resolution()

grk::Resolution::Resolution ( )

Member Function Documentation

◆ init()

bool grk::Resolution::init ( bool  isCompressor,
TileComponentCodingParams tccp,
uint8_t  resno,
grk_plugin_tile current_plugin_tile 
)

◆ print()

void grk::Resolution::print ( void  )

Member Data Documentation

◆ band

Subband grk::Resolution::band[BAND_NUM_INDICES]

◆ cblk_expn

grk_pt grk::Resolution::cblk_expn

Referenced by init().

◆ current_plugin_tile

grk_plugin_tile* grk::Resolution::current_plugin_tile

Referenced by init().

◆ initialized

bool grk::Resolution::initialized

Referenced by init().

◆ numBandWindows

uint32_t grk::Resolution::numBandWindows

◆ ph

uint32_t grk::Resolution::ph

Referenced by init().

◆ precinct_expn

grk_pt grk::Resolution::precinct_expn

Referenced by init().

◆ precinct_start

grk_pt grk::Resolution::precinct_start

Referenced by init().

◆ pw

uint32_t grk::Resolution::pw

Referenced by init().


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