This commit is contained in:
glenux 2005-10-30 23:35:49 +00:00
parent 1ee3b8d749
commit d0159509ec

View file

@ -14,18 +14,18 @@
namespace EydLib {
typedef enum {UNCOMPRESSOR_STATUS_NORMAL, UNCOMPRESSOR_STATUS_GOTLEN, UNCOMPRESSOR_STATUS_GOTRLE} uncompressor_status_t;
typedef enum {UNCOMPRESSOR_STATUS_NORMAL, UNCOMPRESSOR_STATUS_GOTLEN, UNCOMPRESSOR_STATUS_GOTRLE} uncompressorRle1_status_t;
class BitUncompressor {
class BitUncompressorRle1 {
private:
BitGroup _rle;
int _last_count;
int _group_size;
std::list<BitGroup> _uncompressed;
uncompressor_status_t _status;
uncompressorRle1_status_t _status;
public:
BitUncompressor::BitUncompressor(int size);
BitUncompressorRle1::BitUncompressorRle1(int size);
void clear();
void append(BitGroup bg);