Searched refs:blue (Results 1 - 25 of 257) sorted by relevance

1234567891011

/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
57 if ( blue < MIN_GAMMA ) {
58 gamma.blue = MIN_GAMMA;
60 if ( blue > MAX_GAMMA ) {
61 gamma.blue = MAX_GAMMA;
63 gamma.blue = blue;
71 gamma_saved[2] = gamma.blue;
83 int X11_SetVidModeGamma(_THIS, float red, float green, float blue) argument
88 result = X11_SetGammaNoLock(this, red, green, blue);
94 X11_GetGammaNoLock(_THIS, float *red, float *green, float *blue) argument
110 X11_GetVidModeGamma(_THIS, float *red, float *green, float *blue) argument
[all...]
/external/clang/test/CodeGenCXX/
H A Dscoped-enums.cpp4 enum class Color { red, blue, green }; member in class:Color
H A D2007-04-10-PackedUnion.cpp10 float blue; member in struct:ABCS
/external/webkit/Source/WebCore/platform/graphics/gtk/
H A DColorGtk.cpp29 : m_color(makeRGB(c.red >> 8, c.green >> 8, c.blue >> 8))
38 static_cast<int>(c.blue * 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.c2 foo(one fish, blue fish)
/external/clang/www/demo/
H A Dsyntax.css4 .llvm_keyword { font-weight: bold; color: blue }
/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.cpp60 color.blue = static_cast<uint8>(stop.blue * 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/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;
85 blue = b;
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 + (0.715 - 0.715 * s) * green + (0.072 + 0.928 * s) * blue;
100 huerotate(double& red, double& green, double& blue, const float& hue) argument
119 luminance(double& red, double& green, double& blue, double& alpha) argument
134 double blue = pixelArray->get(pixelByteOffset + 2); 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
31 this.blue = pixel.blue;
44 this.blue = colorRGBA.b;
58 * the blue value
64 this.blue = b;
81 this.blue = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f;
103 this.blue = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f;
116 this.blue = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f;
123 this.blue
[all...]
H A DTextureGeneratorClouds.java99 texres.blue = colorBand[colorbandIndex][2];
104 data[index++] = (byte) (texres.blue * 255.0f);
109 texres.blue = NoiseGenerator.NoiseFunctions.turbulence(texvec[1], texvec[2], texvec[0], noisesize, noiseDepth, noiseBasis, isHard);
112 texres.blue = FastMath.clamp(texres.blue, 0.0f, 1.0f);
117 data[index++] = (byte) (texres.blue * 255.0f);
/external/qemu/distrib/sdl-1.2.15/src/video/
H A DSDL_gamma.c93 int SDL_SetGamma(float red, float green, float blue) argument
106 CalculateGammaRamp(blue, ramp[2]);
111 succeeded = video->SetGamma(this, red, green, blue);
119 int SDL_GetGamma(float *red, float *green, float *blue) argument
134 CalculateGammaFromRamp(blue, ramp[2]);
139 succeeded = video->GetGamma(this, red, green, blue);
144 int SDL_SetGammaRamp(const Uint16 *red, const Uint16 *green, const Uint16 *blue) argument
169 if ( blue ) {
170 SDL_memcpy(&video->gamma[2*256], blue, 256*sizeof(*video->gamma));
196 int SDL_GetGammaRamp(Uint16 *red, Uint16 *green, Uint16 *blue) argument
[all...]
/external/webkit/Source/WebCore/svg/
H A DColorDistance.cpp39 , m_blueDiff(toColor.blue() - fromColor.blue())
70 clampColorValue(first.blue() + second.blue()));
77 clampColorValue(color.blue() + m_blueDiff));
/external/webkit/Source/WebCore/platform/graphics/mac/
H A DColorMac.mm59 [c getRed:&redComponent green:&greenComponent blue:&blueComponent alpha:&alpha];
75 DEFINE_STATIC_LOCAL(RetainPtr<NSColor>, clearColor, ([NSColor colorWithDeviceRed:0 green:0 blue:0 alpha:0]));
79 DEFINE_STATIC_LOCAL(RetainPtr<NSColor>, blackColor, ([NSColor colorWithDeviceRed:0 green:0 blue:0 alpha:1]));
83 DEFINE_STATIC_LOCAL(RetainPtr<NSColor>, whiteColor, ([NSColor colorWithDeviceRed:1 green:1 blue:1 alpha:1]));
98 blue:static_cast<CGFloat>(color.blue()) / 255
/external/webkit/Source/WebCore/platform/graphics/wx/
H A DColorWx.cpp41 return wxColour(red(), green(), blue(), alpha());
/external/skia/src/animator/
H A DSkDrawColor.cpp27 SkScalar blue = SkIntToScalar(SkColorGetB(color)); local
28 SkScalar min = SkMinScalar(SkMinScalar(red, green), blue);
29 SkScalar value = SkMaxScalar(SkMaxScalar(red, green), blue);
42 hue = SkScalarMul(green - blue, part60);
47 hue = 120 * SK_Scalar1 + SkScalarMul(blue - red, part60);
48 else // blue == value
67 SkScalar blue SK_INIT_TO_AVOID_WARNING;
69 red = green = blue = value;
79 case 0: red = value; green = t; blue = p; break;
80 case 1: red = q; green = value; blue
[all...]
/external/libpng/contrib/gregbook/
H A Dreadpng.c154 int readpng_get_bgcolor(uch *red, uch *green, uch *blue) argument
173 * and blue values, regardless of color_type: */
184 *blue = pBackground->blue >> 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;
195 *blue = (uch)pBackground->blue;
/external/webkit/Source/WebCore/css/
H A DRGBColor.idl27 readonly attribute CSSPrimitiveValue blue;
H A DRGBColor.h42 PassRefPtr<CSSPrimitiveValue> blue();
/external/jmonkeyengine/engine/src/test/jme3test/helloworld/
H A DHelloNode.java56 /** create a blue box at coordinates (1,-1,1) */
58 Geometry blue = new Geometry("Box", box1);
62 blue.setMaterial(mat1);
64 /** create a red box straight above the blue one at (1,3,1) */
77 pivot.attachChild(blue);
/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.java185 entry.blue = (byte)(int)(getBitsAsByte(cMapData, offset+(2*bitsPerColor), bitsPerColor) * scalar);
213 byte blue = 0;
250 // blue = dis.readByte();
255 // rawData[rawDataIndex++] = blue;
265 blue = dis.readByte();
271 rawData[rawDataIndex++] = blue;
282 byte blue = 0;
299 blue = dis.readByte();
306 rawData[rawDataIndex++] = blue;
313 blue
510 byte red, green, blue, alpha; field in class:TGALoader.ColorMapEntry
[all...]
/external/skia/gm/
H A Dtestimagefilters.cpp58 SkImageFilter* blue = new SkColorFilterImageFilter(cf); local
59 SkAutoUnref aur4(blue);
61 return new SkMergeImageFilter(compose, blue);
75 SkImageFilter* blue = new SkColorFilterImageFilter(cf); local
76 SkAutoUnref aur4(blue);
78 return new SkMergeImageFilter(compose, blue);

Completed in 432 milliseconds

1234567891011