29 int verbose_flag = 0, double_flag = 0, exposures = 1, exp_flag = 0;
33 "% v%- d%- c%- f%- p%-xpos!dyposn!d e%-num!d infile!s",
34 &verbose_flag, &double_flag, ¢er_flag,
36 &exp_flag, &exposures, &filename ))
55 fprintf(
"Can't pipe color data to %s.\n", hdr.
cmd );
86 rows[color] = camera_data;
92 hdr.
xmax + 1, ysize, fourK );
94 for (y = hdr.
ymin; y <= hdr.
ymax; y++)
97 rows[color] = &(rows[color][hdr.
xmax+1]);
100 for ( i = 0; i < exposures; i++)
#define RLE_SET_BIT(glob, bit)
int scanargs(int argc, char **argv, const char *format,...)
int init_qcr(short verbose)
send_pixel_image(int color, char *buff, int len)
void rle_names(rle_hdr *the_hdr, const char *pgmname, const char *fname, int img_num)
set_up_qcr_nc(xstart, ystart, xsize, ysize, fourK)
#define RLE_CLR_BIT(glob, bit)
FILE * rle_open_f(const char *prog_name, const char *f_name, const char *mode)
set_up_qcr(int x_size, int y_size, int nslice, int offset)
char * cmd_name(char **argv)
void rle_get_setup_ok(rle_hdr *the_hdr, const char *prog_name, const char *file_name)
int rle_getrow(rle_hdr *the_hdr, rle_pixel *scanline[])
#define RLE_CHECK_ALLOC(pgm, ptr, name)
rle_hdr * rle_hdr_init(rle_hdr *the_hdr)