187 size_t number_of_contexts);
Definition of class SequenceHeaderByteIO.
Definition: accessunit_byteio.h:52
CompSort
Types of picture component.
Definition: common.h:87
short ValueType
Type of picture data (including motion compensated residuals)
Definition: common.h:70
MvElement
Horizontal or vertical.
Definition: motion.h:54
Class ByteIO - top-level class for reading/writing bytes to a stream.
Definition: byteio.h:73
Abstract binary arithmetic coding class.
Definition: arith_codec.h:376
Class for all the motion vector data.
Definition: motion.h:220
Codes and decodes the split mode.
Definition: mv_codec.h:62
SplitModeCodec(ByteIO *p_byteio, size_t number_of_contexts)
Constructor.
void DoWorkDecode(MvData &out_data)
virtual decode-only functions
SplitModeCodec & operator=(const SplitModeCodec &rhs)
Private, bodyless copy operator=: class should not be assigned.
unsigned int Prediction(const TwoDArray< int > &mbdata) const
void DecodeVal(MvData &out_data)
void CodeVal(const MvData &in_data)
void DoWorkCode(MvData &in_data)
Does the work of actually coding the data.
void InitContexts()
Initialises the contexts
SplitModeCodec(const SplitModeCodec &cpy)
Private, bodyless copy constructor: class should not be copied.
int m_sb_yp
Definition: mv_codec.h:80
int m_sb_xp
Definition: mv_codec.h:80
Codes and decodes the prediction modes.
Definition: mv_codec.h:116
unsigned int Prediction(const TwoDArray< PredMode > &preddata) const
void InitContexts()
Initialises the contexts.
void CodeVal(const MvData &in_data)
void DoWorkCode(MvData &in_data)
Does the work of actually coding the data.
void DecodeVal(MvData &out_data)
PredModeCodec(const PredModeCodec &cpy)
Private, bodyless copy constructor: class should not be copied.
PredModeCodec(ByteIO *p_byteio, size_t number_of_contexts, const int num_refs)
Constructor.
PredModeCodec & operator=(const PredModeCodec &rhs)
Private, bodyless copy operator=: class should not be assigned.
int m_b_yp
Definition: mv_codec.h:133
int m_sb_tlb_y
Definition: mv_codec.h:137
void DoWorkDecode(MvData &out_data)
virtual decode-only functions
int m_num_refs
Definition: mv_codec.h:139
int m_sb_yp
Definition: mv_codec.h:135
int m_sb_tlb_x
Definition: mv_codec.h:137
int m_sb_xp
Definition: mv_codec.h:135
int m_b_xp
Definition: mv_codec.h:133
Codes and decodes an array of motion vectors.
Definition: mv_codec.h:176
void InitContexts()
Initialises the contexts
int m_sb_yp
Definition: mv_codec.h:199
VectorElementCodec & operator=(const VectorElementCodec &rhs)
Private, bodyless copy operator=: class should not be assigned.
const int m_ref
Definition: mv_codec.h:205
VectorElementCodec(ByteIO *p_byteio, int ref_id, MvElement horvert, size_t number_of_contexts)
Constructor.
VectorElementCodec(const VectorElementCodec &cpy)
Private, bodyless copy constructor: class should not be copied.
int m_sb_xp
Definition: mv_codec.h:199
int m_sb_tlb_y
Definition: mv_codec.h:202
int m_b_yp
Definition: mv_codec.h:196
const MvElement m_hv
Definition: mv_codec.h:208
int Prediction(const MvArray &mvarray, const TwoDArray< PredMode > &preddata) const
int m_b_xp
Definition: mv_codec.h:196
void DecodeVal(MvData &out_data)
void CodeVal(const MvData &in_data)
void DoWorkDecode(MvData &out_data)
virtual decode-only functions
void DoWorkCode(MvData &in_data)
Does the work of actually coding the data.
int m_sb_tlb_x
Definition: mv_codec.h:202
Codes and decodes a set of DC values.
Definition: mv_codec.h:245
int m_sb_xp
Definition: mv_codec.h:266
void InitContexts()
Initialises the contexts
DCCodec(const DCCodec &cpy)
Private, bodyless copy constructor: class should not be copied.
DCCodec & operator=(const DCCodec &rhs)
Private, bodyless copy operator=: class should not be assigned.
void DecodeVal(MvData &out_data)
const CompSort m_csort
Definition: mv_codec.h:262
void DoWorkDecode(MvData &out_data)
virtual decode-only functions
int m_sb_tlb_x
Definition: mv_codec.h:268
int m_sb_yp
Definition: mv_codec.h:266
int m_b_yp
Definition: mv_codec.h:264
void DoWorkCode(MvData &in_data)
Does the work of actually coding the data.
DCCodec(ByteIO *p_byteio, const CompSort csort, size_t number_of_contexts)
Constructor.
ValueType Prediction(const TwoDArray< ValueType > &dcdata, const TwoDArray< PredMode > &preddata) const
void CodeVal(const MvData &in_data)
int m_b_xp
Definition: mv_codec.h:264
int m_sb_tlb_y
Definition: mv_codec.h:268