Grok 10.0.5
grk::grk::PrecinctImpl Struct Reference

#include <TileCache.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()

grk::PrecinctImpl::PrecinctImpl ( bool isCompressor,
grk_rect32 * bounds,
grk_pt32 cblk_expn )

◆ ~PrecinctImpl()

grk::PrecinctImpl::~PrecinctImpl ( void )

References dec, and enc.

Member Function Documentation

◆ deleteTagTrees()

void grk::PrecinctImpl::deleteTagTrees ( )

References imsbtree, and incltree.

◆ getCodeBlockBounds()

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

References bounds_, cblk_expn_, cblk_grid_, and cblkno.

◆ getIMsbTagTree()

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

References cblk_grid_, grk::GRK_WARN(), and imsbtree.

◆ getIncludeTagTree()

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

References cblk_grid_, grk::GRK_WARN(), and incltree.

◆ initCodeBlock()

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

References cblkno.

◆ initCodeBlocks()

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

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

Member Data Documentation

◆ bounds_

grk_rect32 grk::grk::PrecinctImpl::bounds_

◆ cblk_expn_

grk_pt32 grk::grk::PrecinctImpl::cblk_expn_

◆ cblk_grid_

grk_rect32 grk::grk::PrecinctImpl::cblk_grid_

◆ dec

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

◆ enc

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

◆ imsbtree

TagTreeU8* grk::grk::PrecinctImpl::imsbtree
private

◆ incltree

TagTreeU16* grk::grk::PrecinctImpl::incltree
private

◆ isCompressor_

bool grk::grk::PrecinctImpl::isCompressor_

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