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::InputBit (  ) 

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

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

char dirac::BitInputManager::InputByte (  ) 

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

void dirac::BitInputManager::FlushInput (  ) 

bool dirac::BitInputManager::End (  )  const

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


Member Data Documentation

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

char dirac::BitInputManager::m_current_byte [private]

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