#include <stdio.h>
#include "rle.h"
Go to the source code of this file.
void rasterInit |
( |
int |
fd, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
Definition at line 31 of file rle.c.
48 rleFile = fdopen(
fd,
"r");
54 fprintf(stderr,
"Warning: RLE width (%d) exceeds maximum (%d)\n",
58 fprintf(stderr,
"Warning: RLE height (%d) exceeds maximum (%d)\n",
64 sizeof(
unsigned char *));
void rle_names(rle_hdr *the_hdr, const char *pgmname, const char *fname, int img_num)
void rle_get_setup_ok(rle_hdr *the_hdr, const char *prog_name, const char *file_name)
rle_hdr * rle_hdr_init(rle_hdr *the_hdr)
void rasterRowGet |
( |
unsigned char * |
red, |
|
|
unsigned char * |
green, |
|
|
unsigned char * |
blue |
|
) |
| |
Definition at line 75 of file rle.c.
81 for (i = 0; i <
Globals.width; i++) {
90 for (i = 0 ; i < max; i++) {
95 for (; i <
Globals.width; i++) {
static unsigned char blue[256]
static unsigned char green[256]
static unsigned char red[256]
int rle_getrow(rle_hdr *the_hdr, rle_pixel *scanline[])
Definition at line 21 of file rle.c.
Definition at line 25 of file rle.c.
char rcsid[] = "$Header:$" |
|
static |
Definition at line 8 of file rle.c.
Definition at line 27 of file rle.c.
Definition at line 26 of file rle.c.
Definition at line 24 of file rle.c.