Searched refs:ncolors (Results 1 – 11 of 11) sorted by relevance
/external/libjpeg-turbo/ |
D | rdcolmap.c | 51 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()
|
D | rdrle.c | 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()
|
D | jquant2.c | 639 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()
|
D | jquant1.c | 398 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()
|
D | wrrle.c | 195 header.ncolors = cinfo->output_components; in finish_output_rle()
|
/external/ImageMagick/coders/ |
D | sixel.c | 234 … size_t /* out */ *ncolors /* palette size (<= 256) */) in sixel_decode() 534 *ncolors = max_color_index + 1; in sixel_decode() 535 *palette = (unsigned char *) AcquireQuantumMemory(*ncolors,4); in sixel_decode() 536 for (n = 0; n < (ssize_t) *ncolors; ++n) { in sixel_decode() 648 sixel_node_t *np, int ncolors, int keycolor) in sixel_put_node() argument 652 if (ncolors != 2 || keycolor == -1) { in sixel_put_node() 676 unsigned char *palette, size_t ncolors, int keycolor, in sixel_encode_impl() argument 696 if (ncolors < 1) { in sixel_encode_impl() 699 len = ncolors * width; in sixel_encode_impl() 723 if (ncolors != 2 || keycolor == -1) { in sixel_encode_impl() [all …]
|
D | xwd.c | 319 if (header.ncolors != 0) in ReadXWDImage() 324 length=(size_t) header.ncolors; in ReadXWDImage() 331 for (i=0; i < (ssize_t) header.ncolors; i++) in ReadXWDImage() 352 for (i=0; i < (ssize_t) header.ncolors; i++) in ReadXWDImage() 404 if ((header.ncolors == 0U) || (ximage->red_mask != 0) || in ReadXWDImage() 409 image->colors=header.ncolors; in ReadXWDImage() 464 if (index < header.ncolors) in ReadXWDImage() 468 if (index < header.ncolors) in ReadXWDImage() 472 if (index < header.ncolors) in ReadXWDImage() 563 if (header.ncolors != 0) in ReadXWDImage() [all …]
|
/external/glide/third_party/gif_decoder/src/main/java/com/bumptech/glide/gifdecoder/ |
D | GifHeaderParser.java | 273 private int[] readColorTable(int ncolors) { in readColorTable() argument 274 int nbytes = 3 * ncolors; in readColorTable() 286 while (i < ncolors) { in readColorTable()
|
/external/ImageMagick/MagickCore/ |
D | xwdfile.h_vms | 85 CARD32 ncolors B32; /* Number of XWDColor structures */ 96 * the file. XWDFileHeader.ncolors tells how many XWDColor structures
|
/external/libpng/contrib/libtests/ |
D | makepng.c | 1642 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/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletSoftBody/ |
D | btSoftBodyHelpers.cpp | 149 static const int ncolors=sizeof(spectrum)/sizeof(spectrum[0])-1; 151 stress=btMax<btScalar>(0,btMin<btScalar>(1,stress))*ncolors;
|