Codes and decodes the prediction modes.
More...
#include <mv_codec.h>
Additional Inherited Members |
virtual void | DoWorkCode (MvData &in_data)=0 |
| Does the work of actually coding the data.
|
virtual void | DoWorkDecode (MvData &out_data)=0 |
| virtual decode-only functions ////////////////////////////
|
std::vector< Context > | m_context_list |
| List of contexts.
|
Detailed Description
Derived from the ArithCodec class, this codes and decodes the prediction mode.
Constructor & Destructor Documentation
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 |
Member Function Documentation
void dirac::PredModeCodec::CodeVal |
( |
const MvData & |
in_data | ) |
|
|
private |
void dirac::PredModeCodec::DecodeVal |
( |
MvData & |
out_data | ) |
|
|
private |
void dirac::PredModeCodec::DoWorkCode |
( |
MvData & |
in_data | ) |
|
|
private |
void dirac::PredModeCodec::DoWorkDecode |
( |
MvData & |
out_data | ) |
|
|
private |
void dirac::PredModeCodec::InitContexts |
( |
| ) |
|
unsigned int dirac::PredModeCodec::Prediction |
( |
const TwoDArray< PredMode > & |
preddata | ) |
const |
|
private |
void dirac::PredModeCodec::ResetAll |
( |
| ) |
|
|
private |
Member Data Documentation
int dirac::PredModeCodec::m_b_xp |
|
private |
int dirac::PredModeCodec::m_b_yp |
|
private |
int dirac::PredModeCodec::m_num_refs |
|
private |
int dirac::PredModeCodec::m_sb_tlb_x |
|
private |
int dirac::PredModeCodec::m_sb_tlb_y |
|
private |
int dirac::PredModeCodec::m_sb_xp |
|
private |
int dirac::PredModeCodec::m_sb_yp |
|
private |
The documentation for this class was generated from the following file: