Grok  9.5.0
Public Member Functions | Public Attributes | Private Attributes | List of all members
grk::PrecinctImpl Struct Reference

#include <Precinct.h>

Public Member Functions

 PrecinctImpl (bool isCompressor, grkRectU32 *bounds, grkPointU32 cblk_expn)
 
 ~PrecinctImpl ()
 
grkRectU32 getCodeBlockBounds (uint64_t cblkno)
 
bool initCodeBlocks (grkRectU32 *bounds)
 
template<typename T >
bool initCodeBlock (T *block, uint64_t cblkno)
 
void deleteTagTrees ()
 
TagTreeU16getIncludeTagTree (void)
 
TagTreeU8getIMsbTagTree (void)
 

Public Attributes

BlockCache< CompressCodeblock, PrecinctImpl > * enc
 
BlockCache< DecompressCodeblock, PrecinctImpl > * dec
 
grkRectU32 m_cblk_grid
 
grkRectU32 m_bounds
 
grkPointU32 m_cblk_expn
 
bool m_isCompressor
 

Private Attributes

TagTreeU16incltree
 
TagTreeU8imsbtree
 

Constructor & Destructor Documentation

◆ PrecinctImpl()

grk::PrecinctImpl::PrecinctImpl ( bool  isCompressor,
grkRectU32 bounds,
grkPointU32  cblk_expn 
)
inline

◆ ~PrecinctImpl()

grk::PrecinctImpl::~PrecinctImpl ( )
inline

References dec, deleteTagTrees(), and enc.

Member Function Documentation

◆ deleteTagTrees()

void grk::PrecinctImpl::deleteTagTrees ( )
inline

References imsbtree, and incltree.

Referenced by grk::Precinct::deleteTagTrees(), and ~PrecinctImpl().

◆ getCodeBlockBounds()

grkRectU32 grk::PrecinctImpl::getCodeBlockBounds ( uint64_t  cblkno)
inline

◆ getIMsbTagTree()

TagTreeU8* grk::PrecinctImpl::getIMsbTagTree ( void  )
inline

◆ getIncludeTagTree()

TagTreeU16* grk::PrecinctImpl::getIncludeTagTree ( void  )
inline

◆ initCodeBlock()

template<typename T >
bool grk::PrecinctImpl::initCodeBlock ( T *  block,
uint64_t  cblkno 
)
inline

References getCodeBlockBounds().

◆ initCodeBlocks()

bool grk::PrecinctImpl::initCodeBlocks ( grkRectU32 bounds)
inline

Member Data Documentation

◆ dec

BlockCache<DecompressCodeblock, PrecinctImpl>* grk::PrecinctImpl::dec

◆ enc

BlockCache<CompressCodeblock, PrecinctImpl>* grk::PrecinctImpl::enc

◆ imsbtree

TagTreeU8* grk::PrecinctImpl::imsbtree
private

Referenced by deleteTagTrees(), and getIMsbTagTree().

◆ incltree

TagTreeU16* grk::PrecinctImpl::incltree
private

◆ m_bounds

grkRectU32 grk::PrecinctImpl::m_bounds

◆ m_cblk_expn

grkPointU32 grk::PrecinctImpl::m_cblk_expn

◆ m_cblk_grid

grkRectU32 grk::PrecinctImpl::m_cblk_grid

◆ m_isCompressor

bool grk::PrecinctImpl::m_isCompressor

Referenced by initCodeBlocks().


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