![]() |
Shadowrun: Awakened 29 September 2011 - Build 871
|
#include <RangeCoder.hpp>
Public Member Functions | |
| void | BiasedBit (u32 b, u32 frequency) |
| bool | Fail () |
| void | Finish () |
| RangeEncoder & | operator= (RangeEncoder &cp) |
| void | Range (u32 symbol, u32 total) |
| RangeEncoder (void *output_i, int limit_i) | |
| RangeEncoder (RangeEncoder &cp) | |
| void | Text (const char *msg, const TextStatsCollector::TableFormat *stats) |
| int | Used () |
Private Member Functions | |
| CAT_INLINE void | GetTableSymbol (const TextStatsCollector::TableFormat *stats, u32 &last, u8 ch, u16 &symbol_low, u16 &symbol_range) |
| CAT_INLINE void | Normalize () |
Private Attributes | |
| int | limit |
| u64 | low |
| u8 * | output |
| u64 | range |
| int | remaining |
Definition at line 139 of file RangeCoder.hpp.
| cat::RangeEncoder::RangeEncoder | ( | void * | output_i, |
| int | limit_i | ||
| ) |
| cat::RangeEncoder::RangeEncoder | ( | RangeEncoder & | cp | ) |
| bool cat::RangeEncoder::Fail | ( | ) | [inline] |
| void cat::RangeEncoder::Finish | ( | ) |
| CAT_INLINE void cat::RangeEncoder::GetTableSymbol | ( | const TextStatsCollector::TableFormat * | stats, |
| u32 & | last, | ||
| u8 | ch, | ||
| u16 & | symbol_low, | ||
| u16 & | symbol_range | ||
| ) | [private] |
| CAT_INLINE void cat::RangeEncoder::Normalize | ( | ) | [private] |
| RangeEncoder& cat::RangeEncoder::operator= | ( | RangeEncoder & | cp | ) |
| void cat::RangeEncoder::Text | ( | const char * | msg, |
| const TextStatsCollector::TableFormat * | stats | ||
| ) |
| int cat::RangeEncoder::Used | ( | ) | [inline] |
int cat::RangeEncoder::limit [private] |
Definition at line 142 of file RangeCoder.hpp.
Referenced by Used().
u64 cat::RangeEncoder::low [private] |
Definition at line 144 of file RangeCoder.hpp.
u8* cat::RangeEncoder::output [private] |
Definition at line 141 of file RangeCoder.hpp.
Referenced by Fail().
u64 cat::RangeEncoder::range [private] |
Definition at line 144 of file RangeCoder.hpp.
int cat::RangeEncoder::remaining [private] |
Definition at line 142 of file RangeCoder.hpp.
Referenced by Used().
Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.