Home
last modified time | relevance | path

Searched refs:green (Results 1 – 25 of 1416) sorted by relevance

12345678910>>...57

/third_party/skia/src/codec/
DSkMaskSwizzler.cpp22 uint8_t green = masks->getGreen(p); in swizzle_mask16_to_rgba_opaque() local
24 dstPtr[i] = SkPackARGB_as_RGBA(0xFF, red, green, blue); in swizzle_mask16_to_rgba_opaque()
39 uint8_t green = masks->getGreen(p); in swizzle_mask16_to_bgra_opaque() local
41 dstPtr[i] = SkPackARGB_as_BGRA(0xFF, red, green, blue); in swizzle_mask16_to_bgra_opaque()
56 uint8_t green = masks->getGreen(p); in swizzle_mask16_to_rgba_unpremul() local
59 dstPtr[i] = SkPackARGB_as_RGBA(alpha, red, green, blue); in swizzle_mask16_to_rgba_unpremul()
74 uint8_t green = masks->getGreen(p); in swizzle_mask16_to_bgra_unpremul() local
77 dstPtr[i] = SkPackARGB_as_BGRA(alpha, red, green, blue); in swizzle_mask16_to_bgra_unpremul()
92 uint8_t green = masks->getGreen(p); in swizzle_mask16_to_rgba_premul() local
95 dstPtr[i] = premultiply_argb_as_rgba(alpha, red, green, blue); in swizzle_mask16_to_rgba_premul()
[all …]
/third_party/flutter/skia/src/codec/
DSkMaskSwizzler.cpp22 uint8_t green = masks->getGreen(p); in swizzle_mask16_to_rgba_opaque() local
24 dstPtr[i] = SkPackARGB_as_RGBA(0xFF, red, green, blue); in swizzle_mask16_to_rgba_opaque()
39 uint8_t green = masks->getGreen(p); in swizzle_mask16_to_bgra_opaque() local
41 dstPtr[i] = SkPackARGB_as_BGRA(0xFF, red, green, blue); in swizzle_mask16_to_bgra_opaque()
56 uint8_t green = masks->getGreen(p); in swizzle_mask16_to_rgba_unpremul() local
59 dstPtr[i] = SkPackARGB_as_RGBA(alpha, red, green, blue); in swizzle_mask16_to_rgba_unpremul()
74 uint8_t green = masks->getGreen(p); in swizzle_mask16_to_bgra_unpremul() local
77 dstPtr[i] = SkPackARGB_as_BGRA(alpha, red, green, blue); in swizzle_mask16_to_bgra_unpremul()
92 uint8_t green = masks->getGreen(p); in swizzle_mask16_to_rgba_premul() local
95 dstPtr[i] = premultiply_argb_as_rgba(alpha, red, green, blue); in swizzle_mask16_to_rgba_premul()
[all …]
/third_party/libffi/
DChangeLog2 Author: Anthony Green <green@moxielogic.com>
8 Author: Anthony Green <green@moxielogic.com>
14 Author: Anthony Green <green@moxielogic.com>
20 Author: Anthony Green <green@moxielogic.com>
26 Author: Anthony Green <green@moxielogic.com>
32 Author: Anthony Green <green@moxielogic.com>
38 Author: Anthony Green <green@moxielogic.com>
44 Author: Anthony Green <green@moxielogic.com>
51 Author: Anthony Green <green@moxielogic.com>
57 Author: Anthony Green <green@moxielogic.com>
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/image_util/
Dimageformats.cpp21 dst->green = lum; in readColor()
39 dst->green = 0; in readColor()
47 dst->green = 0.0f; in readColor()
70 dst->green = 0.0f; in readColor()
89 dst->green = lum; in readColor()
110 dst->green = lum; in readColor()
130 dst->green = src->G; in readColor()
138 dst->green = gl::normalizedToFloat(src->G); in readColor()
146 dst->G = static_cast<uint8_t>(src->green); in writeColor()
152 dst->G = gl::floatToNormalized<uint8_t>(src->green); in writeColor()
[all …]
/third_party/skia/third_party/externals/angle2/src/image_util/
Dimageformats.cpp21 dst->green = lum; in readColor()
39 dst->green = 0; in readColor()
47 dst->green = 0.0f; in readColor()
70 dst->green = 0.0f; in readColor()
89 dst->green = lum; in readColor()
110 dst->green = lum; in readColor()
130 dst->green = src->G; in readColor()
138 dst->green = gl::normalizedToFloat(src->G); in readColor()
146 dst->G = static_cast<uint8_t>(src->green); in writeColor()
152 dst->G = gl::floatToNormalized<uint8_t>(src->green); in writeColor()
[all …]
/third_party/python/Tools/pynche/
DDetailsViewer.py195 green = self.__green + delta
196 tie.append(green)
198 green = self.__green
207 if red < 0 or green < 0 or blue < 0 or \
208 red > 255 or green > 255 or blue > 255:
210 red, green, blue = self.__red, self.__green, self.__blue
214 if green < 0:
215 green += 256
220 if green > 255:
221 green -= 256
[all …]
DStripViewer.py63 def constant_red_generator(numchips, red, green, blue): argument
68 def constant_green_generator(numchips, red, green, blue): argument
70 return list(zip(seq, [green] * numchips, seq))
73 def constant_blue_generator(numchips, red, green, blue): argument
78 def constant_cyan_generator(numchips, red, green, blue): argument
80 return list(zip(seq, [green] * numchips, [blue] * numchips))
83 def constant_magenta_generator(numchips, red, green, blue): argument
88 def constant_yellow_generator(numchips, red, green, blue): argument
90 return list(zip([red] * numchips, [green] * numchips, seq))
248 red, green, blue = ColorDB.rrggbb_to_triplet(color)
[all …]
DColorDB.py60 red, green, blue = self._extractrgb(mo)
66 key = (red, green, blue)
100 def nearest(self, red, green, blue): argument
110 gdelta = green - g
127 def aliases_of(self, red, green, blue): argument
129 name, aliases = self.__byrgb[(red, green, blue)]
131 raise BadColor((red, green, blue)) from None
214 green = color[3:5]
216 rgbtuple = int(red, 16), int(green, 16), int(blue, 16)
253 red, green, blue = rgbtuple = colordb.find_byname(target) variable
[all …]
/third_party/typescript/tests/baselines/reference/
DexportAssignmentTopLevelEnumdule.types8 if(color === foo.green){
9 >color === foo.green : boolean
11 >foo.green : foo.green
13 >green : foo.green
27 red, green, blue
29 >green : foo.green
DexportAssignmentTopLevelEnumdule.symbols9 if(color === foo.green){
11 >foo.green : Symbol(foo.green, Decl(foo_0.ts, 1, 5))
13 >green : Symbol(foo.green, Decl(foo_0.ts, 1, 5))
26 red, green, blue
28 >green : Symbol(foo.green, Decl(foo_0.ts, 1, 5))
/third_party/flutter/skia/third_party/externals/angle2/src/libGL/
Dentry_points_gl_1_4_autogen.cpp29 void GL_APIENTRY BlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) in BlendColor() argument
32 green, blue, alpha); in BlendColor()
39 (context->skipValidation() || ValidateBlendColor(context, red, green, blue, alpha)); in BlendColor()
42 context->blendColor(red, green, blue, alpha); in BlendColor()
44 ANGLE_CAPTURE(BlendColor, isCallValid, context, red, green, blue, alpha); in BlendColor()
314 void GL_APIENTRY SecondaryColor3b(GLbyte red, GLbyte green, GLbyte blue) in SecondaryColor3b() argument
316 EVENT("(GLbyte red = %d, GLbyte green = %d, GLbyte blue = %d)", red, green, blue); in SecondaryColor3b()
323 (context->skipValidation() || ValidateSecondaryColor3b(context, red, green, blue)); in SecondaryColor3b()
326 context->secondaryColor3b(red, green, blue); in SecondaryColor3b()
328 ANGLE_CAPTURE(SecondaryColor3b, isCallValid, context, red, green, blue); in SecondaryColor3b()
[all …]
Dentry_points_gl_1_4_autogen.h19 ANGLE_EXPORT void GL_APIENTRY BlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
43 ANGLE_EXPORT void GL_APIENTRY SecondaryColor3b(GLbyte red, GLbyte green, GLbyte blue);
45 ANGLE_EXPORT void GL_APIENTRY SecondaryColor3d(GLdouble red, GLdouble green, GLdouble blue);
47 ANGLE_EXPORT void GL_APIENTRY SecondaryColor3f(GLfloat red, GLfloat green, GLfloat blue);
49 ANGLE_EXPORT void GL_APIENTRY SecondaryColor3i(GLint red, GLint green, GLint blue);
51 ANGLE_EXPORT void GL_APIENTRY SecondaryColor3s(GLshort red, GLshort green, GLshort blue);
53 ANGLE_EXPORT void GL_APIENTRY SecondaryColor3ub(GLubyte red, GLubyte green, GLubyte blue);
55 ANGLE_EXPORT void GL_APIENTRY SecondaryColor3ui(GLuint red, GLuint green, GLuint blue);
57 ANGLE_EXPORT void GL_APIENTRY SecondaryColor3us(GLushort red, GLushort green, GLushort blue);
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/gles1/
DDrawTextureTest.cpp59 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, &GLColor::green); in TEST_P()
62 EXPECT_PIXEL_COLOR_EQ(0, 0, GLColor::green); in TEST_P()
77 GLColor::green, GLColor::green in TEST_P()
94 EXPECT_PIXEL_COLOR_EQ(x, y, GLColor::green); in TEST_P()
95 EXPECT_PIXEL_COLOR_EQ(x + 1, y, GLColor::green); in TEST_P()
109 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, &GLColor::green); in TEST_P()
114 EXPECT_PIXEL_COLOR_EQ(0, 0, GLColor::green); in TEST_P()
128 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, &GLColor::green); in TEST_P()
133 EXPECT_PIXEL_COLOR_EQ(0, 0, GLColor::green); in TEST_P()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DSimpleOperationTest.cpp92 EXPECT_PIXEL_COLOR_EQ(0, 0, GLColor::green); in TEST_P()
156 EXPECT_PIXEL_COLOR_EQ(0, 0, GLColor::green); in TEST_P()
217 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 2, getWindowHeight() / 2, GLColor::green); in TEST_P()
322 EXPECT_PIXEL_COLOR_EQ(0, 0, GLColor::green); in TEST_P()
334 EXPECT_PIXEL_COLOR_EQ(0, 0, GLColor::green); in TEST_P()
347 EXPECT_PIXEL_COLOR_EQ(0, 0, GLColor::green); in TEST_P()
382 EXPECT_PIXEL_COLOR_EQ(x, x, GLColor::green); in TEST_P()
424 EXPECT_PIXEL_COLOR_EQ(x, x, GLColor::green); in TEST_P()
463 EXPECT_PIXEL_COLOR_EQ(x, x, GLColor::green); in TEST_P()
468 EXPECT_PIXEL_COLOR_EQ(x, y, GLColor::green); in TEST_P()
[all …]
/third_party/gstreamer/gstplugins_bad/gst/gaudieffects/
Dgstexclusion.c260 gint x, red, green, blue; in transform() local
266 green = (in >> 8) & 0xff; in transform()
270 (((factor - red) * (factor - red) / factor) + ((green * red) / factor)); in transform()
271 green = factor - in transform()
272 (((factor - green) * (factor - green) / factor) + in transform()
273 ((green * green) / factor)); in transform()
279 green = CLAMP (green, 0, 255); in transform()
282 *dest++ = (red << 16) | (green << 8) | blue; in transform()
Dgstdodge.c235 gint x, red, green, blue; in transform() local
241 green = (in >> 8) & 0xff; in transform()
245 green = (256 * green) / (256 - green); in transform()
249 green = CLAMP (green, 0, 255); in transform()
252 *dest++ = (red << 16) | (green << 8) | blue; in transform()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/gles1/
DDrawTextureTest.cpp59 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, &GLColor::green); in TEST_P()
62 EXPECT_PIXEL_COLOR_EQ(0, 0, GLColor::green); in TEST_P()
77 GLColor::green, GLColor::green in TEST_P()
94 EXPECT_PIXEL_COLOR_EQ(x, y, GLColor::green); in TEST_P()
95 EXPECT_PIXEL_COLOR_EQ(x + 1, y, GLColor::green); in TEST_P()
109 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, &GLColor::green); in TEST_P()
114 EXPECT_PIXEL_COLOR_EQ(0, 0, GLColor::green); in TEST_P()
128 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, &GLColor::green); in TEST_P()
133 EXPECT_PIXEL_COLOR_EQ(0, 0, GLColor::green); in TEST_P()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DSimpleOperationTest.cpp90 EXPECT_PIXEL_COLOR_EQ(0, 0, GLColor::green); in TEST_P()
154 EXPECT_PIXEL_COLOR_EQ(0, 0, GLColor::green); in TEST_P()
215 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 2, getWindowHeight() / 2, GLColor::green); in TEST_P()
320 EXPECT_PIXEL_COLOR_EQ(0, 0, GLColor::green); in TEST_P()
332 EXPECT_PIXEL_COLOR_EQ(0, 0, GLColor::green); in TEST_P()
345 EXPECT_PIXEL_COLOR_EQ(0, 0, GLColor::green); in TEST_P()
380 EXPECT_PIXEL_COLOR_EQ(x, x, GLColor::green); in TEST_P()
422 EXPECT_PIXEL_COLOR_EQ(x, x, GLColor::green); in TEST_P()
461 EXPECT_PIXEL_COLOR_EQ(x, x, GLColor::green); in TEST_P()
466 EXPECT_PIXEL_COLOR_EQ(x, y, GLColor::green); in TEST_P()
[all …]
DBPTCCompressedTextureTest.cpp122 EXPECT_PIXEL_COLOR_NEAR(getWindowWidth() - 1, 0, GLColor::green, kPixelTolerance); in TEST_P()
123 EXPECT_PIXEL_COLOR_NEAR(getWindowWidth() - 1, getWindowHeight() - 1, GLColor::green, in TEST_P()
144 EXPECT_PIXEL_COLOR_NEAR(getWindowWidth() - 1, 0, GLColor::green, kPixelTolerance); in TEST_P()
145 EXPECT_PIXEL_COLOR_NEAR(getWindowWidth() - 1, getWindowHeight() - 1, GLColor::green, in TEST_P()
193 EXPECT_PIXEL_COLOR_NEAR(getWindowWidth() - 1, 0, GLColor::green, kPixelTolerance); in TEST_P()
194 EXPECT_PIXEL_COLOR_NEAR(getWindowWidth() - 1, getWindowHeight() - 1, GLColor::green, in TEST_P()
297 EXPECT_PIXEL_COLOR_NEAR(getWindowWidth() - 1, 0, GLColor::green, kPixelTolerance); in TEST_P()
298 EXPECT_PIXEL_COLOR_NEAR(getWindowWidth() - 1, getWindowHeight() - 1, GLColor::green, in TEST_P()
322 EXPECT_PIXEL_COLOR_NEAR(getWindowWidth() - 1, 0, GLColor::green, kPixelTolerance); in TEST_P()
323 EXPECT_PIXEL_COLOR_NEAR(getWindowWidth() - 1, getWindowHeight() - 1, GLColor::green, in TEST_P()
[all …]
/third_party/skia/third_party/externals/libpng/contrib/gregbook/
Drpng2-x.c1230 double red=0.0, green=0.0, blue=0.0, hue, s, v, f, p, q, t; in rpng2_x_load_bg_image() local
1286 if (ii == 0) { red = v; green = t; blue = p; } in rpng2_x_load_bg_image()
1287 else if (ii == 1) { red = q; green = v; blue = p; } in rpng2_x_load_bg_image()
1288 else if (ii == 2) { red = p; green = v; blue = t; } in rpng2_x_load_bg_image()
1289 else if (ii == 3) { red = p; green = q; blue = v; } in rpng2_x_load_bg_image()
1290 else if (ii == 4) { red = t; green = p; blue = v; } in rpng2_x_load_bg_image()
1291 else if (ii == 5) { red = v; green = p; blue = q; } in rpng2_x_load_bg_image()
1293 *dest++ = (uch)(green * 255.0); in rpng2_x_load_bg_image()
1307 ulg red, green, blue; in rpng2_x_load_bg_image() local
1316 green = *src++; in rpng2_x_load_bg_image()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/gles3/
Des3cCopyTexImageConversionsTests.cpp268 ChannelData green; member
362 PixelData getRG16IPixelData(int is_source_pixel, GLenum type, int red, int green);
363 …xelData getRG16UIPixelData(int is_source_pixel, GLenum type, unsigned int red, unsigned int green);
364 PixelData getRG32IPixelData(int is_source_pixel, GLenum type, int red, int green);
365 …xelData getRG32UIPixelData(int is_source_pixel, GLenum type, unsigned int red, unsigned int green);
366 PixelData getRG8IPixelData(int is_source_pixel, GLenum type, int red, int green);
367 …PixelData getRG8UIPixelData(int is_source_pixel, GLenum type, unsigned int red, unsigned int green
368 …PixelData getRG8PixelData(int is_source_pixel, GLenum type, unsigned char red, unsigned char green
369 …PixelData getRGB10A2PixelData(GLenum type, unsigned short red, unsigned short green, unsigned shor…
371 …lData getRGB10A2UIPixelData(int is_source_pixel, GLenum type, unsigned int red, unsigned int green,
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DContext_gl_1_4_autogen.h21 void secondaryColor3b(GLbyte red, GLbyte green, GLbyte blue); \
23 void secondaryColor3d(GLdouble red, GLdouble green, GLdouble blue); \
25 void secondaryColor3f(GLfloat red, GLfloat green, GLfloat blue); \
27 void secondaryColor3i(GLint red, GLint green, GLint blue); \
29 void secondaryColor3s(GLshort red, GLshort green, GLshort blue); \
31 void secondaryColor3ub(GLubyte red, GLubyte green, GLubyte blue); \
33 void secondaryColor3ui(GLuint red, GLuint green, GLuint blue); \
35 void secondaryColor3us(GLushort red, GLushort green, GLushort blue); \
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/4.2/abstract_construct_signatures/
Dabstract_construct_signatures_3.ts36 abstract green: number;
45 green: number = 0;
50 return [this.red, this.green, this.blue];
55 … constructor(red: number = 0, green: number = 0, blue: number = 0, a: number = 0, b: number = 0) {
58 this.red = red; this.green = green; this.blue = blue;
/third_party/skia/third_party/externals/libpng/
Dpngrtran.c775 int g = (palette[i].green >> (8 - PNG_QUANTIZE_GREEN_BITS)); in png_set_quantize()
971 png_fixed_point red, png_fixed_point green) in png_set_rgb_to_gray_fixed() argument
1013 if (red >= 0 && green >= 0 && red + green <= PNG_FP_1) in png_set_rgb_to_gray_fixed()
1023 green_int = (png_uint_16)(((png_uint_32)green*32768)/100000); in png_set_rgb_to_gray_fixed()
1032 if (red >= 0 && green >= 0) in png_set_rgb_to_gray_fixed()
1060 double green) in png_set_rgb_to_gray() argument
1064 png_fixed(png_ptr, green, "rgb to gray green coefficient")); in png_set_rgb_to_gray()
1179 png_ptr->background.green = in png_init_palette_transformations()
1180 png_ptr->palette[png_ptr->background.index].green; in png_init_palette_transformations()
1277 png_ptr->background.red = png_ptr->background.green = in png_init_rgb_transformations()
[all …]
/third_party/flutter/skia/third_party/externals/libpng/
Dpngrtran.c775 int g = (palette[i].green >> (8 - PNG_QUANTIZE_GREEN_BITS)); in png_set_quantize()
971 png_fixed_point red, png_fixed_point green) in png_set_rgb_to_gray_fixed() argument
1013 if (red >= 0 && green >= 0 && red + green <= PNG_FP_1) in png_set_rgb_to_gray_fixed()
1023 green_int = (png_uint_16)(((png_uint_32)green*32768)/100000); in png_set_rgb_to_gray_fixed()
1032 if (red >= 0 && green >= 0) in png_set_rgb_to_gray_fixed()
1060 double green) in png_set_rgb_to_gray() argument
1064 png_fixed(png_ptr, green, "rgb to gray green coefficient")); in png_set_rgb_to_gray()
1179 png_ptr->background.green = in png_init_palette_transformations()
1180 png_ptr->palette[png_ptr->background.index].green; in png_init_palette_transformations()
1277 png_ptr->background.red = png_ptr->background.green = in png_init_rgb_transformations()
[all …]

12345678910>>...57