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

/external/jpeg/
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.c124 if (source->header.ncolors == 1 && source->header.ncmap == 0) {
127 } else if (source->header.ncolors == 1 && source->header.ncmap == 1) {
131 } else if (source->header.ncolors == 1 && source->header.ncmap == 3) {
135 } else if (source->header.ncolors == 3 && source->header.ncmap == 3) {
139 } else if (source->header.ncolors == 3 && source->header.ncmap == 0) {
166 (JDIMENSION) (width * source->header.ncolors),
296 for (channel = 0; channel < source->header.ncolors; channel++) {
H A Djquant2.c660 int i, x, ncolors; local
765 ncolors = 0;
768 colorlist[ncolors++] = (JSAMPLE) i;
770 return ncolors;
H A Dwrrle.c193 header.ncolors = cinfo->output_components;
H A Djquant1.c391 * Create an ordered-dither array for a component having ncolors
396 make_odither_array (j_decompress_ptr cinfo, int ncolors)
405 /* The inter-value distance for this color is MAXJSAMPLE/(ncolors-1).
407 * (f=0..N-1) should be (N-1-2*f)/(2*N) * MAXJSAMPLE/(ncolors-1).
410 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/libpng/contrib/libtests/
H A Dmakepng.c1241 unsigned int ncolors = 0; local
1243 while (*arg && ncolors < 4)
1264 colors[++ncolors] = (unsigned int)ul; /* checked above */
1273 *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 394 milliseconds