/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() 64 if (ncolors >= (MAXJSAMPLE + 1)) in add_map_entry() 68 colormap0[ncolors] = (JSAMPLE)R; in add_map_entry() 69 colormap1[ncolors] = (JSAMPLE)G; in add_map_entry() 70 colormap2[ncolors] = (JSAMPLE)B; in add_map_entry()
|
D | rdrle.c | 127 if (source->header.ncolors == 1 && source->header.ncmap == 0) { in start_input_rle() 130 } else if (source->header.ncolors == 1 && source->header.ncmap == 1) { in start_input_rle() 134 } else if (source->header.ncolors == 1 && source->header.ncmap == 3) { in start_input_rle() 138 } else if (source->header.ncolors == 3 && source->header.ncmap == 3) { in start_input_rle() 142 } else if (source->header.ncolors == 3 && source->header.ncmap == 0) { in start_input_rle() 169 (JDIMENSION)(width * source->header.ncolors), in start_input_rle() 298 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 | 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()
|
D | wrrle.c | 196 header.ncolors = cinfo->output_components; in finish_output_rle()
|
/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 | 236 … size_t /* out */ *ncolors, /* palette size (<= 256) */ in sixel_decode() 564 *ncolors = max_color_index + 1; in sixel_decode() 565 *palette = (unsigned char *) AcquireQuantumMemory(*ncolors,4); in sixel_decode() 568 for (n = 0; n < (ssize_t) *ncolors; ++n) { in sixel_decode() 682 sixel_node_t *np, int ncolors, int keycolor) in sixel_put_node() argument 686 if (ncolors != 2 || keycolor == -1) { in sixel_put_node() 710 unsigned char *palette, size_t ncolors, int keycolor, in sixel_encode_impl() argument 730 if (ncolors < 1) { in sixel_encode_impl() 733 len = ncolors * width; in sixel_encode_impl() 757 if (ncolors != 2 || keycolor == -1) { in sixel_encode_impl() [all …]
|
/external/adeb/utils/ |
D | support | 155 ncolors=$(my_tput colors) 156 if [ -n "${ncolors}" ] && [ ${ncolors} -ge 8 ]; then
|
/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/u-boot/drivers/video/ |
D | cfb_console.c | 1171 int x, y, bpp, i, ncolors; in display_rle8_bitmap() local 1180 ncolors = __le32_to_cpu(img->header.colors_used); in display_rle8_bitmap() 1191 for (i = 0; i < ncolors; i++) { in display_rle8_bitmap() 1205 for (i = 0; i < ncolors; i++) { in display_rle8_bitmap() 1214 for (i = 0; i < ncolors; i++) { in display_rle8_bitmap()
|
/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/libcups/filter/ |
D | raster.c | 296 int ncolors, bits; /* Number of colors and bits */ in cupsRasterInitPWGHeader() local 299 …if (sscanf(type, "device%d_%d", &ncolors, &bits) != 2 || ncolors > 15 || (bits != 8 && bits != 16)) in cupsRasterInitPWGHeader() 306 h->cupsBitsPerPixel = (unsigned)(ncolors * bits); in cupsRasterInitPWGHeader() 307 h->cupsColorSpace = (cups_cspace_t)(CUPS_CSPACE_DEVICE1 + ncolors - 1); in cupsRasterInitPWGHeader()
|
/external/tensorflow/tensorflow/stream_executor/cuda/ |
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_1.inc | 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, 5413 const int *csrSortedColIndA, const float *fractionToColor, int *ncolors, 5422 csrSortedColIndA, fractionToColor, ncolors, coloring, 5429 const int *csrSortedColIndA, const double *fractionToColor, int *ncolors, 5438 csrSortedColIndA, fractionToColor, ncolors, coloring,
|