Dirac - A Video Codec

Created by the British Broadcasting Corporation.


dirac::PredModeCodec Class Reference

Codes and decodes the prediction modes. More...

#include <mv_codec.h>

Inheritance diagram for dirac::PredModeCodec:
[legend]
Collaboration diagram for dirac::PredModeCodec:
[legend]

List of all members.

Public Member Functions

Private Member Functions

Private Attributes


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

dirac::PredModeCodec::PredModeCodec ( const PredModeCodec cpy  )  [private]


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, virtual]

void dirac::PredModeCodec::DoWorkDecode ( MvData out_data  )  [private, virtual]

void dirac::PredModeCodec::InitContexts (  ) 

PredModeCodec& dirac::PredModeCodec::operator= ( const PredModeCodec rhs  )  [private]

unsigned int dirac::PredModeCodec::Prediction ( const TwoDArray< PredMode > &  preddata  )  const [private]

void dirac::PredModeCodec::ResetAll (  )  [private]


Member Data Documentation


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

© 2004 British Broadcasting Corporation. Dirac code licensed under the Mozilla Public License (MPL) Version 1.1.
HTML documentation generated by Dimitri van Heesch's excellent Doxygen tool.