make own compilation unit for panasonic decoders

This commit is contained in:
Ingo Weyrich
2019-11-06 23:07:41 +01:00
parent 70a00d335a
commit 2da0990433
4 changed files with 277 additions and 272 deletions

View File

@@ -411,18 +411,6 @@ private:
unsigned encoding;
};
class pana_cs6_page_decoder
{
unsigned int pixelbuffer[14], lastoffset, maxoffset;
unsigned char current, *buffer;
public:
pana_cs6_page_decoder(unsigned char *_buffer, unsigned int bsize)
: lastoffset(0), maxoffset(bsize), current(0), buffer(_buffer)
{
}
void read_page(); // will throw IO error if not enough space in buffer
unsigned int nextpixel() { return current < 14 ? pixelbuffer[current++] : 0; }
};
void panasonicC6_load_raw();
void panasonicC7_load_raw();