|
ugBASIC 1.18
An isomorphic BASIC language compiler for retrocomputers
|
#include <stdio.h>#include <string.h>#include <stdlib.h>#include <limits.h>#include <unistd.h>Go to the source code of this file.
Data Structures | |
| struct | _RLECompressor |
Typedefs | |
| typedef enum _RLECompressorState | RLECompressorState |
| typedef struct _RLECompressor | RLECompressor |
Enumerations | |
| enum | _RLECompressorState { RLE_CS_READY = 0 , RLE_CS_COUNTING = 1 , RLE_CS_EMIT = 2 , RLE_CS_EMIT_CONTINUE = 3 , RLE_CS_END_OF_BLOCK = 4 } |
Functions | |
| RLECompressor * | rle_create () |
| MemoryBlock * | rle_compress (RLECompressor *_rle, MemoryBlock *_input, int _size, int *_output_size) |
| MemoryBlock * | rle_uncompress (RLECompressor *_rle, MemoryBlock *_input, int _size, int *_output_size) |
| void | rle_free (RLECompressor *_rle) |
| typedef struct _RLECompressor RLECompressor |
| typedef enum _RLECompressorState RLECompressorState |
| enum _RLECompressorState |
| MemoryBlock * rle_compress | ( | RLECompressor * | _rle, |
| MemoryBlock * | _input, | ||
| int | _size, | ||
| int * | _output_size ) |
| RLECompressor * rle_create | ( | ) |
| void rle_free | ( | RLECompressor * | _rle | ) |
| MemoryBlock * rle_uncompress | ( | RLECompressor * | _rle, |
| MemoryBlock * | _input, | ||
| int | _size, | ||
| int * | _output_size ) |