Grok 20.3.2
grk::t1::CodePass Struct Reference

Information about compression/decompression coding pass. More...

#include <CodeblockCompressImpl.h>

Public Member Functions

 CodePass ()
 Constructs a CodePass.
 ~CodePass ()=default
 Destroys a CodePass.

Public Attributes

uint16_t rate_
 total rate of block up to and including this pass
double distortiondec_
 distortion decrease of pass
uint16_t len_
 length of pass in bytes
bool term_
 True if this pass terminates a segment, otherwise false.
uint16_t slope_
 ln(slope) in 8.8 fixed point

Detailed Description

Information about compression/decompression coding pass.

Constructor & Destructor Documentation

◆ CodePass()

grk::t1::CodePass::CodePass ( )
inline

Constructs a CodePass.

References distortiondec_, len_, rate_, slope_, and term_.

◆ ~CodePass()

grk::t1::CodePass::~CodePass ( )
default

Destroys a CodePass.

Member Data Documentation

◆ distortiondec_

double grk::t1::CodePass::distortiondec_

distortion decrease of pass

Referenced by CodePass().

◆ len_

uint16_t grk::t1::CodePass::len_

length of pass in bytes

Referenced by CodePass().

◆ rate_

uint16_t grk::t1::CodePass::rate_

total rate of block up to and including this pass

Referenced by CodePass(), and grk::compress_synch_with_plugin().

◆ slope_

uint16_t grk::t1::CodePass::slope_

ln(slope) in 8.8 fixed point

Referenced by CodePass(), and grk::RateInfo::synch().

◆ term_

bool grk::t1::CodePass::term_

True if this pass terminates a segment, otherwise false.

Referenced by CodePass().


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