Dirac - A Video Codec

Created by the British Broadcasting Corporation.


dirac::ArithCodec< T >::Triple 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 >::Triple

A class for encapsulating a subinterval of the unit interval [0,1) (0<=x<1) as a start value, a stop value (numerators) and a weight value (the denominator). The interval is the to be interpreted as [m_start/m_weight,m_stop/m_weight).


Constructor & Destructor Documentation

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

template<class T>
dirac::ArithCodec< T >::Triple::Triple code_t  start,
code_t  stop,
code_t  weight
[inline]
 

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


Member Function Documentation

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

template<class T>
void dirac::ArithCodec< T >::Triple::SetValues const code_t  start,
const code_t  stop,
const code_t  wt
[inline]
 

template<class T>
code_t dirac::ArithCodec< T >::Triple::Start  )  const [inline]
 

template<class T>
code_t dirac::ArithCodec< T >::Triple::Stop  )  const [inline]
 

template<class T>
code_t dirac::ArithCodec< T >::Triple::Weight  )  const [inline]
 


Member Data Documentation

template<class T>
code_t dirac::ArithCodec< T >::Triple::m_start [private]
 

template<class T>
code_t dirac::ArithCodec< T >::Triple::m_stop [private]
 

template<class T>
code_t dirac::ArithCodec< T >::Triple::m_weight [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.