/external/libjpeg-turbo/ |
D | rdcolmap.c | 52 int ncolors = cinfo->actual_number_of_colors; in add_map_entry() local 56 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 | 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 | 400 make_odither_array(j_decompress_ptr cinfo, int ncolors) in make_odither_array() argument 414 den = 2 * ODITHER_CELLS * ((JLONG)(ncolors - 1)); in make_odither_array()
|
/external/swiftshader/tests/ |
D | presubmit.sh | 12 ncolors=$(tput colors) 13 if test -n "$ncolors" && test $ncolors -ge 8; then
|
/external/ImageMagick/coders/ |
D | xwd.c | 386 if (header.ncolors != 0) in ReadXWDImage() 391 length=(size_t) header.ncolors; in ReadXWDImage() 400 for (i=0; i < (ssize_t) header.ncolors; i++) in ReadXWDImage() 422 for (i=0; i < (ssize_t) header.ncolors; i++) in ReadXWDImage() 436 if (header.ncolors != 0) in ReadXWDImage() 450 if (header.ncolors != 0) in ReadXWDImage() 459 if (header.ncolors != 0) in ReadXWDImage() 467 if (header.ncolors != 0) in ReadXWDImage() 482 if (header.ncolors != 0) in ReadXWDImage() 488 if ((header.ncolors == 0U) || (ximage->red_mask != 0) || in ReadXWDImage() [all …]
|
D | sixel.c | 238 … size_t /* out */ *ncolors, /* palette size (<= SIXEL_PALETTE_MAX) */ in sixel_decode() 570 *ncolors = max_color_index + 1; in sixel_decode() 571 *palette = (unsigned char *) AcquireQuantumMemory(*ncolors,4); in sixel_decode() 574 for (n = 0; n < (ssize_t) *ncolors; ++n) { in sixel_decode() 688 sixel_node_t *np, int ncolors, int keycolor) in sixel_put_node() argument 692 if (ncolors != 2 || keycolor == -1) { in sixel_put_node() 716 unsigned char *palette, size_t ncolors, int keycolor, in sixel_encode_impl() argument 736 if (ncolors < 1) { in sixel_encode_impl() 739 len = ncolors * width; in sixel_encode_impl() 763 if (ncolors != 2 || keycolor == -1) { in sixel_encode_impl() [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/linux-kselftest/tools/testing/selftests/ftrace/ |
D | ftracetest | 183 ncolors=`tput colors 2>/dev/null || echo 0` 189 if [ -t 1 -a "$ncolors" -ge 8 ]; then
|
/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/libcups/cups/ |
D | raster-stream.c | 297 int ncolors, bits; /* Number of colors and bits */ in _cupsRasterInitPWGHeader() local 300 …if (sscanf(type, "device%d_%d", &ncolors, &bits) != 2 || ncolors > 15 || (bits != 8 && bits != 16)) in _cupsRasterInitPWGHeader() 307 h->cupsBitsPerPixel = (unsigned)(ncolors * bits); in _cupsRasterInitPWGHeader() 308 h->cupsColorSpace = (cups_cspace_t)(CUPS_CSPACE_DEVICE1 + ncolors - 1); in _cupsRasterInitPWGHeader()
|
/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/tensorflow/tensorflow/stream_executor/cuda/ |
D | cusparse_11_0.inc | 4041 const int *csrSortedColIndA, const float *fractionToColor, int *ncolors, 4050 csrSortedColIndA, fractionToColor, ncolors, coloring, 4057 const int *csrSortedColIndA, const double *fractionToColor, int *ncolors, 4066 csrSortedColIndA, fractionToColor, ncolors, coloring, 4073 const int *csrSortedColIndA, const float *fractionToColor, int *ncolors, 4082 csrSortedColIndA, fractionToColor, ncolors, coloring, 4089 const int *csrSortedColIndA, const double *fractionToColor, int *ncolors, 4098 csrSortedColIndA, fractionToColor, ncolors, coloring,
|
D | cusparse_10_0.inc | 5378 const int *csrSortedColIndA, const float *fractionToColor, int *ncolors, 5387 csrSortedColIndA, fractionToColor, ncolors, coloring, 5394 const int *csrSortedColIndA, const double *fractionToColor, int *ncolors, 5403 csrSortedColIndA, fractionToColor, ncolors, coloring, 5410 const int *csrSortedColIndA, const float *fractionToColor, int *ncolors, 5419 csrSortedColIndA, fractionToColor, ncolors, coloring, 5426 const int *csrSortedColIndA, const double *fractionToColor, int *ncolors, 5435 csrSortedColIndA, fractionToColor, ncolors, coloring,
|
D | cusparse_9_0.inc | 4710 const int *csrSortedColIndA, const float *fractionToColor, int *ncolors, 4719 csrSortedColIndA, fractionToColor, ncolors, coloring, 4726 const int *csrSortedColIndA, const double *fractionToColor, int *ncolors, 4735 csrSortedColIndA, fractionToColor, ncolors, coloring, 4742 const int *csrSortedColIndA, const float *fractionToColor, int *ncolors, 4751 csrSortedColIndA, fractionToColor, ncolors, coloring, 4758 const int *csrSortedColIndA, const double *fractionToColor, int *ncolors, 4767 csrSortedColIndA, fractionToColor, ncolors, coloring,
|
D | cusparse_10_2.inc | 5349 const int *csrSortedColIndA, const float *fractionToColor, int *ncolors, 5358 csrSortedColIndA, fractionToColor, ncolors, coloring, 5365 const int *csrSortedColIndA, const double *fractionToColor, int *ncolors, 5374 csrSortedColIndA, fractionToColor, ncolors, coloring, 5381 const int *csrSortedColIndA, const float *fractionToColor, int *ncolors, 5390 csrSortedColIndA, fractionToColor, ncolors, coloring, 5397 const int *csrSortedColIndA, const double *fractionToColor, int *ncolors, 5406 csrSortedColIndA, fractionToColor, ncolors, coloring,
|
D | cusparse_10_1.inc | 5349 const int *csrSortedColIndA, const float *fractionToColor, int *ncolors, 5358 csrSortedColIndA, fractionToColor, ncolors, coloring, 5365 const int *csrSortedColIndA, const double *fractionToColor, int *ncolors, 5374 csrSortedColIndA, fractionToColor, ncolors, coloring, 5381 const int *csrSortedColIndA, const float *fractionToColor, int *ncolors, 5390 csrSortedColIndA, fractionToColor, ncolors, coloring, 5397 const int *csrSortedColIndA, const double *fractionToColor, int *ncolors, 5406 csrSortedColIndA, fractionToColor, ncolors, coloring,
|