resonance 1.0.1
Loading...
Searching...
No Matches
arle8reader.h
Go to the documentation of this file.
1#pragma once
2
5
29public:
38 unsigned char *UnpackRow(unsigned char *pDest);
39
51 void UnpackAll(unsigned char *pDest);
52
62 void SkipRow(int nRows);
63
64 const unsigned char *mSource;
65 short mWidth;
66 short mPad06;
68};
constexpr int kARleReaderNoTransparentValue
Value of ARle8Reader::mTransparentValue that stores every decoded byte.
Definition arle8reader.h:4
Cursor over a run length encoded eight bit pixel stream.
Definition arle8reader.h:28
void UnpackAll(unsigned char *pDest)
Decode rows into a buffer until the stream terminates.
short mPad06
Definition arle8reader.h:66
int mTransparentValue
Definition arle8reader.h:67
const unsigned char * mSource
Definition arle8reader.h:64
unsigned char * UnpackRow(unsigned char *pDest)
Decode one row into a buffer.
void SkipRow(int nRows)
Advance past a number of rows without writing.
short mWidth
Definition arle8reader.h:65