Grok 15.1.0
grk::PrecinctImpl Struct Reference

#include <Precinct.h>

Public Member Functions

 PrecinctImpl (bool isCompressor, grk_rect32 *bounds, grk_pt32 cblk_expn)
 ~PrecinctImpl (void)
grk_rect32 getCodeBlockBounds (uint64_t cblkno)
bool initCodeBlocks (uint16_t numLayers, 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()

◆ ~PrecinctImpl()

grk::PrecinctImpl::~PrecinctImpl ( void )

References dec, deleteTagTrees(), and enc.

Member Function Documentation

◆ deleteTagTrees()

void grk::PrecinctImpl::deleteTagTrees ( )

References imsbtree, and incltree.

Referenced by ~PrecinctImpl().

◆ getCodeBlockBounds()

grk_rect32 grk::PrecinctImpl::getCodeBlockBounds ( uint64_t cblkno)

References bounds_, cblk_expn_, and cblk_grid_.

Referenced by initCodeBlock().

◆ getIMsbTagTree()

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

References cblk_grid_, grk::grklog, and imsbtree.

◆ getIncludeTagTree()

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

References cblk_grid_, grk::grklog, and incltree.

◆ initCodeBlock()

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

References getCodeBlockBounds().

◆ initCodeBlocks()

bool grk::PrecinctImpl::initCodeBlocks ( uint16_t numLayers,
grk_rect32 * bounds )

References bounds_, cblk_grid_, dec, enc, and isCompressor_.

Member Data Documentation

◆ bounds_

grk_rect32 grk::PrecinctImpl::bounds_

◆ cblk_expn_

grk_pt32 grk::PrecinctImpl::cblk_expn_

Referenced by getCodeBlockBounds(), and PrecinctImpl().

◆ cblk_grid_

◆ dec

◆ enc

◆ imsbtree

TagTreeU8* grk::PrecinctImpl::imsbtree
private

◆ incltree

TagTreeU16* grk::PrecinctImpl::incltree
private

◆ isCompressor_

bool grk::PrecinctImpl::isCompressor_

Referenced by initCodeBlocks(), and PrecinctImpl().


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