GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
#include <stdio.h>
#include <grass/G3d.h>
Go to the source code of this file.
Macros | |
#define | G_254_SQUARE 64516 |
#define | G_254_TIMES_2 508 |
#define | G_RLE_OUTPUT_CODE(code) (*((unsigned char *) dst++) = (code)) |
#define | G_RLE_INPUT_CODE(codeP) (*(codeP) = *((unsigned char *) src++)) |
Functions | |
int | G_rle_count_only (char *src, int nofElts, int eltLength) |
void | G_rle_encode (char *src, char *dst, int nofElts, int eltLength) |
void | G_rle_decode (char *src, char *dst, int nofElts, int eltLength, int *lengthEncode, int *lengthDecode) |
void | test_rle () |
#define G_RLE_INPUT_CODE | ( | codeP | ) | (*(codeP) = *((unsigned char *) src++)) |
#define G_RLE_OUTPUT_CODE | ( | code | ) | (*((unsigned char *) dst++) = (code)) |
Definition at line 123 of file rle.c.
References G3d_fatalError().
Referenced by G3d_flushIndex(), and G_fpcompress_writeXdrNums().
void G_rle_decode | ( | char * | src, |
char * | dst, | ||
int | nofElts, | ||
int | eltLength, | ||
int * | lengthEncode, | ||
int * | lengthDecode | ||
) |
Definition at line 223 of file rle.c.
References G3d_fatalError().
Referenced by G_fpcompress_readXdrNums().
Definition at line 166 of file rle.c.
References G3d_fatalError().
Referenced by G3d_flushIndex(), and G_fpcompress_writeXdrNums().