Codes and decodes the split mode.
More...
#include <mv_codec.h>
|
void | InitEncoder () |
| Initialises the Encoder.
|
|
void | EncodeSymbol (const bool symbol, const int context_num) |
| encodes a symbol and writes to output
|
|
void | EncodeUInt (const unsigned int value, const int bin1, const int max_bin) |
|
void | EncodeSInt (const int value, const int bin1, const int max_bin) |
|
void | FlushEncoder () |
| flushes the output of the encoder.
|
|
int | ByteCount () const |
|
void | InitDecoder (int num_bytes) |
| Initialise the Decoder.
|
|
bool | DecodeSymbol (int context_num) |
| Decodes a symbol given a context number.
|
|
unsigned int | DecodeUInt (const int bin1, const int max_bin) |
|
int | DecodeSInt (const int bin1, const int max_bin) |
|
std::vector< Context > | m_context_list |
| List of contexts.
|
|
Derived from the ArithCodec class, this codes and decodes the split mode
dirac::SplitModeCodec::SplitModeCodec |
( |
ByteIO * |
p_byteio, |
|
|
size_t |
number_of_contexts |
|
) |
| |
Creates a MvDataCodec object to encode MV data, based on parameters
- Parameters
-
p_byteio | Input/output for the encoded bits |
number_of_contexts | the number of contexts used |
void dirac::SplitModeCodec::CodeVal |
( |
const MvData & |
in_data | ) |
|
|
private |
void dirac::SplitModeCodec::DecodeVal |
( |
MvData & |
out_data | ) |
|
|
private |
void dirac::SplitModeCodec::DoWorkCode |
( |
MvData & |
in_data | ) |
|
|
privatevirtual |
void dirac::SplitModeCodec::DoWorkDecode |
( |
MvData & |
out_data | ) |
|
|
privatevirtual |
void dirac::SplitModeCodec::InitContexts |
( |
| ) |
|
unsigned int dirac::SplitModeCodec::Prediction |
( |
const TwoDArray< int > & |
mbdata | ) |
const |
|
private |
void dirac::SplitModeCodec::ResetAll |
( |
| ) |
|
|
private |
int dirac::SplitModeCodec::m_sb_xp |
|
private |
int dirac::SplitModeCodec::m_sb_yp |
|
private |
The documentation for this class was generated from the following file: