14 lines
328 B
C++

#pragma once
#include "BitReader.h"
#include <vector>
class Decompressor
{
public:
std::vector<unsigned char> decompress(int &width, int &hight);
BitReader reader;
int decode(int g);
void DEIC(std::vector<int> &C, int L, int H);
std::vector<unsigned char> predictInvers(std::vector<int> &E, int width, int hight);
};