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

#include <T1Structs.h>

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

Public Member Functions

 Precinct (void)
 
 ~Precinct (void)
 
bool init (bool isCompressor, grk_pt cblk_expn, grk_plugin_tile *current_plugin_tile)
 
void initTagTrees (void)
 
void deleteTagTrees (void)
 
uint32_t getCblkGridwidth (void)
 
uint32_t getCblkGridHeight (void)
 
uint64_t getNumCblks (void)
 
CompressCodeblockgetCompressedBlockPtr (void)
 
DecompressCodeblockgetDecompressedBlockPtr (void)
 
TagTreegetInclTree (void)
 
TagTreegetImsbTree (void)
 
- 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

uint64_t precinctIndex
 
- Public Attributes inherited from grk::grk_rectangle< uint32_t >
uint32_t x0
 
uint32_t y0
 
uint32_t x1
 
uint32_t y1
 

Private Attributes

PrecinctImplimpl
 
bool initialized
 

Constructor & Destructor Documentation

◆ Precinct()

grk::Precinct::Precinct ( void  )

◆ ~Precinct()

grk::Precinct::~Precinct ( void  )

References impl.

Member Function Documentation

◆ deleteTagTrees()

void grk::Precinct::deleteTagTrees ( void  )

◆ getCblkGridHeight()

uint32_t grk::Precinct::getCblkGridHeight ( void  )

◆ getCblkGridwidth()

uint32_t grk::Precinct::getCblkGridwidth ( void  )

◆ getCompressedBlockPtr()

CompressCodeblock * grk::Precinct::getCompressedBlockPtr ( void  )

References grk::PrecinctImpl::enc, and impl.

◆ getDecompressedBlockPtr()

DecompressCodeblock * grk::Precinct::getDecompressedBlockPtr ( void  )

◆ getImsbTree()

TagTree * grk::Precinct::getImsbTree ( void  )

◆ getInclTree()

TagTree * grk::Precinct::getInclTree ( void  )

◆ getNumCblks()

uint64_t grk::Precinct::getNumCblks ( void  )

◆ init()

bool grk::Precinct::init ( bool  isCompressor,
grk_pt  cblk_expn,
grk_plugin_tile current_plugin_tile 
)

◆ initTagTrees()

void grk::Precinct::initTagTrees ( void  )

Member Data Documentation

◆ impl

PrecinctImpl* grk::Precinct::impl
private

◆ initialized

bool grk::Precinct::initialized
private

Referenced by init().

◆ precinctIndex

uint64_t grk::Precinct::precinctIndex

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