Utah Raster Toolkit
9999-git
URT Development version (post-3.1b)
|
Go to the source code of this file.
Macros | |
#define | VPRINTF if (verbose || header) fprintf |
#define | GRAYSCALE 001 /* 8 bits, no colormap */ |
#define | PSEUDOCOLOR 010 /* 8 bits, colormap */ |
#define | TRUECOLOR 011 /* 24 bits, colormap */ |
#define | DIRECTCOLOR 100 /* 24 bits, no colormap */ |
#define | TRUE 1 |
#define | FALSE 0 |
Typedefs | |
typedef unsigned char | U_CHAR |
Functions | |
void | read_rle_header (int *minx, int *maxx, int *miny, int *maxy) |
void | write_rlb_header (int minx, int maxx, int miny, int maxy, int frame_number) |
int | encode (U_CHAR *c_in, U_CHAR *c_out, int width) |
void | write_rlb_data () |
int | main (int argc, char **argv) |
Variables | |
RLB_HEADER | rlb_head |
rle_map * | colormap |
FILE * | fpin |
FILE * | fpout |
char | rlaname [ 8192 ] |
char | progname [30] |
char * | str |
int | visual |
int | is_alpha |
int | maplen |
int | verbose = 0 |
int | header = 0 |
int | i |
#define DIRECTCOLOR 100 /* 24 bits, no colormap */ |
Definition at line 61 of file rletorla.c.
#define FALSE 0 |
Definition at line 63 of file rletorla.c.
#define GRAYSCALE 001 /* 8 bits, no colormap */ |
Definition at line 58 of file rletorla.c.
#define PSEUDOCOLOR 010 /* 8 bits, colormap */ |
Definition at line 59 of file rletorla.c.
#define TRUE 1 |
Definition at line 62 of file rletorla.c.
#define TRUECOLOR 011 /* 24 bits, colormap */ |
Definition at line 60 of file rletorla.c.
Definition at line 57 of file rletorla.c.
typedef unsigned char U_CHAR |
Definition at line 65 of file rletorla.c.
Definition at line 241 of file rletorla.c.
Definition at line 445 of file rletorla.c.
Definition at line 86 of file rletorla.c.
void write_rlb_data | ( | ) |
Definition at line 301 of file rletorla.c.
References WINDOW_S::bottom, colormap, fpout, is_alpha, WINDOW_S::left, WINDOW_S::right, rlb_head, rle_dflt_hdr, rle_getrow(), rle_row_alloc(), WINDOW_S::top, visual, and RLB_HEADER::window.
Definition at line 174 of file rletorla.c.
rle_map* colormap |
Definition at line 74 of file rletorla.c.
Referenced by read_rle_header(), and write_rlb_data().
FILE* fpin |
Definition at line 78 of file rletorla.c.
Referenced by read_rle_header().
FILE * fpout |
Definition at line 78 of file rletorla.c.
Referenced by write_rlb_data().
int header = 0 |
Definition at line 81 of file rletorla.c.
int i |
Definition at line 82 of file rletorla.c.
int is_alpha |
Definition at line 80 of file rletorla.c.
Referenced by write_rlb_data().
int maplen |
Definition at line 80 of file rletorla.c.
Referenced by read_rle_header().
char progname[30] |
Definition at line 79 of file rletorla.c.
char rlaname[ 8192 ] |
Definition at line 79 of file rletorla.c.
RLB_HEADER rlb_head |
Definition at line 70 of file rletorla.c.
Referenced by write_rlb_data().
char * str |
Definition at line 79 of file rletorla.c.
int verbose = 0 |
Definition at line 81 of file rletorla.c.
int visual |
Definition at line 80 of file rletorla.c.
Referenced by read_rle_header(), write_ppm_data(), and write_rlb_data().