Lines Matching refs:header
70 rle_hdr header; /* Input file information */ member
90 source->header = *rle_hdr_init(NULL); in start_input_rle()
91 source->header.rle_file = source->pub.input_file; in start_input_rle()
92 switch (rle_get_setup(&(source->header))) { in start_input_rle()
115 width = source->header.xmax - source->header.xmin + 1; in start_input_rle()
116 height = source->header.ymax - source->header.ymin + 1; in start_input_rle()
117 source->header.xmin = 0; /* realign horizontally */ in start_input_rle()
118 source->header.xmax = width-1; in start_input_rle()
124 if (source->header.ncolors == 1 && source->header.ncmap == 0) { in start_input_rle()
127 } else if (source->header.ncolors == 1 && source->header.ncmap == 1) { in start_input_rle()
130 1 << source->header.cmaplen); in start_input_rle()
131 } else if (source->header.ncolors == 1 && source->header.ncmap == 3) { in start_input_rle()
134 1 << source->header.cmaplen); in start_input_rle()
135 } else if (source->header.ncolors == 3 && source->header.ncmap == 3) { in start_input_rle()
138 1 << source->header.cmaplen); in start_input_rle()
139 } else if (source->header.ncolors == 3 && source->header.ncmap == 0) { in start_input_rle()
166 (JDIMENSION) (width * source->header.ncolors), in start_input_rle()
213 colormap = source->header.cmap; in get_pseudocolor_row()
253 colormap = source->header.cmap; in load_image()
260 RLE_CLR_BIT(source->header, RLE_ALPHA); /* don't read the alpha channel */ in load_image()
277 rle_getrow(&source->header, rle_row); in load_image()
293 rle_getrow(&source->header, rle_row); in load_image()
296 for (channel = 0; channel < source->header.ncolors; channel++) { in load_image()
315 rle_getrow(&source->header, rle_row); in load_image()