Created by the British Broadcasting Corporation.
#include <band_codec.h>
dirac::BandCodec::BandCodec | ( | SubbandByteIO * | subband_byteio, | |
size_t | number_of_contexts, | |||
const SubbandList & | band_list, | |||
int | band_num, | |||
const bool | is_intra | |||
) |
Creates a BandCodec object to encode subband data
subband_byteio | input/output for the encoded bits | |
number_of_contexts | the number of contexts used in the encoding process | |
band_list | the set of all the subbands | |
band_num | the number of the subband being coded | |
is_intra | Flag indicating whether the band comes from an intra picture |
dirac::BandCodec::BandCodec | ( | const BandCodec & | cpy | ) | [private] |
void dirac::BandCodec::CodeVal | ( | CoeffArray & | in_data, | |
const int | xpos, | |||
const int | ypos, | |||
const CoeffType | val | |||
) | [inline, protected] |
void dirac::BandCodec::DecodeVal | ( | CoeffArray & | out_data, | |
const int | xpos, | |||
const int | ypos | |||
) | [inline, protected] |
void dirac::BandCodec::CodeQuantIndexOffset | ( | const int | offset | ) | [protected] |
int dirac::BandCodec::DecodeQuantIndexOffset | ( | ) | [protected] |
void dirac::BandCodec::SetToVal | ( | const CodeBlock & | code_block, | |
CoeffArray & | coeff_data, | |||
const CoeffType | val | |||
) | [inline, protected] |
void dirac::BandCodec::ClearBlock | ( | const CodeBlock & | code_block, | |
CoeffArray & | coeff_data | |||
) | [inline, protected] |
virtual void dirac::BandCodec::DoWorkCode | ( | CoeffArray & | in_data | ) | [private, virtual] |
Reimplemented in dirac::LFBandCodec, and dirac::IntraDCBandCodec.
virtual void dirac::BandCodec::DoWorkDecode | ( | CoeffArray & | out_data | ) | [private, virtual] |
Reimplemented in dirac::LFBandCodec, and dirac::IntraDCBandCodec.
virtual void dirac::BandCodec::CodeCoeffBlock | ( | const CodeBlock & | code_block, | |
CoeffArray & | in_data | |||
) | [private, virtual] |
Reimplemented in dirac::LFBandCodec, and dirac::IntraDCBandCodec.
virtual void dirac::BandCodec::DecodeCoeffBlock | ( | const CodeBlock & | code_block, | |
CoeffArray & | out_data | |||
) | [private, virtual] |
Reimplemented in dirac::LFBandCodec, and dirac::IntraDCBandCodec.
int dirac::BandCodec::ChooseFollowContext | ( | const int | bin_number | ) | const [inline, private] |
int dirac::BandCodec::ChooseInfoContext | ( | ) | const [inline, private] |
int dirac::BandCodec::ChooseSignContext | ( | const CoeffArray & | data, | |
const int | xpos, | |||
const int | ypos | |||
) | const [inline, private] |
bool dirac::BandCodec::m_is_intra [protected] |
int dirac::BandCodec::m_bnum [protected] |
const Subband dirac::BandCodec::m_node [protected] |
int dirac::BandCodec::m_last_qf_idx [protected] |
int dirac::BandCodec::m_qf [protected] |
CoeffType dirac::BandCodec::m_offset [protected] |
bool dirac::BandCodec::m_nhood_nonzero [protected] |
Subband dirac::BandCodec::m_pnode [protected] |
int dirac::BandCodec::m_pxp [protected] |
int dirac::BandCodec::m_pyp [protected] |
int dirac::BandCodec::m_pxl [protected] |
int dirac::BandCodec::m_pyl [protected] |
int dirac::BandCodec::m_pxpos [protected] |
int dirac::BandCodec::m_pypos [protected] |
bool dirac::BandCodec::m_parent_notzero [protected] |
© 2004 British Broadcasting Corporation.
Dirac code licensed under the Mozilla Public License (MPL) Version 1.1.
HTML documentation generated by Dimitri van Heesch's
excellent Doxygen tool.