coastline 0.0.4
Loading...
Searching...
No Matches
rle.h
Go to the documentation of this file.
1#ifndef COASTLINE_RLE_H
2#define COASTLINE_RLE_H
3
4#include "common/types.h"
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
26s32 CompressRleChannels(u8 *dst, s32 dstSize, u8 *src, s32 srcSize, s32 channels);
27
43s32 DecompressInterleavedRle(u8 *dst, s32 dstSize, u8 *src, s32 channels);
44
45#ifdef __cplusplus
46}
47#endif
48
49#endif /* COASTLINE_RLE_H */
s32 CompressRleChannels(u8 *dst, s32 dstSize, u8 *src, s32 srcSize, s32 channels)
Compress interleaved data with run lengths, each channel on its own.
s32 DecompressInterleavedRle(u8 *dst, s32 dstSize, u8 *src, s32 channels)
Expand the data CompressRleChannels() wrote, interleaving its channels again.
The integer and floating-point types of the console, for headers shared with Windows.
int s32
Definition ultratypes.h:25
unsigned char u8
Definition ultratypes.h:18