Dirac - A Video Codec

Created by the British Broadcasting Corporation.


dirac_vu::BitmapHeader Class Reference

#include <bitmap.h>

Public Member Functions

 BitmapHeader ()
 BitmapHeader (int x, int y)
int width () const
void width (int x)
int height () const
void height (int y)
int lineBufferSize () const

Private Member Functions

std::ostream & putTo (std::ostream &output) const
std::istream & getFrom (std::istream &input)

Private Attributes

int w
int h

Friends

std::ostream & operator<< (std::ostream &stream, const BitmapHeader &header)
std::istream & operator>> (std::istream &stream, BitmapHeader &header)

Constructor & Destructor Documentation

◆ BitmapHeader() [1/2]

dirac_vu::BitmapHeader::BitmapHeader ( )
inline

Referenced by operator<<, and operator>>.

◆ BitmapHeader() [2/2]

dirac_vu::BitmapHeader::BitmapHeader ( int x,
int y )
inline

References h, and w.

Member Function Documentation

◆ getFrom()

std::istream & dirac_vu::BitmapHeader::getFrom ( std::istream & input)
private

Referenced by operator>>.

◆ height() [1/2]

int dirac_vu::BitmapHeader::height ( ) const
inline

References h.

◆ height() [2/2]

void dirac_vu::BitmapHeader::height ( int y)
inline

References h.

◆ lineBufferSize()

int dirac_vu::BitmapHeader::lineBufferSize ( ) const
inline

References w.

◆ putTo()

std::ostream & dirac_vu::BitmapHeader::putTo ( std::ostream & output) const
private

Referenced by operator<<.

◆ width() [1/2]

int dirac_vu::BitmapHeader::width ( ) const
inline

References w.

◆ width() [2/2]

void dirac_vu::BitmapHeader::width ( int x)
inline

References w.

◆ operator<<

std::ostream & operator<< ( std::ostream & stream,
const BitmapHeader & header )
friend

References BitmapHeader(), and putTo().

◆ operator>>

std::istream & operator>> ( std::istream & stream,
BitmapHeader & header )
friend

References BitmapHeader(), and getFrom().

Member Data Documentation

◆ h

int dirac_vu::BitmapHeader::h
private

Referenced by BitmapHeader(), height(), and height().

◆ w

int dirac_vu::BitmapHeader::w
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.