Geant4
10.00.p03
|
#include <G4RTOutBitStream.hh>
Public Member Functions | |
G4OutBitStream (int size) | |
~G4OutBitStream () | |
void | SetBits (int v, int numBits) |
void | SetByte (u_char dat) |
void | SetWord (u_int dat) |
void | CopyByte (const char *src, int n) |
u_char * | GetStreamAddress (void) |
int | GetStreamSize (void) |
Protected Member Functions | |
void | IncBuf (void) |
void | FullBit (void) |
void | Set8Bits (u_char v, int numBits) |
void | SetFewBits (u_char v, int numBits) |
void | SetBits2Byte (u_char v, int numBits) |
Protected Attributes | |
u_char * | mHeadOfBuf |
u_char * | mBuf |
u_char * | mEndOfBuf |
int | mBitPos |
int | mWriteFlag |
Definition at line 44 of file G4RTOutBitStream.hh.
G4OutBitStream::G4OutBitStream | ( | int | size | ) |
Definition at line 38 of file G4RTOutBitStream.cc.
References mBitPos, mBuf, mEndOfBuf, mHeadOfBuf, and mWriteFlag.
G4OutBitStream::~G4OutBitStream | ( | ) |
Definition at line 55 of file G4RTOutBitStream.cc.
References mBuf.
void G4OutBitStream::CopyByte | ( | const char * | src, |
int | n | ||
) |
Definition at line 158 of file G4RTOutBitStream.cc.
References FullBit(), mBuf, mEndOfBuf, and n.
Referenced by G4JpegCoder::WriteHeader().
|
protected |
Definition at line 125 of file G4RTOutBitStream.cc.
References BitFullMaskT, mBitPos, and SetFewBits().
Referenced by CopyByte(), SetByte(), and SetWord().
|
inline |
Definition at line 54 of file G4RTOutBitStream.hh.
References mHeadOfBuf.
Referenced by G4JpegCoder::GetJpegData().
|
inline |
Definition at line 55 of file G4RTOutBitStream.hh.
Referenced by G4JpegCoder::GetJpegData().
|
protected |
Definition at line 61 of file G4RTOutBitStream.cc.
References mBuf, mEndOfBuf, and mWriteFlag.
Referenced by SetBits2Byte(), SetByte(), SetFewBits(), and SetWord().
|
protected |
Definition at line 115 of file G4RTOutBitStream.cc.
References mBitPos, SetBits2Byte(), and SetFewBits().
Referenced by SetBits().
void G4OutBitStream::SetBits | ( | int | v, |
int | numBits | ||
) |
Definition at line 70 of file G4RTOutBitStream.cc.
References Set8Bits().
Referenced by G4JpegCoder::CodeHuffman().
|
protected |
Definition at line 99 of file G4RTOutBitStream.cc.
References BitFullMaskT, IncBuf(), mBitPos, and mBuf.
Referenced by Set8Bits().
void G4OutBitStream::SetByte | ( | u_char | dat | ) |
Definition at line 132 of file G4RTOutBitStream.cc.
References FullBit(), IncBuf(), mBuf, and mWriteFlag.
Referenced by G4JpegCoder::WriteEOI(), and G4JpegCoder::WriteHeader().
|
protected |
Definition at line 84 of file G4RTOutBitStream.cc.
References BitFullMaskT, IncBuf(), mBitPos, and mBuf.
Referenced by FullBit(), and Set8Bits().
void G4OutBitStream::SetWord | ( | u_int | dat | ) |
Definition at line 144 of file G4RTOutBitStream.cc.
References FullBit(), IncBuf(), mBuf, and mWriteFlag.
Referenced by G4JpegCoder::WriteHeader().
|
protected |
Definition at line 62 of file G4RTOutBitStream.hh.
Referenced by FullBit(), G4OutBitStream(), Set8Bits(), SetBits2Byte(), and SetFewBits().
|
protected |
Definition at line 60 of file G4RTOutBitStream.hh.
Referenced by CopyByte(), G4OutBitStream(), IncBuf(), SetBits2Byte(), SetByte(), SetFewBits(), SetWord(), and ~G4OutBitStream().
|
protected |
Definition at line 61 of file G4RTOutBitStream.hh.
Referenced by CopyByte(), G4OutBitStream(), and IncBuf().
|
protected |
Definition at line 55 of file G4RTOutBitStream.hh.
Referenced by G4OutBitStream(), and GetStreamAddress().
|
protected |
Definition at line 63 of file G4RTOutBitStream.hh.
Referenced by G4OutBitStream(), IncBuf(), SetByte(), and SetWord().