Home
last modified time | relevance | path

Searched refs:green (Results 426 - 450 of 2297) sorted by relevance

1...<<11121314151617181920>>...92

/third_party/libdrm/tests/util/
H A Dformat.h36 struct util_color_component green; member
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/ui/
H A DOpenGLFunctions.cpp31 glClearColor(color.red, color.green, color.blue, color.alpha); in SetGLScreenColor()
/kernel/linux/linux-5.10/drivers/video/fbdev/aty/
H A Datyfb_base.c232 static int atyfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
825 bpp = (var->green.length == 5) ? 15 : 16; in aty_var_to_crtc()
1200 var->green.offset = 0; in aty_crtc_to_var()
1201 var->green.length = 8; in aty_crtc_to_var()
1211 var->green.offset = 5; in aty_crtc_to_var()
1212 var->green.length = 5; in aty_crtc_to_var()
1222 var->green.offset = 5; in aty_crtc_to_var()
1223 var->green.length = 6; in aty_crtc_to_var()
1233 var->green.offset = 8; in aty_crtc_to_var()
1234 var->green in aty_crtc_to_var()
2848 aty_st_pal(u_int regno, u_int red, u_int green, u_int blue, const struct atyfb_par *par) aty_st_pal() argument
2864 atyfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, u_int transp, struct fb_info *info) atyfb_setcolreg() argument
[all...]
/kernel/linux/linux-6.6/drivers/video/fbdev/aty/
H A Datyfb_base.c242 static int atyfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
835 bpp = (var->green.length == 5) ? 15 : 16; in aty_var_to_crtc()
1210 var->green.offset = 0; in aty_crtc_to_var()
1211 var->green.length = 8; in aty_crtc_to_var()
1221 var->green.offset = 5; in aty_crtc_to_var()
1222 var->green.length = 5; in aty_crtc_to_var()
1232 var->green.offset = 5; in aty_crtc_to_var()
1233 var->green.length = 6; in aty_crtc_to_var()
1243 var->green.offset = 8; in aty_crtc_to_var()
1244 var->green in aty_crtc_to_var()
2853 aty_st_pal(u_int regno, u_int red, u_int green, u_int blue, const struct atyfb_par *par) aty_st_pal() argument
2869 atyfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, u_int transp, struct fb_info *info) atyfb_setcolreg() argument
[all...]
/kernel/linux/linux-5.10/drivers/hid/
H A Dhid-lg-g15.c48 u8 red, green, blue; member
210 g15->leds[i].green = in lg_g510_get_initial_led_brightness()
217 g15->leds[i].green = 255; in lg_g510_get_initial_led_brightness()
236 DIV_ROUND_CLOSEST(g15_led->green * brightness, 255); in lg_g510_kbd_led_write()
305 g15_led->green = (value & 0x00ff00) >> 8; in color_store()
324 g15_led->red, g15_led->green, g15_led->blue); in color_show()
/kernel/linux/linux-5.10/drivers/video/fbdev/
H A Dffb.c189 u32 green; member
631 var->green.offset = 8; in ffb_fixup_var_rgb()
632 var->green.length = 8; in ffb_fixup_var_rgb()
644 * @green: The green value which can be up to 16 bits wide
650 unsigned red, unsigned green, unsigned blue, in ffb_setcolreg()
659 green >>= 8; in ffb_setcolreg()
662 value = (blue << 16) | (green << 8) | red; in ffb_setcolreg()
649 ffb_setcolreg(unsigned regno, unsigned red, unsigned green, unsigned blue, unsigned transp, struct fb_info *info) ffb_setcolreg() argument
H A Dcontrolfb.c119 && !DIRTY_CMAP(red) && !DIRTY_CMAP(green) && !DIRTY_CMAP(blue)); in VAR_MATCH()
156 static int controlfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in controlfb_setcolreg() argument
167 g = green >> 8; in controlfb_setcolreg()
587 var->green.length = 8; in control_par_to_var()
594 var->green.offset = 5; in control_par_to_var()
595 var->green.length = 5; in control_par_to_var()
602 var->green.offset = 8; in control_par_to_var()
603 var->green.length = 8; in control_par_to_var()
H A Dsstfb.c453 /* var->{red|green|blue}.msb_right = 0; */ in sstfb_check_var()
458 var->green.length = 6; in sstfb_check_var()
463 var->green.offset = 5; in sstfb_check_var()
662 * @green: The green value which can be up to 16 bits wide
667 static int sstfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in sstfb_setcolreg() argument
675 regno, red, green, blue, transp); in sstfb_setcolreg()
680 green >>= (16 - info->var.green.length); in sstfb_setcolreg()
684 | (green << inf in sstfb_setcolreg()
[all...]
H A Darkfb.c809 static int arkfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in arkfb_setcolreg() argument
827 outb(green >> 10, VGA_PEL_D); in arkfb_setcolreg()
837 outb(green >> 10, VGA_PEL_D); in arkfb_setcolreg()
844 if (fb->var.green.length == 5) in arkfb_setcolreg()
846 ((green & 0xF800) >> 6) | ((blue & 0xF800) >> 11); in arkfb_setcolreg()
847 else if (fb->var.green.length == 6) in arkfb_setcolreg()
849 ((green & 0xFC00) >> 5) | ((blue & 0xF800) >> 11); in arkfb_setcolreg()
859 (green & 0xFF00) | ((blue & 0xFF00) >> 8); in arkfb_setcolreg()
H A Dvt8623fb.c520 static int vt8623fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in vt8623fb_setcolreg() argument
532 outb(green >> 10, VGA_PEL_D); in vt8623fb_setcolreg()
542 outb(green >> 10, VGA_PEL_D); in vt8623fb_setcolreg()
549 if (fb->var.green.length == 5) in vt8623fb_setcolreg()
551 ((green & 0xF800) >> 6) | ((blue & 0xF800) >> 11); in vt8623fb_setcolreg()
552 else if (fb->var.green.length == 6) in vt8623fb_setcolreg()
554 ((green & 0xFC00) >> 5) | ((blue & 0xF800) >> 11); in vt8623fb_setcolreg()
565 (green & 0xFF00) | ((blue & 0xFF00) >> 8); in vt8623fb_setcolreg()
/kernel/linux/linux-6.6/drivers/video/fbdev/
H A Dffb.c190 u32 green; member
632 var->green.offset = 8; in ffb_fixup_var_rgb()
633 var->green.length = 8; in ffb_fixup_var_rgb()
645 * @green: The green value which can be up to 16 bits wide
651 unsigned red, unsigned green, unsigned blue, in ffb_setcolreg()
660 green >>= 8; in ffb_setcolreg()
663 value = (blue << 16) | (green << 8) | red; in ffb_setcolreg()
650 ffb_setcolreg(unsigned regno, unsigned red, unsigned green, unsigned blue, unsigned transp, struct fb_info *info) ffb_setcolreg() argument
H A Darkfb.c805 static int arkfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in arkfb_setcolreg() argument
823 outb(green >> 10, VGA_PEL_D); in arkfb_setcolreg()
833 outb(green >> 10, VGA_PEL_D); in arkfb_setcolreg()
840 if (fb->var.green.length == 5) in arkfb_setcolreg()
842 ((green & 0xF800) >> 6) | ((blue & 0xF800) >> 11); in arkfb_setcolreg()
843 else if (fb->var.green.length == 6) in arkfb_setcolreg()
845 ((green & 0xFC00) >> 5) | ((blue & 0xF800) >> 11); in arkfb_setcolreg()
855 (green & 0xFF00) | ((blue & 0xFF00) >> 8); in arkfb_setcolreg()
/kernel/linux/linux-6.6/drivers/hid/
H A Dhid-lg-g15.c50 u8 red, green, blue; member
212 g15->leds[i].green = in lg_g510_get_initial_led_brightness()
219 g15->leds[i].green = 255; in lg_g510_get_initial_led_brightness()
238 DIV_ROUND_CLOSEST(g15_led->green * brightness, 255); in lg_g510_kbd_led_write()
307 g15_led->green = (value & 0x00ff00) >> 8; in color_store()
326 g15_led->red, g15_led->green, g15_led->blue); in color_show()
/third_party/skia/third_party/externals/libwebp/src/dsp/
H A Dlossless.c245 // Add green to blue and red channels (i.e. perform the inverse transform of
246 // 'subtract green').
252 const uint32_t green = ((argb >> 8) & 0xff); in VP8LAddGreenToBlueAndRed_C() local
254 red_blue += (green << 16) | green; in VP8LAddGreenToBlueAndRed_C()
278 const int8_t green = (int8_t)(argb >> 8); in VP8LTransformColorInverse_C() local
282 new_red += ColorTransformDelta(m->green_to_red_, green); in VP8LTransformColorInverse_C()
284 new_blue += ColorTransformDelta(m->green_to_blue_, green); in VP8LTransformColorInverse_C()
/kernel/linux/linux-5.10/include/linux/platform_data/
H A Dsimplefb.h32 * @red,green,blue: Offsets and sizes of the single RGB parts
40 struct fb_bitfield green; member
/kernel/linux/linux-5.10/include/video/
H A Dsa1100fb.h25 struct fb_bitfield green; member
/kernel/linux/linux-6.6/include/linux/platform_data/
H A Dsimplefb.h34 * @red,green,blue: Offsets and sizes of the single RGB parts
42 struct fb_bitfield green; member
/kernel/linux/linux-6.6/include/video/
H A Dsa1100fb.h25 struct fb_bitfield green; member
/third_party/backends/backend/
H A Dmustek_pp_ccd300.h84 unsigned char *green; member
H A Dumax_pp_mid.h185 extern void sanei_umax_pp_gamma (int *red, int *green, int *blue);
/third_party/node/deps/npm/node_modules/text-table/test/
H A Dansi-colors.js14 color.red('Red'), color.green('Green'), color.blue('Blue')
/third_party/skia/third_party/externals/spirv-tools/source/
H A Dprint.h56 // Sets console color to green.
57 struct green { struct
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/
H A Dprint.h56 // Sets console color to green.
57 struct green { struct
/third_party/spirv-tools/source/
H A Dprint.h56 // Sets console color to green.
57 struct green { struct
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hifb/src/
H A Dhifb_main.c141 static HIFB_COLOR_FMT_E hifb_getfmtbyargb(struct fb_bitfield *red, struct fb_bitfield *green, struct fb_bitfield *blue,
460 .green = {5, 5, 0},
482 .green = {5, 5, 0},
504 .green = {5, 5, 0},
526 .green = {5, 5, 0},
680 .green = {5, 6, 0},
687 .green = {8, 8, 0},
694 .green = {4, 4, 0},
701 .green = {5, 5, 0},
708 .green
3639 hifb_getfmtbyargb(struct fb_bitfield *red, struct fb_bitfield *green, struct fb_bitfield *blue, struct fb_bitfield *transp, hi_u32 color_depth) global() argument
[all...]

Completed in 26 milliseconds

1...<<11121314151617181920>>...92