dirac::VectorElementCodec Class Reference
Codes and decodes an array of motion vectors.
More...
#include <mv_codec.h>
List of all members.
Public Member Functions
Private Member Functions
Private Attributes
Detailed Description
Derived from the ArithCodec class, this codes and decodes a motion vector element (vertical or horizontal)
Constructor & Destructor Documentation
dirac::VectorElementCodec::VectorElementCodec |
( |
ByteIO * |
p_byteio, |
|
|
int |
ref_id, |
|
|
MvElement |
horvert, |
|
|
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 |
| ref_id | The identity of the reference (1 or 2) |
| horvert | The identity of the vector element (horizontal or vertical) |
| number_of_contexts | the number of contexts used |
dirac::VectorElementCodec::VectorElementCodec |
( |
const VectorElementCodec & |
cpy |
) |
[private] |
Member Function Documentation
void dirac::VectorElementCodec::CodeVal |
( |
const MvData & |
in_data |
) |
[private] |
void dirac::VectorElementCodec::DecodeVal |
( |
MvData & |
out_data |
) |
[private] |
void dirac::VectorElementCodec::DoWorkCode |
( |
MvData & |
in_data |
) |
[private, virtual] |
void dirac::VectorElementCodec::DoWorkDecode |
( |
MvData & |
out_data |
) |
[private, virtual] |
void dirac::VectorElementCodec::InitContexts |
( |
|
) |
|
int dirac::VectorElementCodec::Prediction |
( |
const MvArray & |
mvarray, |
|
|
const TwoDArray< PredMode > & |
preddata | |
|
) |
| | const [private] |
void dirac::VectorElementCodec::ResetAll |
( |
|
) |
[private] |
Member Data Documentation
The documentation for this class was generated from the following file: