ugBASIC 1.18
An isomorphic BASIC language compiler for retrocomputers
Loading...
Searching...
No Matches
rle.c File Reference
#include "rle.h"

Go to the source code of this file.

Functions

RLECompressorrle_create ()
void rle_echo_state (RLECompressor *_rle, char _current, int _count)
MemoryBlockrle_compress (RLECompressor *_rle, MemoryBlock *_input, int _size, int *_output_size)
void rle_free (RLECompressor *_rle)
MemoryBlockrle_uncompress (RLECompressor *_rle, MemoryBlock *_input, int _size, int *_output_size)

Function Documentation

◆ rle_compress()

MemoryBlock * rle_compress ( RLECompressor * _rle,
MemoryBlock * _input,
int _size,
int * _output_size )

Definition at line 88 of file rle.c.

◆ rle_create()

RLECompressor * rle_create ( )

Definition at line 41 of file rle.c.

◆ rle_echo_state()

void rle_echo_state ( RLECompressor * _rle,
char _current,
int _count )

Definition at line 51 of file rle.c.

◆ rle_free()

void rle_free ( RLECompressor * _rle)

Definition at line 224 of file rle.c.

◆ rle_uncompress()

MemoryBlock * rle_uncompress ( RLECompressor * _rle,
MemoryBlock * _input,
int _size,
int * _output_size )

Definition at line 230 of file rle.c.