This commit is contained in:
parent
1ee3b8d749
commit
d0159509ec
1 changed files with 4 additions and 4 deletions
|
@ -14,18 +14,18 @@
|
||||||
|
|
||||||
|
|
||||||
namespace EydLib {
|
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:
|
private:
|
||||||
BitGroup _rle;
|
BitGroup _rle;
|
||||||
int _last_count;
|
int _last_count;
|
||||||
int _group_size;
|
int _group_size;
|
||||||
std::list<BitGroup> _uncompressed;
|
std::list<BitGroup> _uncompressed;
|
||||||
uncompressor_status_t _status;
|
uncompressorRle1_status_t _status;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
BitUncompressor::BitUncompressor(int size);
|
BitUncompressorRle1::BitUncompressorRle1(int size);
|
||||||
|
|
||||||
void clear();
|
void clear();
|
||||||
void append(BitGroup bg);
|
void append(BitGroup bg);
|
||||||
|
|
Loading…
Reference in a new issue