Public Member Functions |
| IntraDCBandCodec (SubbandByteIO *subband_byteio, size_t number_of_contexts, const SubbandList &band_list) |
| Constructor.
|
| GenericIntraDCBandCodec (SubbandByteIO *subband_byteio, size_t number_of_contexts, const SubbandList &band_list) |
| Constructor.
|
| GenericBandCodec (SubbandByteIO *subband_byteio, size_t number_of_contexts, const SubbandList &band_list, int band_num, const bool is_intra) |
| Constructor.
|
| ArithCodec (ByteIO *p_byteio, size_t number_of_contexts) |
| Constructor for encoding.
|
virtual | ~ArithCodec () |
| Destructor.
|
int | Compress (CoeffArray &in_data) |
| Compresses the input and returns the number of bits written.
|
void | Decompress (CoeffArray &out_data, const int num_bytes) |
| Decompresses the bitstream and writes into the output.
|
| ArithCodecBase (ByteIO *p_byteio, size_t number_of_contexts) |
| Constructor.
|
virtual | ~ArithCodecBase () |
| Destructor.
|
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.
|
CoeffType | GetPrediction (const CoeffArray &data, const int xpos, const int ypos) const |
| Prediction of a DC value from its previously coded neighbours.
|
void | DecodeCoeffBlock (const CodeBlock &code_block, CoeffArray &out_data) |
| Decode codeblock of coefficients and perform DC prediction.
|
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 | CodeCoeffBlock (const CodeBlock &code_block, CoeffArray &in_data) |
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.
|
A class specially for coding the DC subband of Intra frames, using intra-band prediction of coefficients. It uses the abstract ArithCodec class