This commit is contained in:
parent
0fb69b4c05
commit
21357f2fb5
2 changed files with 3 additions and 2 deletions
|
@ -20,11 +20,12 @@ namespace EydLib {
|
|||
BitGroup _rle;
|
||||
BitGroup _last_group;
|
||||
int _last_count;
|
||||
int _group_size;
|
||||
std::list<BitGroup> _compressed;
|
||||
|
||||
|
||||
public:
|
||||
BitCompressor();
|
||||
BitCompressor::BitCompressor(int size);
|
||||
|
||||
void clear();
|
||||
void append(BitGroup bg);
|
||||
|
|
|
@ -28,7 +28,7 @@ int main(int argc, char ** argv){
|
|||
unsigned char c = (unsigned char)cell_size;
|
||||
bitwrite.writeDirect(&c, 1);
|
||||
|
||||
EydLib::BitCompressor compressor;
|
||||
EydLib::BitCompressor compressor(cell_size);
|
||||
|
||||
printf("File opened\n");
|
||||
|
||||
|
|
Loading…
Reference in a new issue