aboutsummaryrefslogtreecommitdiff
path: root/common/bitstream.h
AgeCommit message (Collapse)Author
2019-04-13COMMON: Rework the BitStream class to improve its performanceBastien Bouclet
* Fixed peekBits not to seek the underlying stream. Seeking can be slow when the stream is a file. * Changed multi-bit operations to work on multiple bits at once rather than iterating over single-bit operations. This is an almost direct port of a patch for xoreos provided by DrMcCoy.
2017-08-24COMMON: Optimize BitStream::getBitsWillem Jan Palenstijn
2017-08-24COMMON: Add BitStream classes for memory buffersWillem Jan Palenstijn
2017-08-24COMMON: Keep track of bitstream positionWillem Jan Palenstijn
2017-08-24COMMON: Cache BitStream sizeWillem Jan Palenstijn
2017-08-24COMMON: Remove BitStream base class to allow inlining callsWillem Jan Palenstijn
All users of BitStream were in fact using a specific, hardcoded variant, so we can hardcode that variant, removing the need for virtual calls, and enabling inlining.
2016-09-10COMMON: Converted Common::BitStream to use DisposeAfterUsePaul Gilbert
2014-06-09COMMON: Added align() method for BitStreamEugene Sandulenko
2014-02-18COMMON: Make GPL headers consistent in themselves.Johannes Schickel
2011-10-21COMMON: Extend some method comments in Common::BitStreamSven Hesse
Adding examples to getBits() and addBit().
2011-10-21COMMON: Fix potential UB while shifting Common::BitStreamSven Hesse
Shifting a 32-bit value by more than 31 is undefined.
2011-08-27COMMON: Rewrite BitStream as a templateSven Hesse
This rewrites BitStream as a template, allowing for more different memory layouts of the actual bit data.
2011-07-19COMMON: Document the BitStream a bit moreSven Hesse
2011-07-18COMMON: Update class documentation to say they're now used by SCUMMMatthew Hoops
2011-07-18COMMON: Remove USE_BINK checks from header filesMatthew Hoops
2011-07-13BUILD: Allow for disabling Bink supportMatthew Hoops
2011-07-02COMMON: Add a BitStream classMatthew Hoops
Based on eos' BitStream