Searched refs:red (Results 1 - 25 of 273) sorted by relevance

1234567891011

/external/clang/test/CodeGenCXX/
H A Dscoped-enums.cpp4 enum class Color { red, blue, green }; member in class:Color
8 f(Color::red);
H A D2007-04-10-PackedUnion.cpp8 float red; member in struct:ABCS
/external/qemu/distrib/sdl-1.2.15/src/video/x11/
H A DSDL_x11gamma_c.h27 extern int X11_SetVidModeGamma(_THIS, float red, float green, float blue);
28 extern int X11_GetVidModeGamma(_THIS, float *red, float *green, float *blue);
H A DSDL_x11gamma.c33 static int X11_SetGammaNoLock(_THIS, float red, float green, float blue) argument
41 if ( red < MIN_GAMMA ) {
42 gamma.red = MIN_GAMMA;
44 if ( red > MAX_GAMMA ) {
45 gamma.red = MAX_GAMMA;
47 gamma.red = red;
69 gamma_saved[0] = gamma.red;
83 int X11_SetVidModeGamma(_THIS, float red, float green, float blue) argument
88 result = X11_SetGammaNoLock(this, red, gree
94 X11_GetGammaNoLock(_THIS, float *red, float *green, float *blue) argument
110 X11_GetVidModeGamma(_THIS, float *red, float *green, float *blue) argument
[all...]
/external/webkit/Source/WebCore/platform/graphics/gtk/
H A DColorGtk.cpp29 : m_color(makeRGB(c.red >> 8, c.green >> 8, c.blue >> 8))
36 : m_color(makeRGBA(static_cast<int>(c.red * 255),
46 double red, green, blue, alpha; local
47 getRGBA(red, green, blue, alpha);
48 GdkRGBA rgba = { red, green, blue, alpha };
/external/mesa3d/src/glsl/glcpp/tests/
H A D020-define-func-2-arg-multi.c1 #define foo(x,y) x,two fish,red fish,y
/external/webkit/Source/WebCore/platform/graphics/haiku/
H A DColorHaiku.cpp36 : m_color(makeRGBA(color.red, color.green, color.blue, color.alpha))
43 return make_color(red(), green(), blue(), alpha());
H A DGradientHaiku.cpp58 color.red = static_cast<uint8>(stop.red * 255);
/external/webkit/Source/WebCore/platform/graphics/qt/
H A DColorQt.cpp36 : m_color(makeRGBA(c.red(), c.green(), c.blue(), c.alpha()))
44 return QColor(red(), green(), blue(), alpha());
/external/ppp/pppd/plugins/
H A Dpasswordfd.c35 int readgood, red; local
50 red = read (passwdfd, passwd + readgood, MAXSECRETLEN - 1 - readgood);
51 if (red == 0)
53 if (red < 0) {
58 readgood += red;
H A Dpassprompt.c33 ssize_t red; local
73 red = read(p[0], passwd + readgood, MAXSECRETLEN-1 - readgood);
74 if (red == 0)
76 if (red < 0) {
83 readgood += red;
/external/webkit/Source/WebCore/platform/graphics/filters/
H A DFEColorMatrix.cpp76 inline void matrix(double& red, double& green, double& blue, double& alpha, const Vector<float>& values) argument
78 double r = values[0] * red + values[1] * green + values[2] * blue + values[3] * alpha + values[4] * 255;
79 double g = values[5] * red + values[6] * green + values[7] * blue + values[8] * alpha + values[9] * 255;
80 double b = values[10] * red + values[11] * green + values[12] * blue + values[13] * alpha + values[14] * 255;
81 double a = values[15] * red + values[16] * green + values[17] * blue + values[18] * alpha + values[19] * 255;
83 red = r;
89 inline void saturate(double& red, double& green, double& blue, const float& s) argument
91 double r = (0.213 + 0.787 * s) * red + (0.715 - 0.715 * s) * green + (0.072 - 0.072 * s) * blue;
92 double g = (0.213 - 0.213 * s) * red + (0.715 + 0.285 * s) * green + (0.072 - 0.072 * s) * blue;
93 double b = (0.213 - 0.213 * s) * red
100 huerotate(double& red, double& green, double& blue, const float& hue) argument
119 luminance(double& red, double& green, double& blue, double& alpha) argument
132 double red = pixelArray->get(pixelByteOffset); local
[all...]
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
H A DTexturePixel.java19 public float intensity, red, green, blue, alpha; field in class:TexturePixel
29 this.red = pixel.red;
42 this.red = colorRGBA.r;
54 * the red value
62 this.red = r;
77 this.red = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f;
107 this.red = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f;
112 this.red = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f;
127 this.red
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/
H A DSDL_gamma.c93 int SDL_SetGamma(float red, float green, float blue) argument
104 CalculateGammaRamp(red, ramp[0]);
111 succeeded = video->SetGamma(this, red, green, blue);
119 int SDL_GetGamma(float *red, float *green, float *blue) argument
132 CalculateGammaFromRamp(red, ramp[0]);
139 succeeded = video->GetGamma(this, red, green, blue);
144 int SDL_SetGammaRamp(const Uint16 *red, const Uint16 *green, const Uint16 *blue) argument
163 if ( red ) {
164 SDL_memcpy(&video->gamma[0*256], red, 256*sizeof(*video->gamma));
196 int SDL_GetGammaRamp(Uint16 *red, Uint1 argument
[all...]
/external/webkit/Source/WebCore/svg/
H A DColorDistance.cpp37 : m_redDiff(toColor.red() - fromColor.red())
68 return Color(clampColorValue(first.red() + second.red()),
75 return Color(clampColorValue(color.red() + m_redDiff),
/external/webkit/Source/WebCore/platform/graphics/wx/
H A DColorWx.cpp41 return wxColour(red(), green(), blue(), alpha());
/external/skia/src/animator/
H A DSkDrawColor.cpp25 SkScalar red = SkIntToScalar(SkColorGetR(color)); local
28 SkScalar min = SkMinScalar(SkMinScalar(red, green), blue);
29 SkScalar value = SkMaxScalar(SkMaxScalar(red, green), blue);
41 if (red == value) {
47 hue = 120 * SK_Scalar1 + SkScalarMul(blue - red, part60);
49 hue = 240 * SK_Scalar1 + SkScalarMul(red - green, part60);
55 #if defined _WIN32 && _MSC_VER >= 1300 // disable 'red', etc. may be used without having been initialized
65 SkScalar red SK_INIT_TO_AVOID_WARNING;
69 red = green = blue = value;
79 case 0: red
[all...]
/external/libpng/contrib/gregbook/
H A Dreadpng.c154 int readpng_get_bgcolor(uch *red, uch *green, uch *blue) argument
172 * takes a pointer to a pointer, and it always returns valid red, green
182 *red = pBackground->red >> 8;
187 *red = *green = *blue = pBackground->gray? 255 : 0;
189 *red = *green = *blue = (255/3) * pBackground->gray;
191 *red = *green = *blue = (255/15) * pBackground->gray;
193 *red = (uch)pBackground->red;
/external/webkit/Source/WebCore/css/
H A DRGBColor.idl25 readonly attribute CSSPrimitiveValue red;
H A DRGBColor.h40 PassRefPtr<CSSPrimitiveValue> red();
/external/jmonkeyengine/engine/src/test/jme3test/helloworld/
H A DHelloNode.java64 /** create a red box straight above the blue one at (1,3,1) */
66 Geometry red = new Geometry("Box", box2);
70 red.setMaterial(mat2);
78 pivot.attachChild(red);
/external/webkit/Source/WebCore/platform/wx/wxcode/mac/carbon/
H A Dnon-kerned-drawing.cpp61 CGFloat red, green, blue, alpha; local
62 graphicsContext->fillColor().getRGBA(red, green, blue, alpha);
63 CGContextSetRGBFillColor(cgContext, red, green, blue, alpha);
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/
H A DTGALoader.java183 entry.red = (byte)(int)(getBitsAsByte(cMapData, offset, bitsPerColor) * scalar);
211 byte red = 0;
252 // red = dis.readByte();
253 // rawData[rawDataIndex++] = red;
267 red = dis.readByte();
269 rawData[rawDataIndex++] = red;
280 byte red = 0;
301 red = dis.readByte();
304 rawData[rawDataIndex++] = red;
315 red
510 byte red, green, blue, alpha; field in class:TGALoader.ColorMapEntry
[all...]
/external/libpng/
H A Dpngrtran.c499 int r = (palette[i].red >> (8 - PNG_DITHER_RED_BITS));
676 png_set_rgb_to_gray(png_structp png_ptr, int error_action, double red, argument
682 if (red > 21474.83647 || red < -21474.83648 ||
691 red_fixed = (int)((float)red*100000.0 + 0.5);
700 png_fixed_point red, png_fixed_point green)
729 if (red < 0 || green < 0)
734 else if (red + green < 100000L)
736 red_int = (png_uint_16)(((png_uint_32)red*32768L)/100000L);
815 png_ptr->background.red
699 png_set_rgb_to_gray_fixed(png_structp png_ptr, int error_action, png_fixed_point red, png_fixed_point green) argument
2359 png_byte red = png_ptr->gamma_to_1[*(sp++)]; local
2379 png_byte red = *(sp++); local
2403 png_uint_16 red, green, blue, w; local
2438 png_uint_16 red, green, blue, gray16; local
2464 png_byte red = png_ptr->gamma_to_1[*(sp++)]; local
2481 png_byte red = *(sp++); local
2501 png_uint_16 red, green, blue, w; local
2538 png_uint_16 red, green, blue, gray16; local
3992 png_byte red = trans_value->red & 0xff; local
4456 png_uint_32 red = (png_uint_32)((s0 + s1 + 65536L) & 0xffffL); local
[all...]
/external/qemu/distrib/libpng-1.2.19/
H A Dpngrtran.c475 int r = (palette[i].red >> (8 - PNG_DITHER_RED_BITS));
643 png_set_rgb_to_gray(png_structp png_ptr, int error_action, double red, argument
646 int red_fixed = (int)((float)red*100000.0 + 0.5);
655 png_fixed_point red, png_fixed_point green)
678 if(red < 0 || green < 0)
683 else if(red + green < 100000L)
685 red_int = (png_uint_16)(((png_uint_32)red*32768L)/100000L);
757 png_ptr->background.red == png_ptr->background.green &&
758 png_ptr->background.red == png_ptr->background.blue)
761 png_ptr->background.gray = png_ptr->background.red;
654 png_set_rgb_to_gray_fixed(png_structp png_ptr, int error_action, png_fixed_point red, png_fixed_point green) argument
2254 png_byte red = png_ptr->gamma_to_1[*(sp++)]; local
2274 png_byte red = *(sp++); local
2298 png_uint_16 red, green, blue, w; local
2332 png_uint_16 red, green, blue, gray16; local
2358 png_byte red = png_ptr->gamma_to_1[*(sp++)]; local
2375 png_byte red = *(sp++); local
2395 png_uint_16 red, green, blue, w; local
2431 png_uint_16 red, green, blue, gray16; local
3852 png_byte red = trans_value->red & 0xff; local
4273 png_uint_32 red = (png_uint_32)((s0+s1+65536L) & 0xffffL); local
[all...]

Completed in 399 milliseconds

1234567891011