Searched refs:ncolors (Results 1 – 10 of 10) sorted by relevance
51 int ncolors = cinfo->actual_number_of_colors; in add_map_entry() local55 for (index = 0; index < ncolors; index++) { in add_map_entry()63 if (ncolors >= (MAXJSAMPLE+1)) in add_map_entry()67 colormap0[ncolors] = (JSAMPLE) R; in add_map_entry()68 colormap1[ncolors] = (JSAMPLE) G; in add_map_entry()69 colormap2[ncolors] = (JSAMPLE) B; in add_map_entry()
126 if (source->header.ncolors == 1 && source->header.ncmap == 0) { in start_input_rle()129 } else if (source->header.ncolors == 1 && source->header.ncmap == 1) { in start_input_rle()133 } else if (source->header.ncolors == 1 && source->header.ncmap == 3) { in start_input_rle()137 } else if (source->header.ncolors == 3 && source->header.ncmap == 3) { in start_input_rle()141 } else if (source->header.ncolors == 3 && source->header.ncmap == 0) { in start_input_rle()168 (JDIMENSION) (width * source->header.ncolors), in start_input_rle()297 for (channel = 0; channel < source->header.ncolors; channel++) { in load_image()
639 int i, x, ncolors; in find_nearby_colors() local744 ncolors = 0; in find_nearby_colors()747 colorlist[ncolors++] = (JSAMPLE) i; in find_nearby_colors()749 return ncolors; in find_nearby_colors()
398 make_odither_array (j_decompress_ptr cinfo, int ncolors) in make_odither_array() argument412 den = 2 * ODITHER_CELLS * ((INT32) (ncolors - 1)); in make_odither_array()
195 header.ncolors = cinfo->output_components; in finish_output_rle()
273 private int[] readColorTable(int ncolors) { in readColorTable() argument274 int nbytes = 3 * ncolors; in readColorTable()286 while (i < ncolors) { in readColorTable()
661 int i, x, ncolors; in find_nearby_colors() local766 ncolors = 0; in find_nearby_colors()769 colorlist[ncolors++] = (JSAMPLE) i; in find_nearby_colors()771 return ncolors; in find_nearby_colors()
397 make_odither_array (j_decompress_ptr cinfo, int ncolors) in make_odither_array() argument411 den = 2 * ODITHER_CELLS * ((INT32) (ncolors - 1)); in make_odither_array()
1642 unsigned int ncolors = 0; in parse_color() local1644 while (*arg && ncolors < 4) in parse_color()1665 colors[++ncolors] = (unsigned int)ul; /* checked above */ in parse_color()1674 *colors = ncolors; in parse_color()
META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...