/third_party/node/deps/npm/node_modules/chalk/source/vendor/ansi-styles/ |
H A D | index.js | 7 const wrapAnsi16m = (offset = 0) => (red, green, blue) => `\u001B[${38 + offset};2;${red};${green};${blue}m`; 24 red: [31, 39], 112 value(red, green, blue) { 115 if (red === green && green === blue) { 116 if (red < 8) { 120 if (red > 248) { 124 return Math.round(((red - 8) / 247) * 24) + 232; 128 + (36 * Math.round(red / 255 * 5)) 173 let red; [all...] |
/third_party/node/deps/npm/node_modules/ansi-styles/ |
H A D | index.js | 7 const wrapAnsi16m = (offset = 0) => (red, green, blue) => `\u001B[${38 + offset};2;${red};${green};${blue}m`; 24 red: [31, 39], 112 value: (red, green, blue) => { 115 if (red === green && green === blue) { 116 if (red < 8) { 120 if (red > 248) { 124 return Math.round(((red - 8) / 247) * 24) + 232; 128 + (36 * Math.round(red / 255 * 5)) 173 let red; [all...] |
/third_party/skia/src/codec/ |
H A D | SkMaskSwizzler.cpp | 21 uint8_t red = masks->getRed(p); in swizzle_mask16_to_rgba_opaque() local 24 dstPtr[i] = SkPackARGB_as_RGBA(0xFF, red, green, blue); in swizzle_mask16_to_rgba_opaque() 38 uint8_t red = masks->getRed(p); in swizzle_mask16_to_bgra_opaque() local 41 dstPtr[i] = SkPackARGB_as_BGRA(0xFF, red, green, blue); in swizzle_mask16_to_bgra_opaque() 55 uint8_t red = masks->getRed(p); in swizzle_mask16_to_rgba_unpremul() local 59 dstPtr[i] = SkPackARGB_as_RGBA(alpha, red, green, blue); in swizzle_mask16_to_rgba_unpremul() 73 uint8_t red = masks->getRed(p); in swizzle_mask16_to_bgra_unpremul() local 77 dstPtr[i] = SkPackARGB_as_BGRA(alpha, red, green, blue); in swizzle_mask16_to_bgra_unpremul() 91 uint8_t red = masks->getRed(p); in swizzle_mask16_to_rgba_premul() local 95 dstPtr[i] = premultiply_argb_as_rgba(alpha, red, gree in swizzle_mask16_to_rgba_premul() 109 uint8_t red = masks->getRed(p); swizzle_mask16_to_bgra_premul() local 129 uint8_t red = masks->getRed(p); swizzle_mask16_to_565() local 146 uint8_t red = masks->getRed(p); swizzle_mask24_to_rgba_opaque() local 163 uint8_t red = masks->getRed(p); swizzle_mask24_to_bgra_opaque() local 180 uint8_t red = masks->getRed(p); swizzle_mask24_to_rgba_unpremul() local 198 uint8_t red = masks->getRed(p); swizzle_mask24_to_bgra_unpremul() local 216 uint8_t red = masks->getRed(p); swizzle_mask24_to_rgba_premul() local 234 uint8_t red = masks->getRed(p); swizzle_mask24_to_bgra_premul() local 252 uint8_t red = masks->getRed(p); swizzle_mask24_to_565() local 269 uint8_t red = masks->getRed(p); swizzle_mask32_to_rgba_opaque() local 286 uint8_t red = masks->getRed(p); swizzle_mask32_to_bgra_opaque() local 303 uint8_t red = masks->getRed(p); swizzle_mask32_to_rgba_unpremul() local 321 uint8_t red = masks->getRed(p); swizzle_mask32_to_bgra_unpremul() local 339 uint8_t red = masks->getRed(p); swizzle_mask32_to_rgba_premul() local 357 uint8_t red = masks->getRed(p); swizzle_mask32_to_bgra_premul() local 374 uint8_t red = masks->getRed(p); swizzle_mask32_to_565() local [all...] |
/third_party/skia/third_party/externals/angle2/src/image_util/ |
H A D | imageformats.cpp | 20 dst->red = lum; in readColor() 28 dst->L = gl::floatToNormalized<uint8_t>(src->red); in writeColor() 38 dst->red = src->R; in readColor() 46 dst->red = gl::normalizedToFloat(src->R); in readColor() 54 dst->R = static_cast<uint8_t>(src->red); in writeColor() 59 dst->R = gl::floatToNormalized<uint8_t>(src->red); in writeColor() 69 dst->red = 0.0f; in readColor() 88 dst->red = lum; in readColor() 96 dst->L = gl::floatToNormalized<uint8_t>(src->red); in writeColor() 109 dst->red in readColor() [all...] |
/third_party/json/docs/examples/ |
H A D | nlohmann_json_serialize_enum_2.cpp | 10 red, green, blue, unknown member in ns::Color 15 { Color::unknown, "unknown" }, { Color::red, "red" }, 17 { Color::red, "rot" } // a second conversion for Color::red 24 json j_red = ns::Color::red; in main() 25 std::cout << static_cast<int>(ns::Color::red) << " -> " << j_red << std::endl; in main() 30 auto red = j_red.get<ns::Color>(); in main() local 32 std::cout << j_red << " -> " << static_cast<int>(red) << std::endl; in main()
|
/third_party/mesa3d/src/mesa/main/ |
H A D | texcompress_rgtc.c | 318 GLubyte red; in fetch_red_rgtc1() local 319 util_format_unsigned_fetch_texel_rgtc(rowStride, map, i, j, &red, 1); in fetch_red_rgtc1() 320 texel[RCOMP] = UBYTE_TO_FLOAT(red); in fetch_red_rgtc1() 330 GLubyte red; in fetch_l_latc1() local 331 util_format_unsigned_fetch_texel_rgtc(rowStride, map, i, j, &red, 1); in fetch_l_latc1() 334 texel[BCOMP] = UBYTE_TO_FLOAT(red); in fetch_l_latc1() 342 GLbyte red; in fetch_signed_red_rgtc1() local 344 i, j, &red, 1); in fetch_signed_red_rgtc1() 345 texel[RCOMP] = BYTE_TO_FLOAT_TEX(red); in fetch_signed_red_rgtc1() 355 GLbyte red; in fetch_signed_l_latc1() local 368 GLubyte red, green; fetch_rg_rgtc2() local 385 GLubyte red, green; fetch_la_latc2() local 403 GLbyte red, green; fetch_signed_rg_rgtc2() local 421 GLbyte red, green; fetch_signed_la_latc2() local [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/gles3/ |
H A D | es3cCopyTexImageConversionsTests.cpp | 270 ChannelData red; member 355 PixelData getR16IPixelData(int is_source_pixel, GLenum type, int red); 356 PixelData getR16UIPixelData(int is_source_pixel, GLenum type, unsigned int red); 357 PixelData getR32IPixelData(int is_source_pixel, GLenum type, int red); 358 PixelData getR32UIPixelData(int is_source_pixel, GLenum type, unsigned int red); 359 PixelData getR8IPixelData(int is_source_pixel, GLenum type, int red); 360 PixelData getR8UIPixelData(int is_source_pixel, GLenum type, unsigned int red); 361 PixelData getR8PixelData(int is_source_pixel, GLenum type, unsigned char red); 362 PixelData getRG16IPixelData(int is_source_pixel, GLenum type, int red, int green); 363 PixelData getRG16UIPixelData(int is_source_pixel, GLenum type, unsigned int red, unsigne 796 getR16IPixelData(int is_source_pixel, GLenum type, int red) getR16IPixelData() argument 847 getR16UIPixelData(int is_source_pixel, GLenum type, unsigned int red) getR16UIPixelData() argument 896 getR32IPixelData(int is_source_pixel, GLenum type, int red) getR32IPixelData() argument 934 getR32UIPixelData(int is_source_pixel, GLenum type, unsigned int red) getR32UIPixelData() argument 974 getR8IPixelData(int is_source_pixel, GLenum type, int red) getR8IPixelData() argument 1022 getR8UIPixelData(int is_source_pixel, GLenum type, unsigned int red) getR8UIPixelData() argument 1067 getR8PixelData(int is_source_pixel, GLenum type, unsigned char red) getR8PixelData() argument 1107 getRG16IPixelData(int is_source_pixel, GLenum type, int red, int green) getRG16IPixelData() argument 1161 getRG16UIPixelData(int is_source_pixel, GLenum type, unsigned int red, unsigned int green) getRG16UIPixelData() argument 1209 getRG32IPixelData(int is_source_pixel, GLenum type, int red, int green) getRG32IPixelData() argument 1247 getRG32UIPixelData(int is_source_pixel, GLenum type, unsigned int red, unsigned int green) getRG32UIPixelData() argument 1289 getRG8IPixelData(int is_source_pixel, GLenum type, int red, int green) getRG8IPixelData() argument 1339 getRG8UIPixelData(int is_source_pixel, GLenum type, unsigned int red, unsigned int green) getRG8UIPixelData() argument 1387 getRG8PixelData(int is_source_pixel, GLenum type, unsigned char red, unsigned char green) getRG8PixelData() argument 1429 getRGB10A2PixelData(GLenum type, unsigned short red, unsigned short green, unsigned short blue, unsigned char alpha) getRGB10A2PixelData() argument 1472 getRGB10A2UIPixelData(int is_source_pixel, GLenum type, unsigned int red, unsigned int green, unsigned int blue, unsigned int alpha) getRGB10A2UIPixelData() argument 1527 getRGB16IPixelData(int is_source_pixel, GLenum type, int red, int green, int blue) getRGB16IPixelData() argument 1580 getRGB16UIPixelData(int is_source_pixel, GLenum type, unsigned int red, unsigned int green, unsigned int blue) getRGB16UIPixelData() argument 1632 getRGB32IPixelData(int is_source_pixel, GLenum type, int red, int green, int blue) getRGB32IPixelData() argument 1674 getRGB32UIPixelData(int is_source_pixel, GLenum type, unsigned int red, unsigned int green, unsigned int blue) getRGB32UIPixelData() argument 1721 getRGB5A1PixelData(int is_source_pixel, GLenum type, unsigned int red, unsigned int green, unsigned int blue, unsigned int alpha) getRGB5A1PixelData() argument 1822 getRGB565PixelData(int is_source_pixel, GLenum type, int red, int green, int blue) getRGB565PixelData() argument 1894 getRGB8PixelData(int is_source_pixel, GLenum type, unsigned char red, unsigned char green, unsigned char blue) getRGB8PixelData() argument 1939 getRGB8IPixelData(int is_source_pixel, GLenum type, int red, int green, int blue) getRGB8IPixelData() argument 1993 getRGB8UIPixelData(int is_source_pixel, GLenum type, unsigned int red, unsigned int green, unsigned int blue) getRGB8UIPixelData() argument 2048 getRGBA16IPixelData(int is_source_pixel, GLenum type, int red, int green, int blue, int alpha) getRGBA16IPixelData() argument 2104 getRGBA16UIPixelData(int is_source_pixel, GLenum type, unsigned int red, unsigned int green, unsigned int blue, unsigned int alpha) getRGBA16UIPixelData() argument 2158 getRGBA32IPixelData(GLenum type, int red, int green, int blue, int alpha) getRGBA32IPixelData() argument 2193 getRGBA32UIPixelData(GLenum type, unsigned int red, unsigned int green, unsigned int blue, unsigned int alpha) getRGBA32UIPixelData() argument 2231 getRGBA8IPixelData(int is_source_pixel, GLenum type, int red, int green, int blue, int alpha) getRGBA8IPixelData() argument 2287 getRGBA8UIPixelData(int is_source_pixel, GLenum type, unsigned int red, unsigned int green, unsigned int blue, unsigned int alpha) getRGBA8UIPixelData() argument 2343 getRGBA4PixelData(int is_source_pixel, GLenum type, unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha) getRGBA4PixelData() argument 2412 getRGBA8PixelData(GLenum type, unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha) getRGBA8PixelData() argument 2446 getSRGB8Alpha8PixelData(GLenum type, unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha) getSRGB8Alpha8PixelData() argument 2468 getSRGB8PixelData(int is_source_pixel, GLenum type, unsigned char red, unsigned char green, unsigned char blue) getSRGB8PixelData() argument 2498 getR16FPixelData(int is_source_pixel, GLenum type, float red) getR16FPixelData() argument 2535 getR32FPixelData(int is_source_pixel, GLenum type, float red) getR32FPixelData() argument 2573 getRG16FPixelData(int is_source_pixel, GLenum type, float red, float green) getRG16FPixelData() argument 2615 getRG32FPixelData(int is_source_pixel, GLenum type, float red, float green) getRG32FPixelData() argument 2658 getRGB16FPixelData(int is_source_pixel, GLenum type, float red, float green, float blue) getRGB16FPixelData() argument 2705 getRGB32FPixelData(int is_source_pixel, GLenum type, float red, float green, float blue) getRGB32FPixelData() argument 2753 getRGBA16FPixelData(GLenum type, float red, float green, float blue, float alpha) getRGBA16FPixelData() argument 2789 getRGBA32FPixelData(GLenum type, float red, float green, float blue, float alpha) getRGBA32FPixelData() argument [all...] |
/third_party/skia/third_party/externals/libpng/ |
H A D | pngrtran.c | 774 int r = (palette[i].red >> (8 - PNG_QUANTIZE_RED_BITS)); in png_set_quantize() 971 png_fixed_point red, png_fixed_point green) in png_set_rgb_to_gray_fixed() 1013 if (red >= 0 && green >= 0 && red + green <= PNG_FP_1) in png_set_rgb_to_gray_fixed() 1022 red_int = (png_uint_16)(((png_uint_32)red*32768)/100000); in png_set_rgb_to_gray_fixed() 1032 if (red >= 0 && green >= 0) in png_set_rgb_to_gray_fixed() 1059 png_set_rgb_to_gray(png_structrp png_ptr, int error_action, double red, in png_set_rgb_to_gray() argument 1063 png_fixed(png_ptr, red, "rgb to gray red coefficient"), in png_set_rgb_to_gray() 1177 png_ptr->background.red in png_init_palette_transformations() 970 png_set_rgb_to_gray_fixed(png_structrp png_ptr, int error_action, png_fixed_point red, png_fixed_point green) png_set_rgb_to_gray_fixed() argument 3030 png_byte red = *(sp++); png_do_rgb_to_gray() local 3069 png_byte red = *(sp++); png_do_rgb_to_gray() local 3102 png_uint_16 red, green, blue, w; png_do_rgb_to_gray() local 3154 png_uint_16 red, green, blue, gray16; png_do_rgb_to_gray() local 4545 png_byte red = (png_byte)(trans_color->red & 0xff); png_do_expand() local [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | WEBGLVideoTextureTest.cpp | 70 // Initialize basic red texture. in TEST_P() 71 const std::vector<GLColor> redColors(4, GLColor::red); in TEST_P() 82 EXPECT_PIXEL_RECT_EQ(0, 0, getWindowWidth(), getWindowHeight(), GLColor::red); in TEST_P() 120 // Initialize basic red texture. in TEST_P() 121 const std::vector<GLColor> redColors(4, GLColor::red); in TEST_P() 131 EXPECT_PIXEL_RECT_EQ(0, 0, getWindowWidth(), getWindowHeight(), GLColor::red); in TEST_P() 176 // Initialize basic red texture. in TEST_P() 177 const std::vector<GLColor> redColors(4, GLColor::red); in TEST_P() 199 EXPECT_PIXEL_RECT_EQ(0, 0, getWindowWidth(), getWindowHeight(), GLColor::red); in TEST_P() 203 EXPECT_PIXEL_RECT_EQ(0, 0, getWindowWidth(), getWindowHeight(), GLColor::red); in TEST_P() [all...] |
H A D | GetImageTest.cpp | 73 std::vector<GLColor> pixelData(kSize * kSize, GLColor::red); in InitSimpleTexture() 101 EXPECT_PIXEL_COLOR_EQ(0, 0, GLColor::red); in TEST_P() 174 std::vector<GLColor> expectedData = {GLColor::red, GLColor::blue, GLColor::green, in TEST_P() 183 EXPECT_PIXEL_COLOR_EQ(0, 0, GLColor::red); in TEST_P() 204 {GLColor::red, GLColor::red, GLColor::red, GLColor::red}, in TEST_P() 242 std::vector<GLColor> expectedData = {GLColor::red, GLColor::blue, GLColor::green, in TEST_P() 258 EXPECT_PIXEL_COLOR_EQ(0, 0, GLColor::red); in TEST_P() [all...] |
H A D | MultisampleTest.cpp | 202 // The center pixels should be all red. in TEST_P() 203 EXPECT_PIXEL_COLOR_EQ(kWindowWidth / 2, kWindowHeight / 2, GLColor::red); in TEST_P() 204 EXPECT_PIXEL_COLOR_EQ(kWindowWidth / 2 - 1, kWindowHeight / 2, GLColor::red); in TEST_P() 205 EXPECT_PIXEL_COLOR_EQ(kWindowWidth / 2, kWindowHeight / 2 - 1, GLColor::red); in TEST_P() 206 EXPECT_PIXEL_COLOR_EQ(kWindowWidth / 2 - 1, kWindowHeight / 2 - 1, GLColor::red); in TEST_P() 208 // Border pixels should be between red and black, and not exactly either; corners are darker and in TEST_P() 260 // A = Any red (0.5, 0.75 or 1.0) in TEST_P() 271 EXPECT_PIXEL_COLOR_NEAR(3, 3, GLColor::red, kLargeMargin); in TEST_P() 272 EXPECT_PIXEL_COLOR_NEAR(4, 3, GLColor::red, kErrorMargin); in TEST_P() 275 EXPECT_PIXEL_COLOR_NEAR(11, 4, GLColor::red, kErrorMargi in TEST_P() [all...] |
H A D | BPTCCompressedTextureTest.cpp | 19 // The pixel data represents a 4x4 pixel image with the left side colored red and the right side 120 EXPECT_PIXEL_COLOR_NEAR(0, 0, GLColor::red, kPixelTolerance); in TEST_P() 121 EXPECT_PIXEL_COLOR_NEAR(0, getWindowHeight() - 1, GLColor::red, kPixelTolerance); in TEST_P() 142 EXPECT_PIXEL_COLOR_NEAR(0, 0, GLColor::red, kPixelTolerance); in TEST_P() 143 EXPECT_PIXEL_COLOR_NEAR(0, getWindowHeight() - 1, GLColor::red, kPixelTolerance); in TEST_P() 191 EXPECT_PIXEL_COLOR_NEAR(0, 0, GLColor::red, kPixelTolerance); in TEST_P() 192 EXPECT_PIXEL_COLOR_NEAR(0, getWindowHeight() - 1, GLColor::red, kPixelTolerance); in TEST_P() 295 EXPECT_PIXEL_COLOR_NEAR(0, 0, GLColor::red, kPixelTolerance); in TEST_P() 296 EXPECT_PIXEL_COLOR_NEAR(0, getWindowHeight() - 1, GLColor::red, kPixelTolerance); in TEST_P() 320 EXPECT_PIXEL_COLOR_NEAR(0, 0, GLColor::red, kPixelToleranc in TEST_P() [all...] |
H A D | ClipDistanceTest.cpp | 91 // Draw full screen quad with color red in TEST_P() 106 // All pixels on the right of the plane x = -0.5 must be red in TEST_P() 111 EXPECT_PIXEL_COLOR_EQ(x, y, GLColor::red); in TEST_P() 119 // Draw full screen quad with color red in TEST_P() 125 // All pixels on the left of the plane x = -0.5 must be red in TEST_P() 130 EXPECT_PIXEL_COLOR_EQ(x, y, GLColor::red); in TEST_P() 147 // All pixels must be red in TEST_P() 152 EXPECT_PIXEL_COLOR_EQ(x, y, GLColor::red); in TEST_P() 193 // Draw full screen quad with color red in TEST_P() 213 // All pixels on the right of the plane x = -0.5 must be red, excep in TEST_P() [all...] |
/third_party/skia/third_party/externals/libpng/contrib/gregbook/ |
H A D | rpng2-x.c | 234 {255, 0, 0}, /* 10: red */ 235 { 64, 0, 0}, /* 11: dark red */ 275 {0+8, 12,0, 10,11}, /* checkered: orange/black vs. red */ 277 {1, 12,0, 11,0}, /* diamonds: orange vs. dark red */ 278 {1, 10,0, 7,0}, /* diamonds: red vs. medium blue */ 1230 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 in rpng2_x_load_bg_image() 1307 ulg red, green, blue; rpng2_x_load_bg_image() local 1346 ush red, green, blue; rpng2_x_load_bg_image() local 1432 ulg red, green, blue; rpng2_x_display_row() local 1508 ush red, green, blue; rpng2_x_display_row() local 1652 ulg red, green, blue; rpng2_x_redisplay_image() local 1780 ush red, green, blue; rpng2_x_redisplay_image() local 2002 double red=0.0, green=0.0, blue=0.0, hue, s, v, f, p, q, t; rpng2_x_reload_bg_image() local [all...] |
H A D | readpng.c | 156 int readpng_get_bgcolor(uch *red, uch *green, uch *blue) in readpng_get_bgcolor() argument 174 * takes a pointer to a pointer, and it always returns valid red, green in readpng_get_bgcolor() 184 *red = pBackground->red >> 8; in readpng_get_bgcolor() 189 *red = *green = *blue = pBackground->gray? 255 : 0; in readpng_get_bgcolor() 191 *red = *green = *blue = (255/3) * pBackground->gray; in readpng_get_bgcolor() 193 *red = *green = *blue = (255/15) * pBackground->gray; in readpng_get_bgcolor() 195 *red = (uch)pBackground->red; in readpng_get_bgcolor()
|
H A D | rpng-x.c | 713 ulg red, green, blue; in rpng_x_display_image() local 720 red = *src++; in rpng_x_display_image() 724 pixel = (red << RShift) | in rpng_x_display_image() 734 red = (RShift < 0)? red << (-RShift) : red >> RShift; in rpng_x_display_image() 737 pixel = (red & RMask) | (green & GMask) | (blue & BMask); in rpng_x_display_image() 752 red = r; in rpng_x_display_image() 756 red = bg_red; in rpng_x_display_image() 763 alpha_composite(red, in rpng_x_display_image() 787 ush red, green, blue; rpng_x_display_image() local [all...] |
/third_party/astc-encoder/Source/ |
H A D | astcenc_color_unquantize.cpp | 322 int red = v0 & 0x3F; in hdr_rgbo_unpack() local 354 red |= bit4 << 6; in hdr_rgbo_unpack() 356 red |= bit3 << 6; in hdr_rgbo_unpack() 359 red |= bit5 << 7; in hdr_rgbo_unpack() 361 red |= bit2 << 7; in hdr_rgbo_unpack() 364 red |= bit1 << 8; in hdr_rgbo_unpack() 366 red |= bit0 << 8; in hdr_rgbo_unpack() 369 red |= bit0 << 9; in hdr_rgbo_unpack() 371 red |= bit6 << 9; in hdr_rgbo_unpack() 374 red | in hdr_rgbo_unpack() [all...] |
/third_party/skia/third_party/externals/swiftshader/tests/ |
H A D | presubmit.sh | 15 red="$(tput setaf 1)" 25 echo "${red}FAILED${normal}" 31 echo "${red}FAILED${normal}" 34 echo "${red}Check $name failed.${normal}" 47 echo "${red}Git commit message must have a Bug: line" 64 echo "${red}Copyright issue in these files:"
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | validationGL14_autogen.h | 41 bool ValidateSecondaryColor3b(const Context *context, GLbyte red, GLbyte green, GLbyte blue); 43 bool ValidateSecondaryColor3d(const Context *context, GLdouble red, GLdouble green, GLdouble blue); 45 bool ValidateSecondaryColor3f(const Context *context, GLfloat red, GLfloat green, GLfloat blue); 47 bool ValidateSecondaryColor3i(const Context *context, GLint red, GLint green, GLint blue); 49 bool ValidateSecondaryColor3s(const Context *context, GLshort red, GLshort green, GLshort blue); 51 bool ValidateSecondaryColor3ub(const Context *context, GLubyte red, GLubyte green, GLubyte blue); 53 bool ValidateSecondaryColor3ui(const Context *context, GLuint red, GLuint green, GLuint blue); 55 bool ValidateSecondaryColor3us(const Context *context, GLushort red, GLushort green, GLushort blue);
|
H A D | Context_gl_1_autogen.h | 20 void clearAccum(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); \ 24 void color3b(GLbyte red, GLbyte green, GLbyte blue); \ 26 void color3d(GLdouble red, GLdouble green, GLdouble blue); \ 28 void color3f(GLfloat red, GLfloat green, GLfloat blue); \ 30 void color3i(GLint red, GLint green, GLint blue); \ 32 void color3s(GLshort red, GLshort green, GLshort blue); \ 34 void color3ub(GLubyte red, GLubyte green, GLubyte blue); \ 36 void color3ui(GLuint red, GLuint green, GLuint blue); \ 38 void color3us(GLushort red, GLushort green, GLushort blue); \ 40 void color4b(GLbyte red, GLbyt [all...] |
/third_party/cups-filters/cupsfilters/ |
H A D | image-sgi.c | 46 *red, in _cupsImageReadSGI() local 163 for (i = img->xsize - 1, red = rows[0], green = rows[1], in _cupsImageReadSGI() 168 *inptr++ = *red++; in _cupsImageReadSGI() 173 for (i = img->xsize - 1, red = rows[0], green = rows[1], in _cupsImageReadSGI() 178 *inptr++ = (*red++) / 256 + 128; in _cupsImageReadSGI() 185 for (i = img->xsize - 1, red = rows[0], green = rows[1], in _cupsImageReadSGI() 190 *inptr++ = (*red++) * (*alpha) / 255; in _cupsImageReadSGI() 195 for (i = img->xsize - 1, red = rows[0], green = rows[1], in _cupsImageReadSGI() 200 *inptr++ = ((*red++) / 256 + 128) * (*alpha) / 32767; in _cupsImageReadSGI()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization/ |
H A D | vktRasterizationProvokingVertexTests.cpp | 482 const tcu::Vec4 red (1.0f, 0.0f, 0.0f, 1.0f); in iterate() 493 vertices.push_back(tcu::Vec4(-1.0f,-0.5f, 0.0f, 1.0f)); vertices.push_back(red); // line 0 in iterate() 496 vertices.push_back(tcu::Vec4(-1.0f, 0.5f, 0.0f, 1.0f)); vertices.push_back(red); // line 1 in iterate() 501 vertices.push_back(tcu::Vec4(-0.5f, 1.0f, 0.0f, 1.0f)); vertices.push_back(red); in iterate() 504 vertices.push_back(tcu::Vec4( 0.5f, 1.0f, 0.0f, 1.0f)); vertices.push_back(red); in iterate() 509 vertices.push_back(tcu::Vec4(-1.0f,-0.5f, 0.0f, 1.0f)); vertices.push_back(red); // line strip in iterate() 511 vertices.push_back(tcu::Vec4( 1.0f,-0.5f, 0.0f, 1.0f)); vertices.push_back(red); in iterate() 513 vertices.push_back(tcu::Vec4(-1.0f, 0.5f, 0.0f, 1.0f)); vertices.push_back(red); in iterate() 518 vertices.push_back(tcu::Vec4(-0.5f, 1.0f, 0.0f, 1.0f)); vertices.push_back(red); in iterate() 520 vertices.push_back(tcu::Vec4( 0.5f,-1.0f, 0.0f, 1.0f)); vertices.push_back(red); in iterate() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/rasterization/ |
H A D | vktRasterizationProvokingVertexTests.cpp | 117 ": Expected red, got " + de::toString(xfbResults[ndx]); in verifyXfbBuffer() 473 const tcu::Vec4 red (1.0f, 0.0f, 0.0f, 1.0f); in iterate() 485 vertices.push_back(tcu::Vec4(-1.0f,-0.5f, 0.0f, 1.0f)); vertices.push_back(red); // line 0 in iterate() 487 vertices.push_back(tcu::Vec4(-1.0f, 0.5f, 0.0f, 1.0f)); vertices.push_back(red); // line 1 in iterate() 491 vertices.push_back(tcu::Vec4(-0.5f, 1.0f, 0.0f, 1.0f)); vertices.push_back(red); in iterate() 493 vertices.push_back(tcu::Vec4( 0.5f, 1.0f, 0.0f, 1.0f)); vertices.push_back(red); in iterate() 497 vertices.push_back(tcu::Vec4(-1.0f,-0.5f, 0.0f, 1.0f)); vertices.push_back(red); // line strip in iterate() 498 vertices.push_back(tcu::Vec4( 1.0f,-0.5f, 0.0f, 1.0f)); vertices.push_back(red); in iterate() 499 vertices.push_back(tcu::Vec4(-1.0f, 0.5f, 0.0f, 1.0f)); vertices.push_back(red); in iterate() 503 vertices.push_back(tcu::Vec4(-0.5f, 1.0f, 0.0f, 1.0f)); vertices.push_back(red); in iterate() [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_despill.c | 56 float red, green, blue; in do_despill_slice() local 65 red = dst[x * 4 + ro] / 255.f; in do_despill_slice() 70 spillmap = FFMAX(blue - (red * spillmix + green * factor), 0.f); in do_despill_slice() 72 spillmap = FFMAX(green - (red * spillmix + blue * factor), 0.f); in do_despill_slice() 75 red = FFMAX(red + spillmap * redscale + brightness * spillmap, 0.f); in do_despill_slice() 79 dst[x * 4 + ro] = av_clip_uint8(red * 255); in do_despill_slice() 151 { "red", "set red scale", OFFSET(redscale), AV_OPT_TYPE_FLOAT, {.dbl=0}, -100, 100, FLAGS },
|
/third_party/glslang/Test/ |
H A D | validate-shaders.sh | 188 declare -r white="\e[1;37m" cyan="\e[1;36m" red="\e[0;31m" no_color="\e[0m" 190 declare -r white="" cyan="" red="" no_color="" 208 $opt_quiet || status "$test" "${red}FILE NOT FOUND${no_color}" 214 $opt_terse && printf "\r[%-3d/%-3d : ${white}comperr=%-3d ${red}valerr=%-3d ${cyan}ok=%-3d${no_color}]" \ 225 *) $opt_quiet || status "$test" "${red}UNKNOWN LANGUAGE${no_color}"; continue;; 239 $opt_stat_valerr && status "$test" "${red}VAL ERROR${no_color}" 260 $opt_summary && printf "\nSummary: ${white}${count_nocomp} compile errors${no_color}, ${red}${count_err} validation errors${no_color}, ${cyan}${count_ok} successes${no_color}\n"
|