Home
last modified time | relevance | path

Searched refs:ncolors (Results 1 – 10 of 10) sorted by relevance

/external/libjpeg-turbo/
Drdcolmap.c51 int ncolors = cinfo->actual_number_of_colors; in add_map_entry() local
55 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()
Drdrle.c126 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()
Djquant2.c639 int i, x, ncolors; in find_nearby_colors() local
744 ncolors = 0; in find_nearby_colors()
747 colorlist[ncolors++] = (JSAMPLE) i; in find_nearby_colors()
749 return ncolors; in find_nearby_colors()
Djquant1.c398 make_odither_array (j_decompress_ptr cinfo, int ncolors) in make_odither_array() argument
412 den = 2 * ODITHER_CELLS * ((INT32) (ncolors - 1)); in make_odither_array()
Dwrrle.c195 header.ncolors = cinfo->output_components; in finish_output_rle()
/external/glide/third_party/gif_decoder/src/main/java/com/bumptech/glide/gifdecoder/
DGifHeaderParser.java273 private int[] readColorTable(int ncolors) { in readColorTable() argument
274 int nbytes = 3 * ncolors; in readColorTable()
286 while (i < ncolors) { in readColorTable()
/external/opencv3/3rdparty/libjpeg/
Djquant2.c661 int i, x, ncolors; in find_nearby_colors() local
766 ncolors = 0; in find_nearby_colors()
769 colorlist[ncolors++] = (JSAMPLE) i; in find_nearby_colors()
771 return ncolors; in find_nearby_colors()
Djquant1.c397 make_odither_array (j_decompress_ptr cinfo, int ncolors) in make_odither_array() argument
411 den = 2 * ODITHER_CELLS * ((INT32) (ncolors - 1)); in make_odither_array()
/external/libpng/contrib/libtests/
Dmakepng.c1642 unsigned int ncolors = 0; in parse_color() local
1644 while (*arg && ncolors < 4) in parse_color()
1665 colors[++ncolors] = (unsigned int)ul; /* checked above */ in parse_color()
1674 *colors = ncolors; in parse_color()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...