Created by the British Broadcasting Corporation.
A class specially for coding the DC subband of Intra frames. More...
#include <band_vlc.h>
Public Member Functions | |
IntraDCBandVLC (SubbandByteIO *subband_byteio, const SubbandList &band_list) | |
Constructor. More... | |
![]() | |
GenericIntraDCBandCodec (SubbandByteIO *subband_byteio, size_t number_of_contexts, const SubbandList &band_list) | |
Constructor. More... | |
![]() | |
GenericBandCodec (SubbandByteIO *subband_byteio, size_t number_of_contexts, const SubbandList &band_list, int band_num, const bool is_intra) | |
Constructor. More... | |
![]() | |
ArithCodecToVLCAdapter (SubbandByteIO *subband_byteio, size_t number_of_contexts) | |
virtual | ~ArithCodecToVLCAdapter () |
int | Compress (CoeffArray &in_data) |
void | Decompress (CoeffArray &out_data, int num_bytes) |
void | EncodeSymbol (bool val, int) |
bool | DecodeSymbol (int) |
Private Member Functions | |
void | CodeCoeff (CoeffArray &in_data, const int xpos, const int ypos) |
Encode a single coefficient using error-feedback DC quantization. More... | |
IntraDCBandVLC (const IntraDCBandVLC &cpy) | |
Private, bodyless copy constructor: class should not be copied. More... | |
IntraDCBandVLC & | operator= (const IntraDCBandVLC &rhs) |
Private, bodyless copy operator=: class should not be assigned. More... | |
Additional Inherited Members | |
![]() | |
void | ClearBlock (const CodeBlock &code_block, CoeffArray &coeff_data) |
When coding a skipped block, propegate the predicted values for future non skipped blocks. More... | |
CoeffType | GetPrediction (const CoeffArray &data, const int xpos, const int ypos) const |
Prediction of a DC value from its previously coded neighbours. More... | |
void | DecodeCoeffBlock (const CodeBlock &code_block, CoeffArray &out_data) |
Decode codeblock of coefficients and perform DC prediction. More... | |
![]() | |
bool | m_is_intra |
Flag indicating whether the band comes from an intra picture. More... | |
int | m_bnum |
variables More... | |
const Subband | m_node |
the subband being coded More... | |
int | m_last_qf_idx |
the quantisation index of the last codeblock More... | |
int | m_qf |
quantisation value More... | |
CoeffType | m_offset |
reconstruction point More... | |
bool | m_nhood_nonzero |
True if neighbours non-zero. More... | |
Subband | m_pnode |
the parent subband More... | |
int | m_pxpos |
position of the parent coefficient More... | |
int | m_pypos |
bool | m_parent_notzero |
True if the parent of a coeff is not zero. More... | |
A class specially for coding the DC subband of Intra frames, using intra-band prediction of coefficients.
dirac::IntraDCBandVLC::IntraDCBandVLC | ( | SubbandByteIO * | subband_byteio, |
const SubbandList & | band_list | ||
) |
Creates a IntraDCBandVLC object to encode subband data, based on parameters
subband_byteio | input/output for the encoded bits |
band_list | the set of all the subbands |
|
private |
|
privatevirtual |
Reimplemented from dirac::GenericBandCodec< ArithCodecToVLCAdapter >.
|
private |
© 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.