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

#include <Precinct.h>

Public Member Functions

 PrecinctImpl (bool isCompressor, grk_rect32 *bounds, grk_pt32 cblk_expn)
 
 ~PrecinctImpl ()
 
grk_rect32 getCodeBlockBounds (uint64_t cblkno)
 
bool initCodeBlocks (grk_rect32 *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
 
grk_rect32 cblk_grid_
 
grk_rect32 bounds_
 
grk_pt32 cblk_expn_
 
bool isCompressor_
 

Private Attributes

TagTreeU16incltree
 
TagTreeU8imsbtree
 

Constructor & Destructor Documentation

◆ PrecinctImpl()

grk::PrecinctImpl::PrecinctImpl ( bool  isCompressor,
grk_rect32 bounds,
grk_pt32  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()

grk_rect32 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 ( grk_rect32 bounds)
inline

Member Data Documentation

◆ bounds_

grk_rect32 grk::PrecinctImpl::bounds_

◆ cblk_expn_

grk_pt32 grk::PrecinctImpl::cblk_expn_

◆ cblk_grid_

grk_rect32 grk::PrecinctImpl::cblk_grid_

◆ 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

◆ isCompressor_

bool grk::PrecinctImpl::isCompressor_

Referenced by initCodeBlocks().


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