Home
last modified time | relevance | path

Searched refs:dark (Results 1 - 23 of 23) sorted by relevance

/third_party/libwebsockets/test-apps/
H A Dlws-common.js70 var dark = document.getElementById("darkenScreenObject");
72 if (!dark) {
82 dark = document.getElementById("darkenScreenObject");
85 dark.style.opacity = opaque;
86 dark.style.MozOpacity = opaque;
87 // dark.style.filter ='alpha(opacity='+opacity+')';
88 dark.style.zIndex = zindex;
89 dark.style.backgroundColor = bgcolor;
90 dark.style.width = gsize(1);
91 dark
[all...]
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-eventlib-demos/mount-origin/
H A Dlws-common.js70 var dark = document.getElementById("darkenScreenObject");
72 if (!dark) {
82 dark = document.getElementById("darkenScreenObject");
85 dark.style.opacity = opaque;
86 dark.style.MozOpacity = opaque;
87 // dark.style.filter ='alpha(opacity='+opacity+')';
88 dark.style.zIndex = zindex;
89 dark.style.backgroundColor = bgcolor;
90 dark.style.width = gsize(1);
91 dark
[all...]
/third_party/ffmpeg/libavfilter/
H A Dvf_maskedclamp.c132 AVFrame *out, *base, *dark, *bright; in process_frame() local
136 (ret = ff_framesync_get_frame(&s->fs, 1, &dark, 0)) < 0 || in process_frame()
153 td.o = dark; in process_frame()
224 AVFilterLink *dark = ctx->inputs[1]; in config_output() local
229 if (base->w != dark->w || base->h != dark->h || in config_output()
236 ctx->input_pads[1].name, dark->w, dark->h, in config_output()
251 in[1].time_base = dark->time_base; in config_output()
291 .name = "dark",
[all...]
H A Dvf_datascope.c479 FFDrawColor dark; member
513 ff_draw_color(&s->draw, &s->dark, (uint8_t[]){ 0, 0, 0, s->o * 255} ); in pixscope_config_input()
614 ff_blend_rectangle(&s->draw, &s->dark, out->data, out->linesize, in pixscope_filter_frame()
778 FFDrawColor dark; member
916 ff_draw_color(&s->draw, &s->dark, (uint8_t[]){ 0, 0, 0, s->o * 255} ); in update_oscilloscope()
1058 ff_blend_rectangle(&s->draw, &s->dark, frame->data, frame->linesize, in oscilloscope_filter_frame()
/third_party/node/deps/npm/node_modules/qrcode-terminal/vendor/QRCode/
H A Dindex.js167 var dark = this.modules[row][col];
169 if (dark) {
304 var dark = false;
307 dark = ( ( (data[byteIndex] >>> bitIndex) & 1) === 1);
313 dark = !dark;
316 this.modules[row][col - c] = dark;
H A DQRUtil.js177 var dark = qrCode.isDark(row, col);
195 if (dark === qrCode.isDark(row + r, col + c) ) {
/third_party/qrcodegen/java-fast/io/nayuki/fastqrcodegen/
H A DQrCode.java34 * <p>Instances of this class represent an immutable square grid of dark and light cells.
264 * for light or {@code true} for dark. The top left corner has the coordinates (x=0, y=0).
269 * at that location is dark, or {@code false} (light) otherwise
308 setModule(8, size - 8, 1); // Always dark in drawFormatBits()
314 private void setModule(int x, int y, int dark) { in setModule() argument
317 assert dark == 0 || dark == 1; in setModule()
320 modules[i >>> 5] |= dark << i; in setModule()
416 int dark = 0; in getPenaltyScore()
441 dark in getPenaltyScore()
[all...]
/third_party/cups-filters/cupsfilters/
H A Dcmyk.c26 * cupsCMYKSetLtDk() - Set light/dark ink transforms.
1036 dark, /* Light ink cut-off */ in cupsCMYKLoad() local
1058 * cupsBlackLightDark - Set black light/dark transition in cupsCMYKLoad()
1061 * cupsCyanLightDark - Set cyan light/dark transition in cupsCMYKLoad()
1072 * cupsMagentaLightDark - Set magenta light/dark transition in cupsCMYKLoad()
1487 if (sscanf(attr->value, "%f%f", &light, &dark) == 2) in cupsCMYKLoad()
1491 cupsCMYKSetLtDk(cmyk, 0, light, dark); in cupsCMYKLoad()
1494 cupsCMYKSetLtDk(cmyk, 5, light, dark); in cupsCMYKLoad()
1537 if (sscanf(attr->value, "%f%f", &light, &dark) == 2) in cupsCMYKLoad()
1538 cupsCMYKSetLtDk(cmyk, 0, light, dark); in cupsCMYKLoad()
1877 cupsCMYKSetLtDk(cups_cmyk_t *cmyk, int channel, float light, float dark) cupsCMYKSetLtDk() argument
[all...]
H A Ddriver.h229 float light, float dark);
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/
H A DHolidayBorderPanel.java378 Color dark = getBackground().darker().darker().darker(); in paint()
390 bottomright = dark; in paint()
393 topleft = dark; in paint()
446 g.setColor(dark); in paint()
/third_party/ffmpeg/libavfilter/x86/
H A Dvf_maskedclamp.asm35 cglobal maskedclamp8, 5,5,5, src, dst, dark, bright, w, undershoot, overshoot
67 cglobal maskedclamp16, 5,5,5, src, dst, dark, bright, w, undershoot, overshoot
/third_party/littlefs/scripts/
H A Dplotmpl.py593 dark=False,
616 if dark:
621 if dark:
626 if dark:
634 elif dark:
650 elif dark:
657 elif dark:
664 elif dark:
685 if dark:
688 # fix ggplot when dark
[all...]
/third_party/backends/backend/
H A Dplustek-usbcalfile.c576 u_short *dark, u_short *white, u_long vals ) in usb_SaveFineCalData()
641 fprintf( fp, "%s:dark:dim=%lu:", pfx, vals ); in usb_SaveFineCalData()
643 fprintf( fp, "%u,", dark[i]); in usb_SaveFineCalData()
644 fprintf( fp, "%u\n", dark[vals-1]); in usb_SaveFineCalData()
658 u_long *dim_d, u_short *dark, in usb_ReadFineCalData()
711 sprintf( tmp, "%s:%u:%s:dim=", pfx, dpi, "dark" ); in usb_ReadFineCalData()
712 if( !usb_ReadSamples( fp, tmp, dim_d, dark )) { in usb_ReadFineCalData()
713 DBG( _DBG_ERROR, "Error reading dark-calibration data!\n" ); in usb_ReadFineCalData()
575 usb_SaveFineCalData( Plustek_Device *dev, int dpi, u_short *dark, u_short *white, u_long vals ) usb_SaveFineCalData() argument
657 usb_ReadFineCalData( Plustek_Device *dev, int dpi, u_long *dim_d, u_short *dark, u_long *dim_w, u_short *white ) usb_ReadFineCalData() argument
H A Dmicrotek2.c4798 DBG(30, "scsi_read_shading: pos=%p, size=%d, word=%d, color=%d, dark=%d\n", in scsi_read_shading()
4799 (void *) buffer, length, ms->word, ms->current_color, ms->dark); in scsi_read_shading()
4807 RSI_SET_DARK(cmd, ms->dark); in scsi_read_shading()
4838 uint8_t dark) in scsi_send_shading()
4846 DBG(30, "scsi_send_shading: pos=%p, size=%d, word=%d, color=%d, dark=%d\n", in scsi_send_shading()
4847 (void *) shading_data, length, ms->word, ms->current_color, dark); in scsi_send_shading()
4862 SSI_SET_DARK(cmd, dark); in scsi_send_shading()
5953 DBG(1, "condense_shading: malloc for dark table failed\n"); in condense_shading()
6564 ms->dark = 0; in read_cx_shading()
6570 ms->word = 0; /* the Windows driver reads dark shadin in read_cx_shading()
4835 scsi_send_shading(Microtek2_Scanner *ms, uint8_t *shading_data, uint32_t length, uint8_t dark) scsi_send_shading() argument
[all...]
H A Dmicrotek2.h871 uint8_t *shading_table_d; /* shading table dark */
1106 uint8_t dark; /* is 1 for reading dark shading */ member
/third_party/qrcodegen/rust-no-heap/src/
H A Dlib.rs103 /// Instances of this struct represent an immutable square grid of dark and light cells.
124 // The modules of this QR Code (0 = light, 1 = dark), packed bitwise into bytes.
393 /// which is `false` for light or `true` for dark.
485 // version's size, then marks every function module as dark.
528 // Draws light function modules and possibly some dark modules onto this QR Code, without changing
530 // marked dark (namely by function_modules_marked()), because this may skip redrawing dark function modules.
594 // the format bits, unlike draw_light_function_modules() which might skip dark modules.
627 self.set_module_bounded(8, size - 8, true); // Always dark in draw_format_bits()
631 // Sets every module in the range [left : left + width] * [top : top + height] to dark
[all...]
/third_party/qrcodegen/java/src/main/java/io/nayuki/qrcodegen/
H A DQrCode.java34 * <p>Instances of this class represent an immutable square grid of dark and light cells.
224 // The modules of this QR Code (false = light, true = dark).
294 * for light or {@code true} for dark. The top left corner has the coordinates (x=0, y=0).
299 * at that location is dark, or {@code false} (light) otherwise
364 setFunctionModule(8, size - 8, true); // Always dark in drawFormatBits()
586 // Balance of dark and light modules in getPenaltyScore()
587 int dark = 0; in getPenaltyScore()
591 dark++; in getPenaltyScore()
594 int total = size * size; // Note that size is odd, so dark/total != 1/2 in getPenaltyScore()
595 // Compute the smallest integer k >= 0 such that (45-5k)% <= dark/tota in getPenaltyScore()
[all...]
/third_party/qrcodegen/c/
H A Dqrcodegen.c417 // version's size, then marks every function module as dark.
452 // Draws light function modules and possibly some dark modules onto the given QR Code, without changing
454 // marked dark (namely by initializeFunctionModules()), because this may skip redrawing dark function modules.
515 // the format bits, unlike drawLightFunctionModules() which might skip dark modules.
542 setModuleBounded(qrcode, 8, qrsize - 8, true); // Always dark in drawFormatBits()
563 // Sets every module in the range [left : left + width] * [top : top + height] to dark.
576 // the QR Code to be dark at function modules and light at codeword modules (including unused remainder bits).
590 bool dark = getBit(data[i >> 3], 7 - (i & 7)); in drawCodewords() local
591 setModuleBounded(qrcode, x, y, dark); in drawCodewords()
697 int dark = 0; getPenaltyScore() local
[all...]
/third_party/qrcodegen/cpp/
H A Dqrcodegen.cpp439 setFunctionModule(8, size - 8, true); // Always dark in drawFormatBits()
646 // Balance of dark and light modules in getPenaltyScore()
647 int dark = 0; in getPenaltyScore() local
651 dark++; in getPenaltyScore()
654 int total = size * size; // Note that size is odd, so dark/total != 1/2 in getPenaltyScore()
655 // Compute the smallest integer k >= 0 such that (45-5k)% <= dark/total <= (55+5k)% in getPenaltyScore()
656 int k = static_cast<int>((std::abs(dark * 20L - total * 10L) + total - 1) / total) - 1; in getPenaltyScore()
762 if (currentRunColor) { // Terminate dark run in finderPenaltyTerminateAndCount()
/third_party/qrcodegen/rust/src/
H A Dlib.rs98 /// Instances of this struct represent an immutable square grid of dark and light cells.
136 // The modules of this QR Code (false = light, true = dark).
355 /// which is `false` for light or `true` for dark.
444 self.set_function_module(8, size - 8, true); // Always dark in draw_format_bits()
681 // Balance of dark and light modules in get_penalty_score()
682 let dark: i32 = self.modules.iter().copied().map(i32::from).sum(); in get_penalty_score()
683 let total: i32 = size * size; // Note that size is odd, so dark/total != 1/2 in get_penalty_score()
684 // Compute the smallest integer k >= 0 such that (45-5k)% <= dark/total <= (55+5k)% in get_penalty_score()
685 let k: i32 = ((dark * 20 - total * 10).abs() + total - 1) / total - 1; in get_penalty_score()
849 if currentruncolor { // Terminate dark ru in terminate_and_count()
[all...]
/third_party/qrcodegen/python/
H A Dqrcodegen.py35 Instances of this class represent an immutable square grid of dark and light cells.
153 # The modules of this QR Code (False = light, True = dark).
227 for light or True for dark. The top left corner has the coordinates (x=0, y=0).
285 self._set_function_module(8, self._size - 8, True) # Always dark
465 # Balance of dark and light modules
466 dark: int = sum((1 if cell else 0) for row in modules for cell in row)
467 total: int = size**2 # Note that size is odd, so dark/total != 1/2
468 # Compute the smallest integer k >= 0 such that (45-5k)% <= dark/total <= (55+5k)%
469 k: int = (abs(dark * 20 - total * 10) + total - 1) // total - 1
583 if currentruncolor: # Terminate dark ru
[all...]
/third_party/backends/backend/genesys/
H A Dgenesys.cpp436 *shading_data_ptr++ = 0x00; /* dark lo */ in sanei_genesys_init_shading_data()
437 *shading_data_ptr++ = 0x00; /* dark hi */ in sanei_genesys_init_shading_data()
2254 // FIXME: we set this during both dark and white calibration. A cleaner approach should in genesys_shading_calibration_impl()
2262 // FIXME: dark shading currently not supported on infrared transparency scans in genesys_shading_calibration_impl()
2291 // wait some time to let lamp to get dark in genesys_shading_calibration_impl()
2347 * this function builds dummy dark calibration data so that we can
2381 give darkest values. We then use these as dummy dark calibration */ in genesys_dark_shading_by_dummy_pixel()
2468 // FIXME: dark shading currently not supported on infrared transparency scans in genesys_host_shading_calibration_impl()
2490 // wait some time to let lamp to get dark in genesys_host_shading_calibration_impl()
2514 // FIXME: we set this during both dark an in genesys_host_shading_calibration_impl()
2662 std::uint32_t dark = 0xffff; genesys_dark_white_shading_calibration() local
[all...]
/third_party/skia/third_party/externals/microhttpd/doc/
H A Dtexinfo.tex1140 % very dark gray on-screen and a very dark halftone in print, instead
1251 % by default, use a color that is dark enough to print on paper as

Completed in 41 milliseconds