#include <stdio.h>
#include <grass/raster3d.h>
Go to the source code of this file.
|
int | Rast3d_rle_count_only (char *src, int nofElts, int eltLength) |
|
void | Rast3d_rle_encode (char *src, char *dst, int nofElts, int eltLength) |
|
void | Rast3d_rle_decode (char *src, char *dst, int nofElts, int eltLength, int *lengthEncode, int *lengthDecode) |
|
void | test_rle () |
|
◆ G_254_SQUARE
#define G_254_SQUARE 64516 |
Definition at line 4 of file rle.c.
◆ G_254_TIMES_2
#define G_254_TIMES_2 508 |
Definition at line 5 of file rle.c.
◆ G_RLE_INPUT_CODE
#define G_RLE_INPUT_CODE |
( |
|
codeP | ) |
(*(codeP) = *((unsigned char *) src++)) |
Definition at line 8 of file rle.c.
◆ G_RLE_OUTPUT_CODE
#define G_RLE_OUTPUT_CODE |
( |
|
code | ) |
(*((unsigned char *) dst++) = (code)) |
Definition at line 7 of file rle.c.
◆ Rast3d_rle_count_only()
int Rast3d_rle_count_only |
( |
char * |
src, |
|
|
int |
nofElts, |
|
|
int |
eltLength |
|
) |
| |
◆ Rast3d_rle_decode()
void Rast3d_rle_decode |
( |
char * |
src, |
|
|
char * |
dst, |
|
|
int |
nofElts, |
|
|
int |
eltLength, |
|
|
int * |
lengthEncode, |
|
|
int * |
lengthDecode |
|
) |
| |
◆ Rast3d_rle_encode()
void Rast3d_rle_encode |
( |
char * |
src, |
|
|
char * |
dst, |
|
|
int |
nofElts, |
|
|
int |
eltLength |
|
) |
| |
◆ test_rle()