/foundation/graphic/graphic_utils_lite/test/ |
H A D | color_unit_test.cpp | 149 ColorType gray = Color::Gray(); in HWTEST_F() local 151 EXPECT_EQ(gray.red, 0x80); in HWTEST_F() 152 EXPECT_EQ(gray.green, 0x80); in HWTEST_F() 153 EXPECT_EQ(gray.blue, 0x80); in HWTEST_F()
|
/third_party/backends/backend/ |
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()
|
H A D | sm3840_lib.h | 94 int scanpix, int scanlines, int gray, char *head, 136 int dpi, int scanpix, int gray, int bpp16,
|
H A D | plustek-usbcal.c | 950 u_long red, green, blue, gray; in cano_AdjustDarkShading() local 1038 gray = 0; in cano_AdjustDarkShading() 1042 gray += *bufp; in cano_AdjustDarkShading() 1045 a_wDarkShading[i]= gray/j + param->swOffset[0]; in cano_AdjustDarkShading() 1078 u_long red, green, blue, gray; in cano_AdjustWhiteShading() local 1160 gray = 0; in cano_AdjustWhiteShading() 1164 gray += *bufp; in cano_AdjustWhiteShading() 1168 gray = (65535.*1000./(double)param->swGain[0]) * 16384.*j/gray; in cano_AdjustWhiteShading() 1170 a_wWhiteShading[i]= (gray > 6553 in cano_AdjustWhiteShading() [all...] |
H A D | sm3840_params.h | 47 int gray; /* 0, 1 */ member 48 int halftone; /* 0, 1 (also set gray=1) */ 49 int lineart; /* 0, 1 (also set gray=1) */
|
H A D | sm3840_scan.c | 64 int gray = 0; in main() local 104 else if (!strcmp (argv[i], "-gray")) in main() 105 gray = 1; in main() 117 params.gray = gray; in main() 150 int gray = p->gray ? 1 : 0; in setup_scan() local 188 DBG (2, "params.gray = %d;\n", p->gray); in setup_scan() 762 if (gray) in setup_scan() [all...] |
H A D | gt68xx_high.h | 83 GT68xx_Calibrator *gray; /**< Calibrator for grayscale data */ member
|
H A D | sm3840.c | 188 s->sm3840_params.gray, in sane_read() 335 s->sm3840_params.gray = in sane_get_parameters() 351 s->sm3840_params.gray = 1; in sane_get_parameters() 369 s->sm3840_params.gray ? SANE_FRAME_GRAY : SANE_FRAME_RGB; in sane_get_parameters()
|
/third_party/node/lib/internal/test_runner/reporter/ |
H A D | spec.js | 17 const { green, blue, red, white, gray, shouldColorize } = require('internal/util/colors'); 73 const duration_ms = data.details?.duration_ms ? ` ${gray}(${data.details.duration_ms}ms)${white}` : ''; 87 color = gray;
|
/third_party/skia/third_party/externals/libpng/contrib/gregbook/ |
H A D | readpng2.c | 290 mainprog_ptr->bg_blue = pBackground->gray? 255 : 0; in readpng2_info_callback() 293 mainprog_ptr->bg_blue = (255/3) * pBackground->gray; in readpng2_info_callback() 296 mainprog_ptr->bg_blue = (255/15) * pBackground->gray; in readpng2_info_callback()
|
H A D | rpng2-win.c | 976 double freq, rotate, saturate, gray, intensity; 999 gray = 0.0; 1009 gray = (double)MAX(ABS(y), ABS(x)) / grayspot; 1010 gray = MIN(1.0, gray); 1013 gray * saturate; 1016 s = gray * ((double)(ABS(x)+ABS(y)) / (double)(hw + hh));
|
H A D | rpng2-x.c | 32 - 1.23: added -bgpat 0 mode (std white/gray checkerboard, 8x8 squares) 240 {192, 192, 192} /* 16: Netscape/Mosaic gray */ 268 {0, 1,1, 16,16}, /* checkered: white vs. light gray (basic) */ 1228 double freq, rotate, saturate, gray, intensity; in rpng2_x_load_bg_image() local 1251 gray = 0.0; in rpng2_x_load_bg_image() 1261 gray = (double)MAX(ABS(y), ABS(x)) / grayspot; in rpng2_x_load_bg_image() 1262 gray = MIN(1.0, gray); in rpng2_x_load_bg_image() 1265 gray * saturate; in rpng2_x_load_bg_image() 1268 s = gray * ((doubl in rpng2_x_load_bg_image() 2000 double freq, rotate, saturate, gray, intensity; rpng2_x_reload_bg_image() local [all...] |
/third_party/skia/bench/ |
H A D | GradientBench.cpp | 337 const int gray = i % 256; variable 338 const int alpha = fHasAlpha ? gray : 0xFF; 341 SkColorSetARGB(alpha, gray, gray, gray),
|
H A D | PDFBench.cpp | 399 SkPaint gray; in make_background() local 400 gray.setColor(SkColorSetARGB(0xFF, 0xEE, 0xEE, 0xEE)); in make_background() 401 tmp.drawRect({0,0,16,16}, gray); in make_background() 402 tmp.drawRect({16,16,32,32}, gray); in make_background()
|
/third_party/skia/include/private/ |
H A D | GrTypesPriv.h | 1074 constexpr int gray() const { return fGrayBits; } 1088 constexpr GrColorFormatDesc(int r, int g, int b, int a, int gray, GrColorTypeEncoding encoding) 1089 : fRBits(r), fGBits(g), fBBits(b), fABits(a), fGrayBits(gray), fEncoding(encoding) { 1090 SkASSERT(r >= 0 && g >= 0 && b >= 0 && a >= 0 && gray >= 0); 1091 SkASSERT(!gray || (!r && !g && !b)); 1092 SkASSERT(r || g || b || a || gray); 1181 (desc.gray() && desc.gray() > n);
|
/third_party/ffmpeg/libavcodec/ |
H A D | mss2dsp.c | 31 int gray, in mss2_blit_wmv9_template() 47 if (gray) { in mss2_blit_wmv9_template() 29 mss2_blit_wmv9_template(uint8_t *dst, ptrdiff_t dst_stride, int gray, int use_mask, int maskcolor, const uint8_t *mask, ptrdiff_t mask_stride, const uint8_t *srcy, ptrdiff_t srcy_stride, const uint8_t *srcu, const uint8_t *srcv, ptrdiff_t srcuv_stride, int w, int h) mss2_blit_wmv9_template() argument
|
/third_party/skia/third_party/externals/libjpeg-turbo/ |
H A D | rdbmp.c | 97 int i, gray = 1; in read_colormap() local 108 gray = 0; in read_colormap() 120 gray = 0; in read_colormap() 128 if (sinfo->cinfo->in_color_space == JCS_UNKNOWN && gray) in read_colormap() 131 if (sinfo->cinfo->in_color_space == JCS_GRAYSCALE && !gray) in read_colormap()
|
/third_party/skia/third_party/externals/libpng/ |
H A D | pngwtran.c | 199 shift_start[channels] = row_info->bit_depth - bit_depth->gray; in png_do_shift() 200 shift_dec[channels] = bit_depth->gray; in png_do_shift() 219 if (bit_depth->gray == 1 && row_info->bit_depth == 2) in png_do_shift() 222 else if (row_info->bit_depth == 4 && bit_depth->gray == 3) in png_do_shift()
|
/third_party/ffmpeg/tests/fate/ |
H A D | pixfmt.mak | 2 gray \
|
/third_party/skia/third_party/externals/libwebp/extras/ |
H A D | extras.h | 33 // Import luma sample (gray scale image) into 'picture'. The 'picture' 35 WEBP_EXTERN int WebPImportGray(const uint8_t* gray, WebPPicture* picture);
|
/third_party/node/deps/npm/node_modules/@colors/colors/lib/ |
H A D | styles.js | 48 gray: [90, 39],
|
H A D | colors.js | 98 ansiStyles.grey = ansiStyles.gray;
|
/foundation/arkui/ace_engine/frameworks/base/utils/ |
H A D | utils.h | 292 int gray = (r * 299 + g * 587 + b * 114) / 1000; in IsDarkColor() local 293 return gray < lightThresholds; in IsDarkColor()
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_datascope.c | 49 FFDrawColor gray; member 356 ff_fill_rectangle(&s->draw, &s->gray, out->data, out->linesize, in filter_frame() 365 ff_fill_rectangle(&s->draw, &s->gray, out->data, out->linesize, in filter_frame() 390 ff_draw_color(&s->draw, &s->gray, (uint8_t[]){ 77, 77, 77, 255} ); in config_input() 786 FFDrawColor gray; member 946 ff_draw_color(&s->draw, &s->gray, (uint8_t[]){ 128, 128, 128, 255} ); in oscilloscope_config_input() 1063 ff_fill_rectangle(&s->draw, &s->gray, frame->data, frame->linesize, in oscilloscope_filter_frame() 1067 ff_fill_rectangle(&s->draw, &s->gray, frame->data, frame->linesize, in oscilloscope_filter_frame() 1072 ff_fill_rectangle(&s->draw, &s->gray, frame->data, frame->linesize, in oscilloscope_filter_frame() 1076 ff_fill_rectangle(&s->draw, &s->gray, fram in oscilloscope_filter_frame() [all...] |
/third_party/skia/third_party/externals/libpng/contrib/libtests/ |
H A D | pngvalid.c | 3593 * chance is the same, so we get a duplicate or extra gray less than 1 time in make_standard_palette() 3695 * Random values are fine for gray, including the 16-bit case where we know in set_random_tRNS() 3696 * that the test image contains all the gray values. For RGB we need more in set_random_tRNS() 3726 tRNS.gray = random_u16(); in set_random_tRNS() 3727 tRNS.gray &= mask; in set_random_tRNS() 4601 bad.red = bad.green = bad.blue = bad.gray = bad.alpha = 0; in sBIT0_error_fn() 4618 bad.red = bad.green = bad.blue = bad.gray = bad.alpha = in sBIT_error_fn() 5238 if (sBIT->gray == 0 || sBIT->gray > dp->bit_depth) in standard_info_part1() 5241 dp->blue_sBIT = dp->green_sBIT = dp->red_sBIT = sBIT->gray; in standard_info_part1() 7897 double gray, err; image_transform_png_set_rgb_to_gray_mod() local [all...] |