Fix Mingw compiling
[jpcrr.git] / streamtools / dedup.hpp
blob7c84e359b90f7faef097e0c35b9a2ec378dd78dd
1 #ifndef _dedup__hpp__included__
2 #define _dedup__hpp__included__
4 #include <vector>
5 #include <stdint.h>
6 #include "resize.hpp"
8 class dedup
10 public:
11 dedup(uint32_t max, uint32_t width, uint32_t height);
12 bool operator()(const uint8_t* buffer);
13 private:
14 std::vector<uint8_t> framebuffer;
15 uint32_t bound;
16 uint32_t current;
19 #endif