Dirac - A Video Codec

Created by the British Broadcasting Corporation.


dirac::BitInputManager Class Reference

A class for managing bit-wise and byte-wise input.

#include <bit_manager.h>

List of all members.

Public Member Functions

Private Member Functions

Private Attributes


Constructor & Destructor Documentation

dirac::BitInputManager::BitInputManager std::istream *  in_data  ) 
 

Constructor. Wraps around an istream object.

dirac::BitInputManager::~BitInputManager  )  [inline]
 


Member Function Documentation

bool dirac::BitInputManager::End  )  const
 

void dirac::BitInputManager::FlushInput  ) 
 

void dirac::BitInputManager::InitInputStream  )  [private]
 

bool dirac::BitInputManager::InputBit int &  count,
const int  max_count
 

bool dirac::BitInputManager::InputBit int &  count  ) 
 

bool dirac::BitInputManager::InputBit  ) 
 

char dirac::BitInputManager::InputByte  ) 
 

void dirac::BitInputManager::InputBytes char *  cptr,
int  num
 


Member Data Documentation

char dirac::BitInputManager::m_current_byte [private]
 

int dirac::BitInputManager::m_input_bits_left [private]
 

std::istream* dirac::BitInputManager::m_ip_ptr [private]
 

unsigned int dirac::BitInputManager::m_shift [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.