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
◆ SplitModeCodec() [1/2]
| 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 |
◆ SplitModeCodec() [2/2]
◆ CodeVal()
| void dirac::SplitModeCodec::CodeVal |
( |
const MvData & | in_data | ) |
|
|
private |
◆ DecodeVal()
| void dirac::SplitModeCodec::DecodeVal |
( |
MvData & | out_data | ) |
|
|
private |
◆ DoWorkCode()
| void dirac::SplitModeCodec::DoWorkCode |
( |
MvData & | in_data | ) |
|
|
privatevirtual |
◆ DoWorkDecode()
| void dirac::SplitModeCodec::DoWorkDecode |
( |
MvData & | out_data | ) |
|
|
privatevirtual |
◆ InitContexts()
| void dirac::SplitModeCodec::InitContexts |
( |
| ) |
|
◆ operator=()
◆ Prediction()
| unsigned int dirac::SplitModeCodec::Prediction |
( |
const TwoDArray< int > & | mbdata | ) |
const |
|
private |
◆ ResetAll()
| void dirac::SplitModeCodec::ResetAll |
( |
| ) |
|
|
private |
◆ m_sb_xp
| int dirac::SplitModeCodec::m_sb_xp |
|
private |
◆ m_sb_yp
| int dirac::SplitModeCodec::m_sb_yp |
|
private |
The documentation for this class was generated from the following file: