Home
last modified time | relevance | path

Searched refs:green (Results 151 - 175 of 1234) sorted by relevance

12345678910>>...50

/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/
H A Drs_color.h31 RSColor(int16_t red, int16_t green, int16_t blue) noexcept;
32 RSColor(int16_t red, int16_t green, int16_t blue, int16_t alpha) noexcept;
59 void SetGreen(int16_t green);
/third_party/skia/third_party/externals/swiftshader/tests/
H A Dpresubmit.sh16 green="$(tput setaf 2)"
38 echo "${green}OK${normal}"
113 echo "${green}All check completed successfully.${normal}"
/third_party/python/Lib/turtledemo/
H A Dcolormixer.py35 screen.bgcolor(red.ycor(), green.ycor(), blue.ycor())
38 global screen, red, green, blue
44 green = ColorTurtle(1, .5)
/kernel/linux/linux-5.10/drivers/video/fbdev/
H A Dchipsfb.c78 static int chipsfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
121 info->var.green.offset = 5; in chipsfb_set_par()
123 info->var.red.length = info->var.green.length = in chipsfb_set_par()
136 info->var.red.offset = info->var.green.offset = in chipsfb_set_par()
138 info->var.red.length = info->var.green.length = in chipsfb_set_par()
150 static int chipsfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in chipsfb_setcolreg() argument
156 green >>= 8; in chipsfb_setcolreg()
161 outb(green, 0x3c9); in chipsfb_setcolreg()
318 .green = { .length = 8 },
H A Dsunxvr2500.c49 unsigned red, unsigned green, unsigned blue, in s3d_setcolreg()
56 green >>= 8; in s3d_setcolreg()
59 value = (blue << 24) | (green << 16) | (red << 8); in s3d_setcolreg()
104 var->green.offset = 16; in s3d_set_fbinfo()
105 var->green.length = 8; in s3d_set_fbinfo()
48 s3d_setcolreg(unsigned regno, unsigned red, unsigned green, unsigned blue, unsigned transp, struct fb_info *info) s3d_setcolreg() argument
H A Dfm2fb.c32 * channel, GG the green channel and BB the blue channel.
37 * - composite sync/sync/sync over green
70 * JP4 modulate composite sync on green output (1-2 composite
71 * sync on green channel/2-3 normal composite sync)
95 * 2 analog green 0.7 Vss
164 static int fm2fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
195 static int fm2fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in fm2fb_setcolreg() argument
200 green >>= 8; in fm2fb_setcolreg()
204 (green << 8) | blue; in fm2fb_setcolreg()
267 for (x = 0; x < 96; x++) *ptr++ = 0x00ff00;/* green */ in fm2fb_probe()
[all...]
H A Dimxfb.c132 struct fb_bitfield green; member
223 .green = {.offset = 8, .length = 8,},
230 .green = {.offset = 5, .length = 6,},
237 .green = {.offset = 4, .length = 4,},
244 .green = {.offset = 0, .length = 8,},
259 static int imxfb_setpalettereg(u_int regno, u_int red, u_int green, u_int blue, in imxfb_setpalettereg() argument
268 (CNVT_TOHW(green,4) << 4) | in imxfb_setpalettereg()
277 static int imxfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in imxfb_setcolreg() argument
292 green = 0xffff - green; in imxfb_setcolreg()
[all...]
H A Dmacmodes.c240 var->green.offset = 0; in mac_vmode_to_var()
241 var->green.length = 8; in mac_vmode_to_var()
250 var->green.offset = 5; in mac_vmode_to_var()
251 var->green.length = 5; in mac_vmode_to_var()
260 var->green.offset = 8; in mac_vmode_to_var()
261 var->green.length = 8; in mac_vmode_to_var()
/kernel/linux/linux-6.6/drivers/video/fbdev/
H A Dchipsfb.c79 static int chipsfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
120 info->var.green.offset = 5; in chipsfb_set_par()
122 info->var.red.length = info->var.green.length = in chipsfb_set_par()
135 info->var.red.offset = info->var.green.offset = in chipsfb_set_par()
137 info->var.red.length = info->var.green.length = in chipsfb_set_par()
149 static int chipsfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in chipsfb_setcolreg() argument
155 green >>= 8; in chipsfb_setcolreg()
160 outb(green, 0x3c9); in chipsfb_setcolreg()
317 .green = { .length = 8 },
H A Dsunxvr2500.c50 unsigned red, unsigned green, unsigned blue, in s3d_setcolreg()
57 green >>= 8; in s3d_setcolreg()
60 value = (blue << 24) | (green << 16) | (red << 8); in s3d_setcolreg()
102 var->green.offset = 16; in s3d_set_fbinfo()
103 var->green.length = 8; in s3d_set_fbinfo()
49 s3d_setcolreg(unsigned regno, unsigned red, unsigned green, unsigned blue, unsigned transp, struct fb_info *info) s3d_setcolreg() argument
H A Dfm2fb.c32 * channel, GG the green channel and BB the blue channel.
37 * - composite sync/sync/sync over green
70 * JP4 modulate composite sync on green output (1-2 composite
71 * sync on green channel/2-3 normal composite sync)
95 * 2 analog green 0.7 Vss
164 static int fm2fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
193 static int fm2fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in fm2fb_setcolreg() argument
198 green >>= 8; in fm2fb_setcolreg()
202 (green << 8) | blue; in fm2fb_setcolreg()
265 for (x = 0; x < 96; x++) *ptr++ = 0x00ff00;/* green */ in fm2fb_probe()
[all...]
H A Dmacmodes.c240 var->green.offset = 0; in mac_vmode_to_var()
241 var->green.length = 8; in mac_vmode_to_var()
250 var->green.offset = 5; in mac_vmode_to_var()
251 var->green.length = 5; in mac_vmode_to_var()
260 var->green.offset = 8; in mac_vmode_to_var()
261 var->green.length = 8; in mac_vmode_to_var()
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_color_mgmt.c261 * @green: green correction table
276 u16 *red, u16 *green, u16 *blue, in drm_crtc_legacy_gamma_set()
292 return crtc->funcs->gamma_set(crtc, red, green, blue, size, ctx); in drm_crtc_legacy_gamma_set()
318 blob_data[i].green = green[i]; in drm_crtc_legacy_gamma_set()
393 if (copy_from_user(g_base, (void __user *)(unsigned long)crtc_lut->green, size)) { in drm_mode_gamma_set_ioctl()
457 if (copy_to_user((void __user *)(unsigned long)crtc_lut->green, g_base, size)) { in drm_mode_gamma_get_ioctl()
614 entry[i].red != entry[i].green) { in drm_color_lut_check()
622 entry[i].green < entr in drm_color_lut_check()
275 drm_crtc_legacy_gamma_set(struct drm_crtc *crtc, u16 *red, u16 *green, u16 *blue, u32 size, struct drm_modeset_acquire_ctx *ctx) drm_crtc_legacy_gamma_set() argument
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DGLSLTest.cpp871 verifyAttachment2DColor(1, textures[1], GL_TEXTURE_2D, 0, GLColor::green); in TEST_P()
1681 EXPECT_PIXEL_COLOR_EQ(0, 0, GLColor::green); in TEST_P()
2727 EXPECT_PIXEL_COLOR_EQ(0, 0, GLColor::green); in TEST_P()
3504 EXPECT_PIXEL_COLOR_EQ(0, 0, GLColor::green); in TEST_P()
3527 EXPECT_PIXEL_COLOR_EQ(0, 0, GLColor::green); in TEST_P()
3547 " bool green = abs(f - 3.0) < 0.01 && abs(v[1] - 3.0) < 0.01 && sideEffectCount == 1;\n" in TEST_P()
3548 " my_FragColor = vec4(0.0, (green ? 1.0 : 0.0), 0.0, 1.0);\n" in TEST_P()
3556 EXPECT_PIXEL_COLOR_EQ(0, 0, GLColor::green); in TEST_P()
3580 EXPECT_PIXEL_COLOR_EQ(0, 0, GLColor::green); in TEST_P()
3604 EXPECT_PIXEL_COLOR_EQ(0, 0, GLColor::green); in TEST_P()
[all...]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_state_fs_fastpath.c168 * Draw opaque green (for debugging).
171 green(const struct lp_jit_context *context, in green() function
214 variant->jit_function[RAST_WHOLE] = green; in llvmpipe_fs_variant_fastpath()
215 variant->jit_function[RAST_EDGE_TEST] = green; in llvmpipe_fs_variant_fastpath()
227 variant->jit_function[RAST_WHOLE] = green; in llvmpipe_fs_variant_fastpath()
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/
H A Dvxlan_symmetric_ipv6.sh44 # | | vrf-green | |
68 # | | vrf-green | |
216 vrf_create "vrf-green"
217 ip link set dev vrf-green up
219 ip link add link br1 name vlan10 up master vrf-green type vlan id 10
221 ip link add link vlan10 name vlan10-v up master vrf-green \
225 ip link add link br1 name vlan20 up master vrf-green type vlan id 20
227 ip link add link vlan20 name vlan20-v up master vrf-green \
231 ip link add link br1 name vlan4001 up master vrf-green \
260 vrf_destroy "vrf-green"
[all...]
/third_party/skia/docs/examples/
H A DColorGetG.cpp12 uint8_t green = SkColorGetG(source.getColor(57, 192)); in REG_FIDDLE() local
13 canvas->drawString(std::to_string(green).c_str(), 40, 65, SkPaint()); in REG_FIDDLE()
/kernel/linux/linux-6.6/drivers/video/fbdev/core/
H A Dfbmem.c97 if (var->green.length == var->blue.length && in fb_get_color_depth()
98 var->green.length == var->red.length && in fb_get_color_depth()
99 var->green.offset == var->blue.offset && in fb_get_color_depth()
100 var->green.offset == var->red.offset) in fb_get_color_depth()
101 depth = var->green.length; in fb_get_color_depth()
103 depth = var->green.length + var->red.length + in fb_get_color_depth()
207 palette_cmap.green = palette_green; in fb_set_logocmap()
220 palette_cmap.green[j] = clut[1] << 8 | clut[1]; in fb_set_logocmap()
244 greenmask = mask[info->var.green.length < 8 ? info->var.green in fb_set_logo_truepalette()
[all...]
/foundation/window/window_manager_lite/services/wms/
H A Dlite_win.cpp203 dst->green = (tmpSrc->green * alpha / OPA_OPAQUE) >> 3; in FlushWithModeBlend()
208 COLOR_BLEND_RGB(dst->red, dst->green, dst->blue, in FlushWithModeBlend()
209 (tmpSrc->red) >> 3, (tmpSrc->green) >> 3, (tmpSrc->blue) >> 3, alpha); in FlushWithModeBlend()
216 COLOR_BLEND_RGBA(dst->red, dst->green, dst->blue, dst->alpha, in FlushWithModeBlend()
217 tmpSrc->red, tmpSrc->green, tmpSrc->blue, alpha); in FlushWithModeBlend()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_color.c109 if ((lut[i].red != lut[i].green) || (lut[i].green != lut[i].blue)) in __is_lut_linear()
135 g = drm_color_lut_extract(lut[i].green, 16); in __drm_lut_to_dc_gamma()
139 gamma->entries.green[i] = dc_fixpt_from_int(g); in __drm_lut_to_dc_gamma()
148 g = drm_color_lut_extract(lut[i].green, 16); in __drm_lut_to_dc_gamma()
152 gamma->entries.green[i] = dc_fixpt_from_fraction(g, MAX_DRM_LUT_VALUE); in __drm_lut_to_dc_gamma()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_color.c123 if ((lut[i].red != lut[i].green) || (lut[i].green != lut[i].blue)) in __is_lut_linear()
153 g = drm_color_lut_extract(lut[i].green, 16); in __drm_lut_to_dc_gamma()
157 gamma->entries.green[i] = dc_fixpt_from_int(g); in __drm_lut_to_dc_gamma()
166 g = drm_color_lut_extract(lut[i].green, 16); in __drm_lut_to_dc_gamma()
170 gamma->entries.green[i] = dc_fixpt_from_fraction(g, MAX_DRM_LUT_VALUE); in __drm_lut_to_dc_gamma()
/kernel/linux/linux-6.6/drivers/gpu/drm/gma500/
H A Dfbdev.c57 unsigned int red, unsigned int green, in psb_fbdev_fb_setcolreg()
73 green = CMAP_TOHW(green, info->var.green.length); in psb_fbdev_fb_setcolreg()
77 (green << info->var.green.offset) | in psb_fbdev_fb_setcolreg()
56 psb_fbdev_fb_setcolreg(unsigned int regno, unsigned int red, unsigned int green, unsigned int blue, unsigned int transp, struct fb_info *info) psb_fbdev_fb_setcolreg() argument
/third_party/skia/third_party/externals/swiftshader/third_party/astc-encoder/Source/
H A Dastc_decompress_symbolic.cpp137 float red = 0, green = 0, blue = 0, alpha = 0; in decompress_symbolic_block() local
147 green = sf16_to_float(unorm16_to_sf16(scb->constant_color[1] & mask)); in decompress_symbolic_block()
159 green = 0.0f; in decompress_symbolic_block()
167 green = 0.0f; in decompress_symbolic_block()
176 green = sf16_to_float(scb->constant_color[1]); in decompress_symbolic_block()
188 blk->orig_data[4 * i + 1] = green; in decompress_symbolic_block()
/third_party/skia/third_party/externals/libwebp/src/enc/
H A Dpicture_tools_enc.c195 const int green = (background_rgb >> 8) & 0xff; in WebPBlendAlpha() local
201 const int Y0 = VP8RGBToY(red, green, blue, YUV_HALF); in WebPBlendAlpha()
203 const int U0 = VP8RGBToU(4 * red, 4 * green, 4 * blue, 4 * YUV_HALF); in WebPBlendAlpha()
204 const int V0 = VP8RGBToV(4 * red, 4 * green, 4 * blue, 4 * YUV_HALF); in WebPBlendAlpha()
247 const uint32_t background = MakeARGB32(red, green, blue); in WebPBlendAlpha()
257 g = BLEND(green, g, alpha); in WebPBlendAlpha()
/third_party/skia/third_party/externals/freetype/src/sfnt/
H A Dpngshim.c147 unsigned int green = base[1]; in premultiply_data() local
154 green = multiply_alpha( alpha, green ); in premultiply_data()
159 base[1] = (unsigned char)green; in premultiply_data()
182 unsigned int green = base[1]; in convert_bytes_to_data() local
187 base[1] = (unsigned char)green; in convert_bytes_to_data()

Completed in 19 milliseconds

12345678910>>...50