Массив, сжатый методом RLE. More...
#include <rle_compress.h>
Public Member Functions | |
RLEBuffer (const RLEBuffer &buf) | |
RLEBuffer & | operator= (const RLEBuffer &buf) |
bool | encode (int sx, int sy, const byte *buf) |
bool | decode_line (int y, byte *out_buf) const |
bool | decode_line (int y, int buffer_id=0) const |
bool | decode_pixel (int x, int y, uint32 &pixel) |
void | resize_buffers () |
uint32 | size () |
int | line_length () |
int | line_header_length (int line_num) const |
uint32 | header_size () const |
uint32 | data_size () const |
const int8 * | header_ptr (int y=0) const |
const uint32 * | data_ptr (int y=0) const |
bool | load (Common::SeekableReadStream *fh) |
bool | convert_data (int bits_per_pixel=16) |
Static Public Member Functions | |
static const byte * | get_buffer (int buffer_id) |
static void | releaseBuffers () |
Friends | |
bool | operator== (const RLEBuffer &buf1, const RLEBuffer &buf2) |
Массив, сжатый методом RLE.