/third_party/skia/third_party/externals/libpng/contrib/testpngs/ |
H A D | makepngs.sh | 49 for c in gray palette 63 for c in gray gray-alpha rgb rgb-alpha 67 for c in gray rgb 78 mpg none gray-alpha 8 # required: code coverage, sRGB opaque component 80 mpg 1.8 gray 2 # required: tests gamma threshold code
|
/third_party/cups-filters/cupsfilters/ |
H A D | image-sgi.c | 49 *gray, in _cupsImageReadSGI() local 131 for (i = img->xsize - 1, gray = rows[0], inptr = in; in _cupsImageReadSGI() 135 *inptr++ = *gray++; in _cupsImageReadSGI() 138 for (i = img->xsize - 1, gray = rows[0], inptr = in; in _cupsImageReadSGI() 142 *inptr++ = (*gray++) / 256 + 128; in _cupsImageReadSGI() 147 for (i = img->xsize - 1, gray = rows[0], alpha = rows[1], inptr = in; in _cupsImageReadSGI() 151 *inptr++ = (*gray++) * (*alpha++) / 255; in _cupsImageReadSGI() 154 for (i = img->xsize - 1, gray = rows[0], alpha = rows[1], inptr = in; in _cupsImageReadSGI() 158 *inptr++ = ((*gray++) / 256 + 128) * (*alpha++) / 32767; in _cupsImageReadSGI()
|
H A D | image-gif.c | 55 int *gray); 79 gray, /* Grayscale image? */ in _cupsImageReadGIF() local 101 gray = primary == CUPS_IMAGE_BLACK || primary == CUPS_IMAGE_WHITE; in _cupsImageReadGIF() 104 if (gif_read_cmap(fp, ncolors, cmap, &gray)) in _cupsImageReadGIF() 145 gray = primary == CUPS_IMAGE_BLACK || primary == CUPS_IMAGE_WHITE; in _cupsImageReadGIF() 147 if (gif_read_cmap(fp, ncolors, cmap, &gray)) in _cupsImageReadGIF() 165 if (gray) in _cupsImageReadGIF() 397 int *gray) /* IO - Is the image grayscale? */ in gif_read_cmap() 420 *gray = 1; in gif_read_cmap() 429 if (*gray) in gif_read_cmap() 394 gif_read_cmap(FILE *fp, int ncolors, gif_cmap_t cmap, int *gray) gif_read_cmap() argument [all...] |
/third_party/node/deps/npm/node_modules/color-convert/ |
H A D | conversions.js | 29 gray: {channels: 1, labels: ['gray']} 806 convert.gray.rgb = function (args) { 810 convert.gray.hsl = function (args) { 814 convert.gray.hsv = convert.gray.hsl; 816 convert.gray.hwb = function (gray) { 817 return [0, 100, gray[0]]; 820 convert.gray [all...] |
/third_party/skia/third_party/externals/libpng/ |
H A D | pngrtran.c | 1063 png_fixed(png_ptr, red, "rgb to gray red coefficient"), in png_set_rgb_to_gray() 1064 png_fixed(png_ptr, green, "rgb to gray green coefficient")); in png_set_rgb_to_gray() 1247 int gray = png_ptr->background.gray; in png_init_rgb_transformations() local 1248 int trans_gray = png_ptr->trans_color.gray; in png_init_rgb_transformations() 1253 gray *= 0xff; in png_init_rgb_transformations() 1258 gray *= 0x55; in png_init_rgb_transformations() 1263 gray *= 0x11; in png_init_rgb_transformations() 1278 png_ptr->background.blue = (png_uint_16)gray; in png_init_rgb_transformations() 1429 /* Make sure the coefficients for the rgb to gray conversio in png_init_read_transformations() 4395 unsigned int gray = trans_color != NULL ? trans_color->gray : 0; png_do_expand() local [all...] |
H A D | pngread.c | 2092 /* This is set if the color isn't gray but the output is. */ in png_create_colormap_entry() 2266 * selected by six levels of alpha. One transparent entry, 6 gray in make_ga_colormap() 2276 * entry = (231 * gray + 128) >> 8; in make_ga_colormap() 2286 * entry = PNG_DIV51(gray); in make_ga_colormap() 2292 unsigned int gray = (i * 256 + 115) / 231; in make_ga_colormap() local 2293 png_create_colormap_entry(display, i++, gray, gray, gray, 255, P_sRGB); in make_ga_colormap() 2447 png_error(png_ptr, "gray[8] color-map: too few entries"); in png_image_read_colormap() 2457 trans = png_ptr->trans_color.gray; in png_image_read_colormap() 2545 png_uint_32 gray = back_g; png_image_read_colormap() local 2655 png_uint_32 gray = back_g; png_image_read_colormap() local 2697 png_uint_32 gray = (i * 256 + 115) / 231; png_image_read_colormap() local 2749 png_uint_32 gray = png_sRGB_table[g*51] * alpha; png_image_read_colormap() local 2838 png_uint_32 gray = back_g; png_image_read_colormap() local 3277 unsigned int gray = *inrow++; png_image_read_and_map() local 3305 png_byte gray = *inrow++; png_image_read_and_map() local [all...] |
/third_party/skia/docs/examples/ |
H A D | Matrix_getPerspY.cpp | 16 SkPaint gray = black; in REG_FIDDLE() local 17 gray.setColor(0xFF9f9f9f); in REG_FIDDLE() 20 canvas->drawString(string, 0, -72, gray); in REG_FIDDLE()
|
H A D | Matrix_getPerspX.cpp | 16 SkPaint gray = black; in REG_FIDDLE() local 17 gray.setColor(0xFF9f9f9f); in REG_FIDDLE() 20 canvas->drawString(string, 0, -72, gray); in REG_FIDDLE()
|
H A D | Canvas_drawImageNine.cpp | 12 SkColor gray = 0xFF000000; in REG_FIDDLE() local 17 paint.setColor(gray); in REG_FIDDLE() 19 gray += 0x001f1f1f; in REG_FIDDLE()
|
H A D | MemberIndex.cpp | 11 SkPaint gray = black; in REG_FIDDLE() local 12 gray.setColor(0xFF9f9f9f); in REG_FIDDLE() 22 canvas->drawString("&", 0, 0, gray); in REG_FIDDLE()
|
H A D | Canvas_drawImageNine_2.cpp | 12 SkColor gray = 0xFF000000; in REG_FIDDLE() local 17 paint.setColor(gray); in REG_FIDDLE() 19 gray += 0x001f1f1f; in REG_FIDDLE()
|
/third_party/backends/backend/ |
H A D | sm3840_lib.c | 115 if (params->gray) in prepare_params() 116 params->gray = 1; in prepare_params() 118 params->gray = 1; in prepare_params() 122 params->gray = 1; in prepare_params() 165 params->scanpix * (params->bpp / 8) * (params->gray ? 1 : 3); in prepare_params() 291 int dpi, int scanpix, int gray, int bpp16, in record_line() 313 pixsize = (gray ? 1 : 3) * (bpp16 ? 2 : 1); in record_line() 316 if (gray) in record_line() 386 if (gray) in record_line() 500 int scanpix, int scanlines, int gray, cha in record_image() 288 record_line(int reset, p_usb_dev_handle udev, unsigned char *storeline, int dpi, int scanpix, int gray, int bpp16, int *save_i, unsigned char **save_scan_line, unsigned char **save_dpi1200_remap, unsigned char **save_color_remap) record_line() argument 499 record_image(p_usb_dev_handle udev, char *fname, int dpi, int scanpix, int scanlines, int gray, char *head, int bpp16) record_image() argument 878 double gray[10] = { 0.0, 1.73089945056694E-01, -1.39794924306080E-04, download_lut8() local [all...] |
H A D | gt68xx_high.c | 351 scanner->calibrations[i].gray = NULL; in gt68xx_scanner_new() 421 if (scanner->calibrations[i].gray != NULL) in gt68xx_scanner_free() 423 gt68xx_calibrator_free (scanner->calibrations[i].gray); in gt68xx_scanner_free() 1445 gt68xx_afe_ccd_adjust_offset_gain ("gray", &values, in gt68xx_afe_ccd_auto() 1458 gt68xx_afe_ccd_adjust_offset_gain ("gray", &values, in gt68xx_afe_ccd_auto() 1470 gt68xx_afe_ccd_adjust_offset_gain ("gray", &values, in gt68xx_afe_ccd_auto() 2075 if(scanner->calibrations[i].gray!=NULL) in gt68xx_sheetfed_scanner_calibrate() 2077 gt68xx_calibrator_free (scanner->calibrations[i].gray); in gt68xx_sheetfed_scanner_calibrate() 2280 /* calibrate in gray */ in gt68xx_sheetfed_scanner_calibrate() 2294 gt68xx_calibrator_create_copy (&(scanner->calibrations[i].gray), in gt68xx_sheetfed_scanner_calibrate() [all...] |
H A D | pnm.c | 90 static SANE_Bool gray = SANE_FALSE; variable 719 gray = !!*(SANE_Word *) value; in sane_control_option() 722 if (gray) in sane_control_option() 764 if (gray) in sane_control_option() 945 *(SANE_Word *) value = gray; in sane_control_option() 1074 if ((ppm_type == ppm_greyscale) || (ppm_type == ppm_bitmap) || gray) in getparmfromfile() 1225 if (ppm_type == ppm_color && (gray || three_pass)) in sane_read() 1251 if (gray) in sane_read() 1312 if (gray) in sane_read()
|
/third_party/skia/third_party/externals/libjpeg-turbo/ |
H A D | rdppm.c | 211 JSAMPLE gray = read_pbm_integer(cinfo, infile, maxval); in METHODDEF() local 212 rgb_to_cmyk(gray, gray, gray, ptr, ptr + 1, ptr + 2, ptr + 3); in METHODDEF() 217 JSAMPLE gray = rescale[read_pbm_integer(cinfo, infile, maxval)]; in METHODDEF() local 218 rgb_to_cmyk(gray, gray, gray, ptr, ptr + 1, ptr + 2, ptr + 3); in METHODDEF() 379 JSAMPLE gray = *bufferptr++; in METHODDEF() local 380 rgb_to_cmyk(gray, gra in METHODDEF() 385 JSAMPLE gray = rescale[UCH(*bufferptr++)]; METHODDEF() local [all...] |
/third_party/ffmpeg/tests/fate/ |
H A D | gif.mak | 10 FATE_GIF += fate-gif-gray 11 fate-gif-gray: CMD = framecrc -i $(TARGET_SAMPLES)/gif/Newtons_cradle_animation_book_2.gif -pix_fmt bgra -vf scale 22 FATE_GIF_ENC_PIXFMT = rgb8 bgr8 rgb4_byte bgr4_byte gray pal8
|
H A D | lavf-video.mak | 3 FATE_LAVF_VIDEO_SCALE-$(call ENCDEC, FITS, FITS) += gray.fits 24 fate-lavf-gray.fits: CMD = lavf_video "-pix_fmt gray"
|
H A D | prores.mak | 9 $(if $(CONFIG_ARESAMPLE_FILTER),fate-prores-gray) \ 22 fate-prores-gray: CMD = framecrc -flags +bitexact -c:a aac_fixed -i $(TARGET_SAMPLES)/prores/gray.mov -pix_fmt yuv422p10le -vf scale -af aresample
|
H A D | fits.mak | 9 fits-png-map-gray := gray8 33 FATE_FITS_DEC_PIXFMT = gray gbrp gbrp16 gbrap16le 43 FATE_FITS_ENC_PIXFMT = gray gray16be gbrp gbrap gbrp16be gbrap16be
|
H A D | lavf-image.mak | 27 FATE_LAVF_IMAGES-$(call LAVF_IMAGES, PAM) += gray.pam 53 FATE_LAVF_IMAGES-$(call LAVF_IMAGES, XWD) += gray.xwd 82 fate-lavf-gray.pam: CMD = lavf_image "-pix_fmt gray" 97 fate-lavf-gray.xwd: CMD = lavf_image "-pix_fmt gray"
|
/third_party/node/lib/internal/util/ |
H A D | colors.js | 14 gray: '', 33 module.exports.gray = hasColors ? '\u001b[90m' : '';
|
/third_party/skia/third_party/externals/libpng/contrib/libtests/ |
H A D | gentests.sh | 86 for ct in gray palette 94 doit "gray" "16" 96 for ct in gray-alpha rgb rgb-alpha
|
/third_party/skia/gm/ |
H A D | skbug_9819.cpp | 47 uint8_t gray = *bm.getAddr8(0,0); in DEF_SIMPLE_GM() 48 (abs(gray - 237) > 2 ? MarkGMBad in DEF_SIMPLE_GM()
|
/third_party/skia/third_party/externals/libpng/contrib/gregbook/ |
H A D | readpng.c | 189 *red = *green = *blue = pBackground->gray? 255 : 0; in readpng_get_bgcolor() 191 *red = *green = *blue = (255/3) * pBackground->gray; in readpng_get_bgcolor() 193 *red = *green = *blue = (255/15) * pBackground->gray; in readpng_get_bgcolor()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | BlitFramebufferANGLETest.cpp | 1525 // Clear the resolved buffer with gray and 0x10 stencil. in TEST_P() 1526 GLColor gray(127, 127, 127, 255); in TEST_P() 1530 EXPECT_PIXEL_COLOR_EQ(0, 0, gray); in TEST_P() 1531 EXPECT_PIXEL_COLOR_EQ(kSize / 2, kSize / 2, gray); in TEST_P() 1574 EXPECT_PIXEL_COLOR_EQ(0, 0, gray); in TEST_P() 1575 EXPECT_PIXEL_COLOR_EQ(kSize - 1, 0, gray); in TEST_P() 1576 EXPECT_PIXEL_COLOR_EQ(0, kSize - 1, gray); in TEST_P() 1577 EXPECT_PIXEL_COLOR_EQ(kSize - 1, kSize - 1, gray); in TEST_P() 1578 EXPECT_PIXEL_COLOR_EQ(kSize / 2, kSize / 2, gray); in TEST_P() 1583 EXPECT_PIXEL_COLOR_EQ(0, 0, gray); in TEST_P() [all...] |