Dirac - A Video Codec

Created by the British Broadcasting Corporation.


dirac::ArithCodec< T >::ProbInterval Class Reference

A class for encapsulating interval fractions for use in arithmetic coding. More...

#include <arith_codec.h>

List of all members.

Public Member Functions

Private Attributes


Detailed Description

template<class T>
class dirac::ArithCodec< T >::ProbInterval

A class for encapsulating a subinterval of the unit interval [0,1) (0<=x<1) as a start value and a stop value (numerators) considered as numbers between 0 and 1024 inclusive.


Constructor & Destructor Documentation

template<class T>
dirac::ArithCodec< T >::ProbInterval::ProbInterval  )  [inline]
 

template<class T>
dirac::ArithCodec< T >::ProbInterval::ProbInterval calc_t  start,
calc_t  stop
[inline]
 

template<class T>
dirac::ArithCodec< T >::ProbInterval::ProbInterval const ProbInterval rhs  )  [inline]
 


Member Function Documentation

template<class T>
ProbInterval& dirac::ArithCodec< T >::ProbInterval::operator= const ProbInterval rhs  )  [inline]
 

template<class T>
void dirac::ArithCodec< T >::ProbInterval::SetValues const calc_t  start,
const calc_t  stop
[inline]
 

template<class T>
calc_t dirac::ArithCodec< T >::ProbInterval::Start  )  const [inline]
 

template<class T>
calc_t dirac::ArithCodec< T >::ProbInterval::Stop  )  const [inline]
 


Member Data Documentation

template<class T>
calc_t dirac::ArithCodec< T >::ProbInterval::m_start [private]
 

template<class T>
calc_t dirac::ArithCodec< T >::ProbInterval::m_stop [private]
 


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.