xoreos
0.0.5
|
Public Member Functions | |
CodebookLibrary (Common::SeekableReadStream &stream) | |
CodebookLibrary () | |
~CodebookLibrary () | |
void | rebuild (size_t i, Common::BitStreamWriter &bos) |
void | rebuild (Common::BitStream &bis, size_t size, Common::BitStreamWriter &bos) |
void | copy (Common::BitStream &bis, Common::BitStreamWriter &bos) |
Private Member Functions | |
Common::SeekableReadStream * | getCodebook (size_t i) |
Private Attributes | |
Common::SeekableReadStream * | _stream |
size_t | _count |
size_t | _offsetOffset |
Definition at line 80 of file wwriffvorbis.cpp.
Sound::CodebookLibrary::CodebookLibrary | ( | Common::SeekableReadStream & | stream | ) |
Definition at line 128 of file wwriffvorbis.cpp.
References _count, _offsetOffset, _stream, Common::ReadStream::readUint32LE(), Common::SeekableReadStream::seek(), and Common::SeekableReadStream::size().
Sound::CodebookLibrary::CodebookLibrary | ( | ) |
Definition at line 125 of file wwriffvorbis.cpp.
|
inline |
Definition at line 85 of file wwriffvorbis.cpp.
void Sound::CodebookLibrary::copy | ( | Common::BitStream & | bis, |
Common::BitStreamWriter & | bos | ||
) |
Definition at line 236 of file wwriffvorbis.cpp.
References Sound::bookMapType1QuantVals(), Common::BitStream::getBit(), Common::BitStream::getBits(), Common::intLog2(), Common::BitStreamWriter::putBit(), and Common::BitStreamWriter::putBits().
Referenced by Sound::WwRIFFVorbisStream::generateHeaderSetup().
|
private |
Definition at line 135 of file wwriffvorbis.cpp.
References _count, _offsetOffset, _stream, Common::ReadStream::readUint32LE(), and Common::SeekableReadStream::seek().
Referenced by rebuild().
void Sound::CodebookLibrary::rebuild | ( | size_t | i, |
Common::BitStreamWriter & | bos | ||
) |
Definition at line 149 of file wwriffvorbis.cpp.
References getCodebook(), and Common::BitStreamImpl< valueBits, isLE, isMSB2LSB >::size().
Referenced by Sound::WwRIFFVorbisStream::generateHeaderSetup().
void Sound::CodebookLibrary::rebuild | ( | Common::BitStream & | bis, |
size_t | size, | ||
Common::BitStreamWriter & | bos | ||
) |
Definition at line 155 of file wwriffvorbis.cpp.
References Sound::bookMapType1QuantVals(), Common::UString::c_str(), Common::composeString(), Common::BitStream::getBit(), Common::BitStream::getBits(), Common::intLog2(), Common::BitStream::pos(), Common::BitStreamWriter::putBit(), and Common::BitStreamWriter::putBits().
|
private |
Definition at line 95 of file wwriffvorbis.cpp.
Referenced by CodebookLibrary(), and getCodebook().
|
private |
Definition at line 96 of file wwriffvorbis.cpp.
Referenced by CodebookLibrary(), and getCodebook().
|
private |
Definition at line 93 of file wwriffvorbis.cpp.
Referenced by CodebookLibrary(), and getCodebook().