Grok  7.6.2
Public Member Functions | Private Member Functions | Private Attributes | List of all members
grk::t1_ht::T1HT Class Reference

#include <T1HT.h>

Inheritance diagram for grk::t1_ht::T1HT:
grk::T1Interface

Public Member Functions

 T1HT (bool isCompressor, TileCodingParams *tcp, uint32_t maxCblkW, uint32_t maxCblkH)
 
virtual ~T1HT ()
 
bool compress (CompressBlockExec *block)
 
bool decompress (DecompressBlockExec *block)
 
- Public Member Functions inherited from grk::T1Interface
virtual ~T1Interface ()
 

Private Member Functions

void preCompress (CompressBlockExec *block, grk_tile *tile)
 
bool postDecompress (DecompressBlockExec *block)
 

Private Attributes

uint32_t coded_data_size
 
uint8_t * coded_data
 
uint32_t unencoded_data_size
 
int32_t * unencoded_data
 
mem_fixed_allocator * allocator
 
mem_elastic_allocator * elastic_alloc
 

Constructor & Destructor Documentation

◆ T1HT()

grk::t1_ht::T1HT::T1HT ( bool  isCompressor,
TileCodingParams tcp,
uint32_t  maxCblkW,
uint32_t  maxCblkH 
)

◆ ~T1HT()

grk::t1_ht::T1HT::~T1HT ( )
virtual

Member Function Documentation

◆ compress()

bool grk::t1_ht::T1HT::compress ( CompressBlockExec block)
virtual

◆ decompress()

bool grk::t1_ht::T1HT::decompress ( DecompressBlockExec block)
virtual

◆ postDecompress()

bool grk::t1_ht::T1HT::postDecompress ( DecompressBlockExec block)
private

◆ preCompress()

void grk::t1_ht::T1HT::preCompress ( CompressBlockExec block,
grk_tile tile 
)
private

Member Data Documentation

◆ allocator

mem_fixed_allocator* grk::t1_ht::T1HT::allocator
private

Referenced by ~T1HT().

◆ coded_data

uint8_t* grk::t1_ht::T1HT::coded_data
private

Referenced by decompress(), T1HT(), and ~T1HT().

◆ coded_data_size

uint32_t grk::t1_ht::T1HT::coded_data_size
private

Referenced by decompress().

◆ elastic_alloc

mem_elastic_allocator* grk::t1_ht::T1HT::elastic_alloc
private

Referenced by compress(), and ~T1HT().

◆ unencoded_data

int32_t* grk::t1_ht::T1HT::unencoded_data
private

◆ unencoded_data_size

uint32_t grk::t1_ht::T1HT::unencoded_data_size
private

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