A template class for coding and decoding wavelet subband data.
#include <band_codec.h>
|
void | CodeVal (CoeffArray &in_data, const int xpos, const int ypos, const CoeffType val) |
| Code an individual quantised value and perform inverse-quantisation.
|
|
void | DecodeVal (CoeffArray &out_data, const int xpos, const int ypos) |
| Decode an individual quantised value and perform inverse-quantisation.
|
|
void | CodeQuantIndexOffset (const int offset) |
| Encode the offset for a code block quantiser.
|
|
int | DecodeQuantIndexOffset () |
| Decode the offset for a code block quantiser.
|
|
void | SetToVal (const CodeBlock &code_block, CoeffArray &coeff_data, const CoeffType val) |
| Set a code block area to a given value.
|
|
virtual void | ClearBlock (const CodeBlock &code_block, CoeffArray &coeff_data) |
| Set all block values to 0.
|
|
virtual void | DoWorkCode (CoeffArray &in_data) |
|
virtual void | DoWorkDecode (CoeffArray &out_data) |
|
virtual void | CodeCoeffBlock (const CodeBlock &code_block, CoeffArray &in_data) |
|
virtual void | DecodeCoeffBlock (const CodeBlock &code_block, CoeffArray &out_data) |
|
virtual void | CodeCoeff (CoeffArray &in_data, const int xpos, const int ypos) |
|
virtual void | DecodeCoeff (CoeffArray &in_data, const int xpos, const int ypos) |
|
int | ChooseFollowContext (const int bin_number) const |
| A function for choosing the context for "follow bits".
|
|
int | ChooseInfoContext () const |
| A function for choosing the context for "information bits".
|
|
int | ChooseSignContext (const CoeffArray &data, const int xpos, const int ypos) const |
| A function for choosing the context for sign bits.
|
|
◆ GenericBandCodec() [1/2]
◆ GenericBandCodec() [2/2]
◆ ChooseFollowContext()
int GenericBandCodec::ChooseFollowContext |
( |
const int | bin_number | ) |
const |
|
inlineprotected |
References dirac::NZ_FBIN1nz_CTX, dirac::NZ_FBIN1z_CTX, dirac::NZ_FBIN2_CTX, dirac::NZ_FBIN3_CTX, dirac::NZ_FBIN4_CTX, dirac::NZ_FBIN5_CTX, dirac::NZ_FBIN6plus_CTX, dirac::Z_FBIN1nz_CTX, dirac::Z_FBIN1z_CTX, dirac::Z_FBIN2_CTX, dirac::Z_FBIN3_CTX, dirac::Z_FBIN4_CTX, dirac::Z_FBIN5_CTX, and dirac::Z_FBIN6plus_CTX.
◆ ChooseInfoContext()
int GenericBandCodec::ChooseInfoContext |
( |
| ) |
const |
|
inlineprotected |
◆ ChooseSignContext()
◆ ClearBlock()
◆ CodeCoeff()
◆ CodeCoeffBlock()
◆ CodeQuantIndexOffset()
void GenericBandCodec::CodeQuantIndexOffset |
( |
const int | offset | ) |
|
|
protected |
◆ CodeVal()
◆ DecodeCoeff()
◆ DecodeCoeffBlock()
◆ DecodeQuantIndexOffset()
int GenericBandCodec::DecodeQuantIndexOffset |
( |
| ) |
|
|
protected |
◆ DecodeVal()
◆ DoWorkCode()
◆ DoWorkDecode()
◆ operator=()
◆ SetToVal()
◆ m_bnum
◆ m_is_intra
◆ m_last_qf_idx
◆ m_nhood_nonzero
◆ m_node
◆ m_offset
◆ m_parent_notzero
◆ m_pnode
◆ m_pxpos
◆ m_pypos
◆ m_qf
The documentation for this class was generated from the following files: