- Main Page
- Namespaces
- Classes
- Files
- Directories

- Class List
- Class Hierarchy
- Class Members

# dirac::MvDataCodec Class Reference

Codes and decodes all the Motion Vector data. More...

`#include <mv_codec.h>`

Inheritance diagram for dirac::MvDataCodec:

List of all members.

## Public Member Functions
| MvDataCodec (BasicOutputManager *bits_out, size_t number_of_contexts, const ChromaFormat &cf)
| Constructor for encoding.
| MvDataCodec (BitInputManager *bits_in, size_t number_of_contexts, const ChromaFormat &cf)
| Constructor for decoding.
void | InitContexts ()
| Initialises the contexts.

## Detailed Description

Codes and decodes all the Motion Vector data.

Derived from the ArithCodec class, this codes and decodes all the motion vector data.

Definition at line 59 of file mv_codec.h.

## Constructor & Destructor Documentation

MvDataCodec::MvDataCodec | ( | BasicOutputManager * | bits_out,
|  | size_t | number_of_contexts,
|  | const ChromaFormat & | cf
| ) |

  | Constructor for encoding. Creates a MvDataCodec object to encode MV data, based on parameters Parameters:
  | bits_out | the output for the encoded bits
  | number_of_contexts | the contexts used in the encoding process
  | cf | the chroma format
Definition at line 44 of file mv_codec.cpp.

MvDataCodec::MvDataCodec | ( | BitInputManager * | bits_in,
|  | size_t | number_of_contexts,
|  | const ChromaFormat & | cf
| ) |

  | Constructor for decoding. Creates a MvDataCodec object to encode MV data, based on parameters Parameters:
  | bits_in | the input for the encoded bits
  | number_of_contexts | the contexts used in the encoding process
  | cf | the chroma format
Definition at line 54 of file mv_codec.cpp.

The documentation for this class was generated from the following files:

- C:/guliverkli/src/filters/parser/diracsplitter/libdirac/libdirac_common/mv_codec.h
- C:/guliverkli/src/filters/parser/diracsplitter/libdirac/libdirac_common/mv_codec.cpp