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

/external/libjpeg-turbo/
H A Drdcolmap.c51 int ncolors = cinfo->actual_number_of_colors; local
55 for (index = 0; index < ncolors; index++) {
63 if (ncolors >= (MAXJSAMPLE+1))
67 colormap0[ncolors] = (JSAMPLE) R;
68 colormap1[ncolors] = (JSAMPLE) G;
69 colormap2[ncolors] = (JSAMPLE) B;
H A Drdrle.c126 if (source->header.ncolors == 1 && source->header.ncmap == 0) {
129 } else if (source->header.ncolors == 1 && source->header.ncmap == 1) {
133 } else if (source->header.ncolors == 1 && source->header.ncmap == 3) {
137 } else if (source->header.ncolors == 3 && source->header.ncmap == 3) {
141 } else if (source->header.ncolors == 3 && source->header.ncmap == 0) {
168 (JDIMENSION) (width * source->header.ncolors),
297 for (channel = 0; channel < source->header.ncolors; channel++) {
H A Djquant2.c639 int i, x, ncolors; local
744 ncolors = 0;
747 colorlist[ncolors++] = (JSAMPLE) i;
749 return ncolors;
H A Dwrrle.c195 header.ncolors = cinfo->output_components;
H A Djquant1.c393 * Create an ordered-dither array for a component having ncolors
398 make_odither_array (j_decompress_ptr cinfo, int ncolors)
407 /* The inter-value distance for this color is MAXJSAMPLE/(ncolors-1).
409 * (f=0..N-1) should be (N-1-2*f)/(2*N) * MAXJSAMPLE/(ncolors-1).
412 den = 2 * ODITHER_CELLS * ((INT32) (ncolors - 1));
/external/glide/third_party/gif_decoder/src/main/java/com/bumptech/glide/gifdecoder/
H A DGifHeaderParser.java270 * @param ncolors int number of colors to read.
273 private int[] readColorTable(int ncolors) { argument
274 int nbytes = 3 * ncolors;
286 while (i < ncolors) {
/external/opencv3/3rdparty/libjpeg/
H A Djquant2.c661 int i, x, ncolors; local
766 ncolors = 0;
769 colorlist[ncolors++] = (JSAMPLE) i;
771 return ncolors;
H A Djquant1.c392 * Create an ordered-dither array for a component having ncolors
397 make_odither_array (j_decompress_ptr cinfo, int ncolors)
406 /* The inter-value distance for this color is MAXJSAMPLE/(ncolors-1).
408 * (f=0..N-1) should be (N-1-2*f)/(2*N) * MAXJSAMPLE/(ncolors-1).
411 den = 2 * ODITHER_CELLS * ((INT32) (ncolors - 1));
/external/libpng/contrib/libtests/
H A Dmakepng.c1642 unsigned int ncolors = 0; local
1644 while (*arg && ncolors < 4)
1665 colors[++ncolors] = (unsigned int)ul; /* checked above */
1674 *colors = ncolors;
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 398 milliseconds