Codes and decodes the prediction modes.
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 prediction mode.
◆ PredModeCodec() [1/2]
| dirac::PredModeCodec::PredModeCodec |
( |
ByteIO * | p_byteio, |
|
|
size_t | number_of_contexts, |
|
|
const int | num_refs ) |
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 |
| num_refs | Number of references |
◆ PredModeCodec() [2/2]
◆ CodeVal()
| void dirac::PredModeCodec::CodeVal |
( |
const MvData & | in_data | ) |
|
|
private |
◆ DecodeVal()
| void dirac::PredModeCodec::DecodeVal |
( |
MvData & | out_data | ) |
|
|
private |
◆ DoWorkCode()
| void dirac::PredModeCodec::DoWorkCode |
( |
MvData & | in_data | ) |
|
|
privatevirtual |
◆ DoWorkDecode()
| void dirac::PredModeCodec::DoWorkDecode |
( |
MvData & | out_data | ) |
|
|
privatevirtual |
◆ InitContexts()
| void dirac::PredModeCodec::InitContexts |
( |
| ) |
|
◆ operator=()
◆ Prediction()
| unsigned int dirac::PredModeCodec::Prediction |
( |
const TwoDArray< PredMode > & | preddata | ) |
const |
|
private |
◆ ResetAll()
| void dirac::PredModeCodec::ResetAll |
( |
| ) |
|
|
private |
◆ m_b_xp
| int dirac::PredModeCodec::m_b_xp |
|
private |
◆ m_b_yp
| int dirac::PredModeCodec::m_b_yp |
|
private |
◆ m_num_refs
| int dirac::PredModeCodec::m_num_refs |
|
private |
◆ m_sb_tlb_x
| int dirac::PredModeCodec::m_sb_tlb_x |
|
private |
◆ m_sb_tlb_y
| int dirac::PredModeCodec::m_sb_tlb_y |
|
private |
◆ m_sb_xp
| int dirac::PredModeCodec::m_sb_xp |
|
private |
◆ m_sb_yp
| int dirac::PredModeCodec::m_sb_yp |
|
private |
The documentation for this class was generated from the following file: