Home
last modified time | relevance | path

Searched refs:bg_color (Results 1 - 22 of 22) sorted by relevance

/third_party/ffmpeg/libavfilter/
H A Dvf_histogram.c47 uint8_t bg_color[4][4]; member
248 memcpy(s->bg_color[0], black_gbrp_color, 4); in config_input()
256 memcpy(s->bg_color[0], black_yuva_color, 4); in config_input()
268 memcpy(s->bg_color[i], s->bg_color[0], 4); in config_input()
275 FFSWAP(uint8_t, s->fg_color[i][j], s->bg_color[i][j]); in config_input()
278 memcpy(s->bg_color[i], gray_color, 4); in config_input()
282 FFSWAP(uint8_t, s->fg_color[i][j], s->bg_color[i][j]); in config_input()
284 memcpy(s->bg_color[i], gray_color, 4); in config_input()
298 FFSWAP(uint8_t, s->fg_color[i][j], s->bg_color[ in config_input()
[all...]
H A Dvf_vectorscope.c55 uint16_t bg_color[4]; member
449 (s->mode == COLOR || s->mode == COLOR5) && k == s->pd ? 0 : s->bg_color[k]); in vectorscope16()
646 (s->mode == COLOR || s->mode == COLOR5) && k == s->pd ? 0 : s->bg_color[k], out->width); in vectorscope8()
1445 s->bg_color[3] = s->bgopacity * (s->size - 1); in filter_frame()
1545 s->bg_color[0] = 0; in config_input()
1546 s->bg_color[1] = 0; in config_input()
1547 s->bg_color[2] = 0; in config_input()
1550 s->bg_color[0] = 0; in config_input()
1551 s->bg_color[1] = s->size / 2; in config_input()
1552 s->bg_color[ in config_input()
[all...]
H A Dvf_waveform.c95 uint8_t bg_color[4]; member
401 const int bg = s->bg_color[component] * (s->max / 256); in envelope_instant16()
449 const uint8_t bg = s->bg_color[component]; in envelope_instant()
496 const int bg = s->bg_color[component] * (s->max / 256); in envelope_peak16()
566 const int bg = s->bg_color[component]; in envelope_peak()
750 const int bg = s->bg_color[0] * mult; in lowpass16()
774 const int bg = s->bg_color[0] * mult; in lowpass16()
886 const int bg = s->bg_color[0]; in lowpass()
910 const int bg = s->bg_color[0]; in lowpass()
3300 memcpy(s->bg_color, black_gbrp_colo in config_input()
[all...]
/third_party/rust/crates/termcolor/wincolor/src/
H A Dwin.rs97 self.cur_attr.bg_color = color; in bg()
144 bg_color: Color,
153 w |= self.bg_color.to_bg(); in to_word()
162 bg_color: Color::from_bg(word), in from_word()
/third_party/skia/third_party/externals/harfbuzz/util/
H A Dhelper-cairo-ansi.hh164 uint32_t bg_color = data ? * (uint32_t *) data : 0; in helper_cairo_surface_write_to_ansi_stream() local
171 if (data[i] != bg_color) in helper_cairo_surface_write_to_ansi_stream()
186 if (row[i] != bg_color) in helper_cairo_surface_write_to_ansi_stream()
/third_party/alsa-utils/alsamixer/
H A Dconfigparser.c384 short fg_color, bg_color; in cfg_color() local
404 if (-2 == (bg_color = color_by_name(argv[2]))) { in cfg_color()
410 *element = get_color_pair(fg_color, bg_color); in cfg_color()
448 int bg_color = color_by_name(argv[1]); in cfg_set() local
449 if (bg_color == -2) { in cfg_set()
454 reinit_colors(bg_color); in cfg_set()
/third_party/skia/third_party/externals/libwebp/examples/
H A Dvwebp.c64 uint32_t bg_color; member
329 glColor4f(GetColorf(kParams.bg_color, 16), // BGRA from spec in DrawBackground()
330 GetColorf(kParams.bg_color, 8), in DrawBackground()
331 GetColorf(kParams.bg_color, 0), in DrawBackground()
332 GetColorf(kParams.bg_color, 24)); in DrawBackground()
594 kParams.bg_color = WebPDemuxGetI(kParams.dmux, WEBP_FF_BACKGROUND_COLOR); in main()
/third_party/ffmpeg/libavcodec/
H A Dccaption_dec.c248 uint8_t bg_color; member
272 ctx->bg_color = CCCOL_BLACK; in init_decoder()
312 ctx->bg_color = CCCOL_BLACK; in flush_decoder()
340 bg[col] = ctx->bg_color; in write_char()
614 ctx->bg_color = bg_attribs[i]; in handle_bgattr()
670 ctx->bg_color = CCCOL_BLACK; in handle_edm()
H A Dgifdec.c46 uint32_t bg_color; member
174 gif_fill(frame, s->bg_color); in gif_read_image()
232 s->stored_bg_color = s->bg_color; in gif_read_image()
419 s->bg_color = s->global_palette[s->background_color_index]; in gif_read_header1()
H A Dsanm.c300 uint16_t bg_color; member
1045 uint16_t fg_color, uint16_t bg_color, int block_size, in draw_glyph()
1049 uint16_t colors[2] = { fg_color, bg_color }; in draw_glyph()
1347 hdr->bg_color = bytestream2_get_le16u(&ctx->gb); in read_frame_header()
1491 fill_frame(ctx->frm1, ctx->npixels, header.bg_color); in decode_frame()
1492 fill_frame(ctx->frm2, ctx->npixels, header.bg_color); in decode_frame()
1044 draw_glyph(SANMVideoContext *ctx, uint16_t *dst, int index, uint16_t fg_color, uint16_t bg_color, int block_size, ptrdiff_t pitch) draw_glyph() argument
/third_party/libuv/src/win/
H A Dtty.c1398 char fg_color = -1, bg_color = -1; in uv__tty_set_style() local
1405 bg_color = uv_tty_default_bg_color; in uv__tty_set_style()
1417 bg_color = uv_tty_default_bg_color; in uv__tty_set_style()
1462 bg_color = arg - 40; in uv__tty_set_style()
1466 bg_color = uv_tty_default_bg_color; in uv__tty_set_style()
1477 bg_color = arg - 100; in uv__tty_set_style()
1482 if (fg_color == -1 && bg_color == -1 && fg_bright == -1 && in uv__tty_set_style()
1512 if (bg_color != -1) { in uv__tty_set_style()
1514 if (bg_color & 1) info.wAttributes |= BACKGROUND_RED; in uv__tty_set_style()
1515 if (bg_color in uv__tty_set_style()
[all...]
/third_party/node/deps/uv/src/win/
H A Dtty.c1409 char fg_color = -1, bg_color = -1; in uv__tty_set_style() local
1416 bg_color = uv_tty_default_bg_color; in uv__tty_set_style()
1428 bg_color = uv_tty_default_bg_color; in uv__tty_set_style()
1473 bg_color = arg - 40; in uv__tty_set_style()
1477 bg_color = uv_tty_default_bg_color; in uv__tty_set_style()
1488 bg_color = arg - 100; in uv__tty_set_style()
1493 if (fg_color == -1 && bg_color == -1 && fg_bright == -1 && in uv__tty_set_style()
1523 if (bg_color != -1) { in uv__tty_set_style()
1525 if (bg_color & 1) info.wAttributes |= BACKGROUND_RED; in uv__tty_set_style()
1526 if (bg_color in uv__tty_set_style()
[all...]
/third_party/backends/include/sane/
H A Dsanei_magic.h111 * @param bg_color the replacement color for edges exposed by rotation
120 int centerX, int centerY, double slope, int bg_color);
/third_party/rust/crates/termcolor/src/
H A Dlib.rs1388 if let Some(ref c) = spec.bg_color { in set_color()
1649 bg_color: Option<Color>,
1663 bg_color: None, in default()
1694 self.bg_color.as_ref() in bg()
1699 self.bg_color = color; in set_bg()
1833 && self.bg_color.is_none() in is_none()
1845 self.bg_color = None; in clear()
1861 let bg_color = self.bg_color.and_then(|c| c.to_windows(self.intense)); in write_console()
1862 if let Some((intense, color)) = bg_color { in write_console()
[all...]
/third_party/backends/sanei/
H A Dsanei_magic.c606 int centerX, int centerY, double slope, int bg_color) in sanei_magic_rotate()
639 memset(outbuf,bg_color,bwidth*height); in sanei_magic_rotate()
666 if(bg_color) in sanei_magic_rotate()
667 bg_color = 0xff; in sanei_magic_rotate()
669 memset(outbuf,bg_color,bwidth*height); in sanei_magic_rotate()
605 sanei_magic_rotate(SANE_Parameters * params, SANE_Byte * buffer, int centerX, int centerY, double slope, int bg_color) sanei_magic_rotate() argument
/third_party/backends/backend/
H A Dfujitsu.c456 - disable bg_color for S1500
5028 switch (s->bg_color) { in sane_control_option()
5713 s->bg_color = COLOR_DEFAULT; in sane_control_option()
5715 s->bg_color = COLOR_WHITE; in sane_control_option()
5717 s->bg_color = COLOR_BLACK; in sane_control_option()
6552 if(s->bg_color != COLOR_DEFAULT){ in mode_select_bg()
6555 if(s->bg_color == COLOR_BLACK){ in mode_select_bg()
10173 int bg_color = 0xd6; in buffer_deskew() local
10199 if(s->bg_color == COLOR_BLACK || s->hwdeskewcrop || s->overscan) in buffer_deskew()
10200 bg_color in buffer_deskew()
[all...]
H A Dcanon_dr.h274 int bg_color; /* needed to fill in after rotation */ member
H A Dfujitsu.h487 int bg_color; member
H A Dcanon_dr.c328 - use bg_color to fill missing image data
1410 s->bg_color = 0xee; in init_model()
1591 s->bg_color = 0x08; in init_model()
6943 unsigned char bg_color = calc_bg_color(s); in fill_image() local
6950 DBG (15, "fill_image: side:%d bytes:%d bg_color:%02x\n", side, fill_bytes, bg_color); in fill_image()
6952 /* fill the rest with bg_color */ in fill_image()
6953 memset(s->buffers[side]+s->i.bytes_sent[side],bg_color,fill_bytes); in fill_image()
6966 unsigned char bg_color = s->lut[s->bg_color]; in calc_bg_color() local
9031 unsigned char bg_color = calc_bg_color(s); buffer_deskew() local
[all...]
H A Dkvs1025_low.c978 int bg_color = 0xd6; in buffer_deskew() local
1005 s->deskew_vals[0],s->deskew_vals[1],s->deskew_slope,bg_color); in buffer_deskew()
/third_party/mesa3d/src/imgui/
H A Dimgui_widgets.cpp3723 ImU32 bg_color = GetColorU32(ImGuiCol_TextSelectedBg);
3744 draw_window->DrawList->AddRectFilled(rect.Min, rect.Max, bg_color);
/third_party/skia/third_party/externals/imgui/
H A Dimgui_widgets.cpp4670 ImU32 bg_color = GetColorU32(ImGuiCol_TextSelectedBg, render_cursor ? 1.0f : 0.6f); // FIXME: current code flow mandate that render_cursor is always true here, we are leaving the transparent one for tests. in InputTextEx()
4693 draw_window->DrawList->AddRectFilled(rect.Min, rect.Max, bg_color); in InputTextEx()

Completed in 69 milliseconds