Home
last modified time | relevance | path

Searched refs:blue (Results 1 – 25 of 336) sorted by relevance

12345678910>>...14

/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
DTexturePixel.java19 public float intensity, red, green, blue, alpha; field in TexturePixel
31 this.blue = pixel.blue; in fromPixel()
44 this.blue = colorRGBA.b; in fromColor()
64 this.blue = b; in fromARGB8()
81 this.blue = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f; in fromARGB8()
103 this.blue = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f; in fromImage()
116 this.blue = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f; in fromImage()
123 this.blue = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f; in fromImage()
137 this.blue = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f; in fromImage()
146 this.intensity = this.blue = this.red = this.green = this.alpha = 0.0f; in fromImage()
[all …]
DTextureGeneratorClouds.java99 texres.blue = colorBand[colorbandIndex][2]; in generate()
104 data[index++] = (byte) (texres.blue * 255.0f); in generate()
109 …texres.blue = NoiseGenerator.NoiseFunctions.turbulence(texvec[1], texvec[2], texvec[0], noisesize,… in generate()
112 texres.blue = FastMath.clamp(texres.blue, 0.0f, 1.0f); in generate()
117 data[index++] = (byte) (texres.blue * 255.0f); in generate()
/external/webkit/Source/WebCore/platform/graphics/filters/
DFEColorMatrix.cpp76 inline void matrix(double& red, double& green, double& blue, double& alpha, const Vector<float>& va… in matrix() argument
78 …double r = values[0] * red + values[1] * green + values[2] * blue + values[3] * alpha + values… in matrix()
79 …double g = values[5] * red + values[6] * green + values[7] * blue + values[8] * alpha + values… in matrix()
80 …double b = values[10] * red + values[11] * green + values[12] * blue + values[13] * alpha + valu… in matrix()
81 …double a = values[15] * red + values[16] * green + values[17] * blue + values[18] * alpha + values… in matrix()
85 blue = b; in matrix()
89 inline void saturate(double& red, double& green, double& blue, const float& s) in saturate() argument
91 double r = (0.213 + 0.787 * s) * red + (0.715 - 0.715 * s) * green + (0.072 - 0.072 * s) * blue; in saturate()
92 double g = (0.213 - 0.213 * s) * red + (0.715 + 0.285 * s) * green + (0.072 - 0.072 * s) * blue; in saturate()
93 double b = (0.213 - 0.213 * s) * red + (0.715 - 0.715 * s) * green + (0.072 + 0.928 * s) * blue; in saturate()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/video/x11/
DSDL_x11gamma.c33 static int X11_SetGammaNoLock(_THIS, float red, float green, float blue) in X11_SetGammaNoLock() argument
57 if ( blue < MIN_GAMMA ) { in X11_SetGammaNoLock()
58 gamma.blue = MIN_GAMMA; in X11_SetGammaNoLock()
60 if ( blue > MAX_GAMMA ) { in X11_SetGammaNoLock()
61 gamma.blue = MAX_GAMMA; in X11_SetGammaNoLock()
63 gamma.blue = blue; in X11_SetGammaNoLock()
71 gamma_saved[2] = gamma.blue; in X11_SetGammaNoLock()
83 int X11_SetVidModeGamma(_THIS, float red, float green, float blue) in X11_SetVidModeGamma() argument
88 result = X11_SetGammaNoLock(this, red, green, blue); in X11_SetVidModeGamma()
94 static int X11_GetGammaNoLock(_THIS, float *red, float *green, float *blue) in X11_GetGammaNoLock() argument
[all …]
/external/qemu/distrib/sdl-1.2.15/src/video/
DSDL_gamma.c93 int SDL_SetGamma(float red, float green, float blue) in SDL_SetGamma() argument
106 CalculateGammaRamp(blue, ramp[2]); in SDL_SetGamma()
111 succeeded = video->SetGamma(this, red, green, blue); in SDL_SetGamma()
119 int SDL_GetGamma(float *red, float *green, float *blue) in SDL_GetGamma() argument
134 CalculateGammaFromRamp(blue, ramp[2]); in SDL_GetGamma()
139 succeeded = video->GetGamma(this, red, green, blue); in SDL_GetGamma()
144 int SDL_SetGammaRamp(const Uint16 *red, const Uint16 *green, const Uint16 *blue) in SDL_SetGammaRamp() argument
169 if ( blue ) { in SDL_SetGammaRamp()
170 SDL_memcpy(&video->gamma[2*256], blue, 256*sizeof(*video->gamma)); in SDL_SetGammaRamp()
196 int SDL_GetGammaRamp(Uint16 *red, Uint16 *green, Uint16 *blue) in SDL_GetGammaRamp() argument
[all …]
/external/skia/src/animator/
DSkDrawColor.cpp27 SkScalar blue = SkIntToScalar(SkColorGetB(color)); in RGB_to_HSV() local
28 SkScalar min = SkMinScalar(SkMinScalar(red, green), blue); in RGB_to_HSV()
29 SkScalar value = SkMaxScalar(SkMaxScalar(red, green), blue); in RGB_to_HSV()
42 hue = SkScalarMul(green - blue, part60); in RGB_to_HSV()
47 hue = 120 * SK_Scalar1 + SkScalarMul(blue - red, part60); in RGB_to_HSV()
67 SkScalar blue SK_INIT_TO_AVOID_WARNING; in HSV_to_RGB()
69 red = green = blue = value; in HSV_to_RGB()
79 case 0: red = value; green = t; blue = p; break; in HSV_to_RGB()
80 case 1: red = q; green = value; blue = p; break; in HSV_to_RGB()
81 case 2: red = p; green = value; blue = t; break; in HSV_to_RGB()
[all …]
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/
DTGALoader.java185 … entry.blue = (byte)(int)(getBitsAsByte(cMapData, offset+(2*bitsPerColor), bitsPerColor) * scalar); in load()
213 byte blue = 0; in load()
265 blue = dis.readByte(); in load()
271 rawData[rawDataIndex++] = blue; in load()
282 byte blue = 0; in load()
299 blue = dis.readByte(); in load()
306 rawData[rawDataIndex++] = blue; in load()
313 blue = dis.readByte(); in load()
319 rawData[rawDataIndex++] = blue; in load()
338 blue = dis.readByte(); in load()
[all …]
/external/libpng/
Dpngrtran.c501 int b = (palette[i].blue >> (8 - PNG_DITHER_BLUE_BITS)); in png_set_dither()
816 png_ptr->background.red == png_ptr->background.blue) in png_init_read_transformations()
834 = png_ptr->background.blue = png_ptr->background.gray; in png_init_read_transformations()
839 = png_ptr->trans_values.blue = png_ptr->trans_values.gray; in png_init_read_transformations()
846 = png_ptr->background.blue = png_ptr->background.gray; in png_init_read_transformations()
851 = png_ptr->trans_values.blue = png_ptr->trans_values.gray; in png_init_read_transformations()
858 = png_ptr->background.blue = png_ptr->background.gray; in png_init_read_transformations()
863 = png_ptr->trans_values.blue = png_ptr->trans_values.gray; in png_init_read_transformations()
871 = png_ptr->background.blue = png_ptr->background.gray; in png_init_read_transformations()
881 png_ptr->background.blue = in png_init_read_transformations()
[all …]
/external/qemu/distrib/libpng-1.2.19/
Dpngrtran.c477 int b = (palette[i].blue >> (8 - PNG_DITHER_BLUE_BITS)); in png_set_dither()
758 png_ptr->background.red == png_ptr->background.blue) in png_init_read_transformations()
776 = png_ptr->background.blue = png_ptr->background.gray; in png_init_read_transformations()
781 = png_ptr->trans_values.blue = png_ptr->trans_values.gray; in png_init_read_transformations()
787 = png_ptr->background.blue = png_ptr->background.gray; in png_init_read_transformations()
792 = png_ptr->trans_values.blue = png_ptr->trans_values.gray; in png_init_read_transformations()
798 = png_ptr->background.blue = png_ptr->background.gray; in png_init_read_transformations()
803 = png_ptr->trans_values.blue = png_ptr->trans_values.gray; in png_init_read_transformations()
809 = png_ptr->background.blue = png_ptr->background.gray; in png_init_read_transformations()
819 png_ptr->background.blue = in png_init_read_transformations()
[all …]
/external/webkit/Source/WebCore/platform/graphics/gtk/
DColorGtk.cpp29 : m_color(makeRGB(c.red >> 8, c.green >> 8, c.blue >> 8)) in Color()
38 static_cast<int>(c.blue * 255), in Color()
46 double red, green, blue, alpha; in operator GdkRGBA() local
47 getRGBA(red, green, blue, alpha); in operator GdkRGBA()
48 GdkRGBA rgba = { red, green, blue, alpha }; in operator GdkRGBA()
/external/libpng/contrib/gregbook/
Drpng2-x.c1217 double red=0.0, green=0.0, blue=0.0, hue, s, v, f, p, q, t; in rpng2_x_load_bg_image() local
1273 if (ii == 0) { red = v; green = t; blue = p; } in rpng2_x_load_bg_image()
1274 else if (ii == 1) { red = q; green = v; blue = p; } in rpng2_x_load_bg_image()
1275 else if (ii == 2) { red = p; green = v; blue = t; } in rpng2_x_load_bg_image()
1276 else if (ii == 3) { red = p; green = q; blue = v; } in rpng2_x_load_bg_image()
1277 else if (ii == 4) { red = t; green = p; blue = v; } in rpng2_x_load_bg_image()
1278 else if (ii == 5) { red = v; green = p; blue = q; } in rpng2_x_load_bg_image()
1281 *dest++ = (uch)(blue * 255.0); in rpng2_x_load_bg_image()
1294 ulg red, green, blue; in rpng2_x_load_bg_image() local
1304 blue = *src++; in rpng2_x_load_bg_image()
[all …]
Dreadpng.c154 int readpng_get_bgcolor(uch *red, uch *green, uch *blue) in readpng_get_bgcolor() argument
184 *blue = pBackground->blue >> 8; in readpng_get_bgcolor()
187 *red = *green = *blue = pBackground->gray? 255 : 0; in readpng_get_bgcolor()
189 *red = *green = *blue = (255/3) * pBackground->gray; in readpng_get_bgcolor()
191 *red = *green = *blue = (255/15) * pBackground->gray; in readpng_get_bgcolor()
195 *blue = (uch)pBackground->blue; in readpng_get_bgcolor()
Drpng-x.c706 ulg red, green, blue; in rpng_x_display_image() local
715 blue = *src++; in rpng_x_display_image()
719 (blue << BShift); in rpng_x_display_image()
729 blue = (BShift < 0)? blue << (-BShift) : blue >> BShift; in rpng_x_display_image()
730 pixel = (red & RMask) | (green & GMask) | (blue & BMask); in rpng_x_display_image()
747 blue = b; in rpng_x_display_image()
751 blue = bg_blue; in rpng_x_display_image()
758 alpha_composite(blue, b, a, bg_blue); in rpng_x_display_image()
762 (blue << BShift); in rpng_x_display_image()
780 ush red, green, blue; in rpng_x_display_image() local
[all …]
/external/freetype/src/autofit/
Daflatin.c195 AF_LatinBlue blue; in af_latin_metrics_init_blues() local
370 blue = &axis->blues[axis->blue_count]; in af_latin_metrics_init_blues()
371 blue_ref = &blue->ref.org; in af_latin_metrics_init_blues()
372 blue_shoot = &blue->shoot.org; in af_latin_metrics_init_blues()
407 blue->flags = 0; in af_latin_metrics_init_blues()
409 blue->flags |= AF_LATIN_BLUE_TOP; in af_latin_metrics_init_blues()
417 blue->flags |= AF_LATIN_BLUE_ADJUSTMENT; in af_latin_metrics_init_blues()
558 AF_LatinBlue blue = NULL; in af_latin_metrics_scale_dim() local
565 blue = &Axis->blues[nn]; in af_latin_metrics_scale_dim()
570 if ( blue ) in af_latin_metrics_scale_dim()
[all …]
Dafcjk.c278 AF_CJKBlue blue; in af_cjk_metrics_init_blues() local
451 blue = & axis->blues[axis->blue_count]; in af_cjk_metrics_init_blues()
452 blue_ref = & blue->ref.org; in af_cjk_metrics_init_blues()
453 blue_shoot = & blue->shoot.org; in af_cjk_metrics_init_blues()
485 blue->flags = 0; in af_cjk_metrics_init_blues()
487 blue->flags |= AF_CJK_BLUE_IS_TOP; in af_cjk_metrics_init_blues()
489 blue->flags |= AF_CJK_BLUE_IS_RIGHT; in af_cjk_metrics_init_blues()
606 AF_CJKBlue blue = &axis->blues[nn]; in af_cjk_metrics_scale_dim() local
610 blue->ref.cur = FT_MulFix( blue->ref.org, scale ) + delta; in af_cjk_metrics_scale_dim()
611 blue->ref.fit = blue->ref.cur; in af_cjk_metrics_scale_dim()
[all …]
Daflatin2.c191 AF_LatinBlue blue; in af_latin2_metrics_init_blues() local
363 blue = & axis->blues[axis->blue_count]; in af_latin2_metrics_init_blues()
364 blue_ref = & blue->ref.org; in af_latin2_metrics_init_blues()
365 blue_shoot = & blue->shoot.org; in af_latin2_metrics_init_blues()
399 blue->flags = 0; in af_latin2_metrics_init_blues()
401 blue->flags |= AF_LATIN_BLUE_TOP; in af_latin2_metrics_init_blues()
409 blue->flags |= AF_LATIN_BLUE_ADJUSTMENT; in af_latin2_metrics_init_blues()
542 AF_LatinBlue blue = NULL; in af_latin2_metrics_scale_dim() local
549 blue = &vaxis->blues[nn]; in af_latin2_metrics_scale_dim()
554 if ( blue ) in af_latin2_metrics_scale_dim()
[all …]
/external/webkit/Source/WebCore/svg/
DColorDistance.cpp39 , m_blueDiff(toColor.blue() - fromColor.blue()) in ColorDistance()
70 clampColorValue(first.blue() + second.blue())); in addColorsAndClamp()
77 clampColorValue(color.blue() + m_blueDiff)); in addToColorAndClamp()
/external/eigen/blas/testing/
Drunblastest.sh7 blue='\E[34m'
22 echo -e $blue
30 echo -e $blue
38 echo -e $blue
/external/v8/benchmarks/
Draytrace.js82 blue : 0.0, property in Flog.RayTracer.Color
91 this.blue = b;
99 result.blue = c1.blue + c2.blue;
109 result.blue = c1.blue + s;
121 result.blue = c1.blue - c2.blue;
131 result.blue = c1.blue * c2.blue;
141 result.blue = c1.blue * f;
151 result.blue = c1.blue / f;
159 this.blue = (this.blue > 0.0) ? ( (this.blue > 1.0) ? 1.0 : this.blue ) : 0.0;
163 ….abs(this.red - color.red) + Math.abs(this.green - color.green) + Math.abs(this.blue - color.blue);
[all …]
/external/webkit/PerformanceTests/SunSpider/tests/v8-v6/
Dv8-raytrace.js77 blue : 0.0, property in Flog.RayTracer.Color
86 this.blue = b;
94 result.blue = c1.blue + c2.blue;
104 result.blue = c1.blue + s;
116 result.blue = c1.blue - c2.blue;
126 result.blue = c1.blue * c2.blue;
136 result.blue = c1.blue * f;
146 result.blue = c1.blue / f;
154 this.blue = (this.blue > 0.0) ? ( (this.blue > 1.0) ? 1.0 : this.blue ) : 0.0;
158 ….abs(this.red - color.red) + Math.abs(this.green - color.green) + Math.abs(this.blue - color.blue);
[all …]
/external/webkit/Source/WebCore/platform/graphics/
DColor.cpp159 int dB = c1.blue() - c2.blue(); in differenceSquared()
194 appendByteAsHex(blue(), builder, Lowercase); in serialized()
206 appendNumber(result, blue()); in serialized()
222 return String::format("#%02X%02X%02X%02X", red(), green(), blue(), alpha()); in nameForRenderTreeAsText()
223 return String::format("#%02X%02X%02X", red(), green(), blue()); in nameForRenderTreeAsText()
319 int b = (blue() * alpha() * (255 - source.alpha()) + 255 * source.alpha() * source.blue()) / d; in blend()
335 int b = blendComponent(blue(), alpha); in blendWithWhite()
349 b = blue() / 255.0f; in getRGBA()
357 b = blue() / 255.0; in getRGBA()
368 double b = static_cast<double>(blue()) / 255.0; in getHSL()
[all …]
/external/webkit/PerformanceTests/SunSpider/tests/v8-v4/
Dv8-raytrace.js77 blue : 0.0, property in Flog.RayTracer.Color
86 this.blue = b;
94 result.blue = c1.blue + c2.blue;
104 result.blue = c1.blue + s;
116 result.blue = c1.blue - c2.blue;
126 result.blue = c1.blue * c2.blue;
136 result.blue = c1.blue * f;
146 result.blue = c1.blue / f;
154 this.blue = (this.blue > 0.0) ? ( (this.blue > 1.0) ? 1.0 : this.blue ) : 0.0;
158 ….abs(this.red - color.red) + Math.abs(this.green - color.green) + Math.abs(this.blue - color.blue);
[all …]
/external/webkit/PerformanceTests/SunSpider/tests/v8-v5/
Dv8-raytrace.js77 blue : 0.0, property in Flog.RayTracer.Color
86 this.blue = b;
94 result.blue = c1.blue + c2.blue;
104 result.blue = c1.blue + s;
116 result.blue = c1.blue - c2.blue;
126 result.blue = c1.blue * c2.blue;
136 result.blue = c1.blue * f;
146 result.blue = c1.blue / f;
154 this.blue = (this.blue > 0.0) ? ( (this.blue > 1.0) ? 1.0 : this.blue ) : 0.0;
158 ….abs(this.red - color.red) + Math.abs(this.green - color.green) + Math.abs(this.blue - color.blue);
[all …]
/external/skia/gm/
Dtestimagefilters.cpp58 SkImageFilter* blue = new SkColorFilterImageFilter(cf); in make6() local
59 SkAutoUnref aur4(blue); in make6()
61 return new SkMergeImageFilter(compose, blue); in make6()
75 SkImageFilter* blue = new SkColorFilterImageFilter(cf); in make7() local
76 SkAutoUnref aur4(blue); in make7()
78 return new SkMergeImageFilter(compose, blue); in make7()
/external/eigen/test/eigen2/
Druntest.sh7 blue='\E[34m'
15 echo -e $blue
24 echo -e $blue

12345678910>>...14