Home
last modified time | relevance | path

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

12345678910>>...24

/external/opencv3/3rdparty/openexr/IlmImf/
DImfChromaticities.cpp50 const Imath::V2f &blue, in Chromaticities() argument
55 blue (blue), in Chromaticities()
84 float d = chroma.red.x * (chroma.blue.y - chroma.green.y) + in RGBtoXYZ()
85 chroma.blue.x * (chroma.green.y - chroma.red.y) + in RGBtoXYZ()
86 chroma.green.x * (chroma.red.y - chroma.blue.y); in RGBtoXYZ()
88 float Sr = (X * (chroma.blue.y - chroma.green.y) - in RGBtoXYZ()
89 chroma.green.x * (Y * (chroma.blue.y - 1) + in RGBtoXYZ()
90 chroma.blue.y * (X + Z)) + in RGBtoXYZ()
91 chroma.blue.x * (Y * (chroma.green.y - 1) + in RGBtoXYZ()
94 float Sg = (X * (chroma.red.y - chroma.blue.y) + in RGBtoXYZ()
[all …]
/external/slf4j/slf4j-jcl/src/test/java/org/slf4j/
DInvocationTest.java101 Marker blue = MarkerFactory.getMarker("BLUE"); in testMarker() local
102 logger.debug(blue, "hello"); in testMarker()
103 logger.info(blue, "hello"); in testMarker()
104 logger.warn(blue, "hello"); in testMarker()
105 logger.error(blue, "hello"); in testMarker()
107 logger.debug(blue, "hello {}", "world"); in testMarker()
108 logger.info(blue, "hello {}", "world"); in testMarker()
109 logger.warn(blue, "hello {}", "world"); in testMarker()
110 logger.error(blue, "hello {}", "world"); in testMarker()
112 logger.debug(blue, "hello {} and {} ", "world", "universe"); in testMarker()
[all …]
/external/slf4j/slf4j-simple/src/test/java/org/slf4j/
DInvocationTest.java107 Marker blue = MarkerFactory.getMarker("BLUE"); in testMarker() local
108 logger.debug(blue, "hello"); in testMarker()
109 logger.info(blue, "hello"); in testMarker()
110 logger.warn(blue, "hello"); in testMarker()
111 logger.error(blue, "hello"); in testMarker()
113 logger.debug(blue, "hello {}", "world"); in testMarker()
114 logger.info(blue, "hello {}", "world"); in testMarker()
115 logger.warn(blue, "hello {}", "world"); in testMarker()
116 logger.error(blue, "hello {}", "world"); in testMarker()
118 logger.debug(blue, "hello {} and {} ", "world", "universe"); in testMarker()
[all …]
/external/slf4j/slf4j-nop/src/test/java/org/slf4j/
DInvocationTest.java95 Marker blue = MarkerFactory.getMarker("BLUE"); in testMarker() local
96 logger.debug(blue, "hello"); in testMarker()
97 logger.info(blue, "hello"); in testMarker()
98 logger.warn(blue, "hello"); in testMarker()
99 logger.error(blue, "hello"); in testMarker()
101 logger.debug(blue, "hello {}", "world"); in testMarker()
102 logger.info(blue, "hello {}", "world"); in testMarker()
103 logger.warn(blue, "hello {}", "world"); in testMarker()
104 logger.error(blue, "hello {}", "world"); in testMarker()
106 logger.debug(blue, "hello {} and {} ", "world", "universe"); in testMarker()
[all …]
/external/slf4j/slf4j-log4j12/src/test/java/org/slf4j/
DInvocationTest.java123 Marker blue = MarkerFactory.getMarker("BLUE"); in testMarker() local
124 logger.trace(blue, "hello"); in testMarker()
125 logger.debug(blue, "hello"); in testMarker()
126 logger.info(blue, "hello"); in testMarker()
127 logger.warn(blue, "hello"); in testMarker()
128 logger.error(blue, "hello"); in testMarker()
130 logger.debug(blue, "hello {}", "world"); in testMarker()
131 logger.info(blue, "hello {}", "world"); in testMarker()
132 logger.warn(blue, "hello {}", "world"); in testMarker()
133 logger.error(blue, "hello {}", "world"); in testMarker()
[all …]
/external/skia/src/codec/
DSkMaskSwizzler.cpp23 uint8_t blue = masks->getBlue(p); in swizzle_mask16_to_n32_opaque() local
24 dstPtr[i] = SkPackARGB32NoCheck(0xFF, red, green, blue); in swizzle_mask16_to_n32_opaque()
40 uint8_t blue = masks->getBlue(p); in swizzle_mask16_to_n32_unpremul() local
42 dstPtr[i] = SkPackARGB32NoCheck(alpha, red, green, blue); in swizzle_mask16_to_n32_unpremul()
58 uint8_t blue = masks->getBlue(p); in swizzle_mask16_to_n32_premul() local
60 dstPtr[i] = SkPreMultiplyARGB(alpha, red, green, blue); in swizzle_mask16_to_n32_premul()
78 uint8_t blue = masks->getBlue(p); in swizzle_mask16_to_565() local
79 dstPtr[i] = SkPack888ToRGB16(red, green, blue); in swizzle_mask16_to_565()
95 uint8_t blue = masks->getBlue(p); in swizzle_mask24_to_n32_opaque() local
96 dstPtr[i] = SkPackARGB32NoCheck(0xFF, red, green, blue); in swizzle_mask24_to_n32_opaque()
[all …]
DSkMasks.cpp134 masks.blue &= (1 << bitsPerPixel) - 1; in CreateMasks()
139 if (((masks.red & masks.green) | (masks.red & masks.blue) | in CreateMasks()
140 (masks.red & masks.alpha) | (masks.green & masks.blue) | in CreateMasks()
141 (masks.green & masks.alpha) | (masks.blue & masks.alpha)) != 0) { in CreateMasks()
148 const MaskInfo blue = process_mask(masks.blue, bitsPerPixel); in CreateMasks() local
151 return new SkMasks(red, green, blue, alpha); in CreateMasks()
156 const MaskInfo& blue, const MaskInfo& alpha) in SkMasks() argument
159 , fBlue(blue) in SkMasks()
/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/slf4j/slf4j-jdk14/src/test/java/org/slf4j/
DInvocationTest.java128 Marker blue = MarkerFactory.getMarker("BLUE"); in testMarker() local
129 logger.debug(blue, "hello"); in testMarker()
130 logger.info(blue, "hello"); in testMarker()
131 logger.warn(blue, "hello"); in testMarker()
132 logger.error(blue, "hello"); in testMarker()
134 logger.debug(blue, "hello {}", "world"); in testMarker()
135 logger.info(blue, "hello {}", "world"); in testMarker()
136 logger.warn(blue, "hello {}", "world"); in testMarker()
137 logger.error(blue, "hello {}", "world"); in testMarker()
139 logger.debug(blue, "hello {} and {} ", "world", "universe"); in testMarker()
[all …]
/external/freetype/src/autofit/
Dafblue.dat3 // Auto-fitter data for blue strings.
15 // This file contains data specific to blue zones. It gets processed by
60 // fixed-size arrays at compile time for further processing of the blue zone
66 // The blue zone string data, to be used in the blue stringsets below.
92 // blue zone, which must be always present
197 // The blue zone stringsets, as used in the script styles, cf. `afstyles.h'.
202 // A blue zone in general is defined by a reference and an overshoot line.
204 // are set equal to the reference value, provided that the blue zone is not
205 // wider than 0.75 pixels (otherwise the blue zone gets ignored). All
209 // sequentially checked, edge by edge, against the blue zones in the order
[all …]
Daflatin.c267 AF_LatinBlue blue; in af_latin_metrics_init_blues() local
746 blue = &axis->blues[axis->blue_count]; in af_latin_metrics_init_blues()
747 blue_ref = &blue->ref.org; in af_latin_metrics_init_blues()
748 blue_shoot = &blue->shoot.org; in af_latin_metrics_init_blues()
788 blue->flags = 0; in af_latin_metrics_init_blues()
790 blue->flags |= AF_LATIN_BLUE_TOP; in af_latin_metrics_init_blues()
792 blue->flags |= AF_LATIN_BLUE_NEUTRAL; in af_latin_metrics_init_blues()
800 blue->flags |= AF_LATIN_BLUE_ADJUSTMENT; in af_latin_metrics_init_blues()
923 AF_LatinBlue blue = NULL; in af_latin_metrics_scale_dim() local
930 blue = &Axis->blues[nn]; in af_latin_metrics_scale_dim()
[all …]
Daflatin2.c193 AF_LatinBlue blue; in af_latin2_metrics_init_blues() local
366 blue = & axis->blues[axis->blue_count]; in af_latin2_metrics_init_blues()
367 blue_ref = & blue->ref.org; in af_latin2_metrics_init_blues()
368 blue_shoot = & blue->shoot.org; in af_latin2_metrics_init_blues()
408 blue->flags = 0; in af_latin2_metrics_init_blues()
410 blue->flags |= AF_LATIN_BLUE_TOP; in af_latin2_metrics_init_blues()
418 blue->flags |= AF_LATIN_BLUE_ADJUSTMENT; in af_latin2_metrics_init_blues()
552 AF_LatinBlue blue = NULL; in af_latin2_metrics_scale_dim() local
559 blue = &vaxis->blues[nn]; in af_latin2_metrics_scale_dim()
564 if ( blue ) in af_latin2_metrics_scale_dim()
[all …]
Dafcjk.c268 AF_CJKBlue blue; in af_cjk_metrics_init_blues() local
452 blue = &axis->blues[axis->blue_count]; in af_cjk_metrics_init_blues()
453 blue_ref = &blue->ref.org; in af_cjk_metrics_init_blues()
454 blue_shoot = &blue->shoot.org; in af_cjk_metrics_init_blues()
494 blue->flags = 0; in af_cjk_metrics_init_blues()
496 blue->flags |= AF_CJK_BLUE_TOP; in af_cjk_metrics_init_blues()
619 AF_CJKBlue blue = &axis->blues[nn]; in af_cjk_metrics_scale_dim() local
623 blue->ref.cur = FT_MulFix( blue->ref.org, scale ) + delta; in af_cjk_metrics_scale_dim()
624 blue->ref.fit = blue->ref.cur; in af_cjk_metrics_scale_dim()
625 blue->shoot.cur = FT_MulFix( blue->shoot.org, scale ) + delta; in af_cjk_metrics_scale_dim()
[all …]
/external/opencv3/modules/cudacodec/src/cuda/
Dnv12_to_rgb.cu69 __device__ static void YUV2RGB(const uint* yuvi, float* red, float* green, float* blue) in YUV2RGB() argument
87 *blue = (luma * constHueColorSpaceMat[6]) + in YUV2RGB()
92 __device__ static uint RGBA_pack_10bit(float red, float green, float blue, uint alpha) in RGBA_pack_10bit() argument
99 blue = ::fmin(::fmax(blue, 0.0f), 1023.f); in RGBA_pack_10bit()
102 ARGBpixel = (((uint)blue >> 2) | in RGBA_pack_10bit()
166 float red[2], green[2], blue[2]; in NV12_to_RGB() local
177 YUV2RGB(&yuvi[0], &red[0], &green[0], &blue[0]); in NV12_to_RGB()
178 YUV2RGB(&yuvi[3], &red[1], &green[1], &blue[1]); in NV12_to_RGB()
184 …dstImage[y * dstImagePitch + x ] = RGBA_pack_10bit(red[0], green[0], blue[0], ((uint)0xff << 2… in NV12_to_RGB()
185 …dstImage[y * dstImagePitch + x + 1 ] = RGBA_pack_10bit(red[1], green[1], blue[1], ((uint)0xff << 2… in NV12_to_RGB()
/external/slf4j/slf4j-api/src/test/java/org/slf4j/
DBasicMarkerTest.java50 final Marker blue; field in BasicMarkerTest
61 blue = factory.getMarker(BLUE_STR); in BasicMarkerTest()
65 comp.add(blue); in BasicMarkerTest()
73 assertEquals(BLUE_STR, blue.getName()); in testPrimitive()
74 assertTrue(blue.contains(blue)); in testPrimitive()
78 assertEquals(blue, blue2); in testPrimitive()
79 assertTrue(blue.contains(blue2)); in testPrimitive()
80 assertTrue(blue2.contains(blue)); in testPrimitive()
84 assertTrue(blue.contains(BLUE_STR)); in testPrimitiveByName()
89 assertTrue(comp.contains(blue)); in testComposite()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawSimpleTest.cpp68 …m_data.push_back(PositionColorVertex(tcu::Vec4( 1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec… in SimpleDraw()
69 …m_data.push_back(PositionColorVertex(tcu::Vec4( -1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec… in SimpleDraw()
70 …m_data.push_back(PositionColorVertex(tcu::Vec4( -0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec… in SimpleDraw()
71 …m_data.push_back(PositionColorVertex(tcu::Vec4( -0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec… in SimpleDraw()
72 …m_data.push_back(PositionColorVertex(tcu::Vec4( 0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec… in SimpleDraw()
73 …m_data.push_back(PositionColorVertex(tcu::Vec4( 0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec… in SimpleDraw()
74 …m_data.push_back(PositionColorVertex(tcu::Vec4( 0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec… in SimpleDraw()
75 …m_data.push_back(PositionColorVertex(tcu::Vec4( -0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec… in SimpleDraw()
76 …m_data.push_back(PositionColorVertex(tcu::Vec4( -1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec… in SimpleDraw()
79 …m_data.push_back(PositionColorVertex(tcu::Vec4( 1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec… in SimpleDraw()
[all …]
DvktDrawIndirectTest.cpp109 …m_data.push_back(PositionColorVertex(tcu::Vec4( 1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec… in IndirectDraw()
110 …m_data.push_back(PositionColorVertex(tcu::Vec4( -1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec… in IndirectDraw()
111 …m_data.push_back(PositionColorVertex(tcu::Vec4( -0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec… in IndirectDraw()
112 …m_data.push_back(PositionColorVertex(tcu::Vec4( -0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec… in IndirectDraw()
113 …m_data.push_back(PositionColorVertex(tcu::Vec4( 0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec… in IndirectDraw()
114 …m_data.push_back(PositionColorVertex(tcu::Vec4( 0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec… in IndirectDraw()
115 …m_data.push_back(PositionColorVertex(tcu::Vec4( 0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec… in IndirectDraw()
116 …m_data.push_back(PositionColorVertex(tcu::Vec4( -0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec… in IndirectDraw()
117 …m_data.push_back(PositionColorVertex(tcu::Vec4( -1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec… in IndirectDraw()
120 …m_data.push_back(PositionColorVertex(tcu::Vec4( 1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toV… in IndirectDraw()
[all …]
/external/libpng/contrib/gregbook/
Drpng2-x.c1221 double red=0.0, green=0.0, blue=0.0, hue, s, v, f, p, q, t; in rpng2_x_load_bg_image() local
1277 if (ii == 0) { red = v; green = t; blue = p; } in rpng2_x_load_bg_image()
1278 else if (ii == 1) { red = q; green = v; blue = p; } in rpng2_x_load_bg_image()
1279 else if (ii == 2) { red = p; green = v; blue = t; } in rpng2_x_load_bg_image()
1280 else if (ii == 3) { red = p; green = q; blue = v; } in rpng2_x_load_bg_image()
1281 else if (ii == 4) { red = t; green = p; blue = v; } in rpng2_x_load_bg_image()
1282 else if (ii == 5) { red = v; green = p; blue = q; } in rpng2_x_load_bg_image()
1285 *dest++ = (uch)(blue * 255.0); in rpng2_x_load_bg_image()
1298 ulg red, green, blue; in rpng2_x_load_bg_image() local
1308 blue = *src++; in rpng2_x_load_bg_image()
[all …]
Dreadpng.c156 int readpng_get_bgcolor(uch *red, uch *green, uch *blue) in readpng_get_bgcolor() argument
186 *blue = pBackground->blue >> 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()
197 *blue = (uch)pBackground->blue; in readpng_get_bgcolor()
Drpng-x.c712 ulg red, green, blue; in rpng_x_display_image() local
721 blue = *src++; in rpng_x_display_image()
725 (blue << BShift); in rpng_x_display_image()
735 blue = (BShift < 0)? blue << (-BShift) : blue >> BShift; in rpng_x_display_image()
736 pixel = (red & RMask) | (green & GMask) | (blue & BMask); in rpng_x_display_image()
753 blue = b; in rpng_x_display_image()
757 blue = bg_blue; in rpng_x_display_image()
764 alpha_composite(blue, b, a, bg_blue); in rpng_x_display_image()
768 (blue << BShift); in rpng_x_display_image()
786 ush red, green, blue; in rpng_x_display_image() local
[all …]
/external/opencv3/3rdparty/libpng/
Dpngrtran.c727 int b = (palette[i].blue >> (8 - PNG_QUANTIZE_BLUE_BITS)); in png_set_quantize()
1135 png_ptr->background.blue = in png_init_palette_transformations()
1136 png_ptr->palette[png_ptr->background.index].blue; in png_init_palette_transformations()
1232 png_ptr->background.blue = (png_uint_16)gray; in png_init_rgb_transformations()
1237 png_ptr->trans_color.blue = (png_uint_16)trans_gray; in png_init_rgb_transformations()
1416 png_ptr->background.red == png_ptr->background.blue) in png_init_read_transformations()
1462 CHOP(png_ptr->background.blue); in png_init_read_transformations()
1485 png_ptr->background.blue = (png_uint_16)(png_ptr->background.blue * 257); in png_init_read_transformations()
1561 back.blue = png_ptr->gamma_table[png_ptr->background.blue]; in png_init_read_transformations()
1565 back_1.blue = png_ptr->gamma_to_1[png_ptr->background.blue]; in png_init_read_transformations()
[all …]
/external/pdfium/third_party/lpng_v163/
Dpngrtran.c757 int b = (palette[i].blue >> (8 - PNG_QUANTIZE_BLUE_BITS)); in png_set_quantize()
1157 png_ptr->background.blue = in png_init_palette_transformations()
1158 png_ptr->palette[png_ptr->background.index].blue; in png_init_palette_transformations()
1254 png_ptr->background.blue = (png_uint_16)gray; in png_init_rgb_transformations()
1259 png_ptr->trans_color.blue = (png_uint_16)trans_gray; in png_init_rgb_transformations()
1448 png_ptr->background.red == png_ptr->background.blue) in png_init_read_transformations()
1495 CHOP(png_ptr->background.blue); in png_init_read_transformations()
1518 png_ptr->background.blue = (png_uint_16)(png_ptr->background.blue * 257); in png_init_read_transformations()
1594 back.blue = png_ptr->gamma_table[png_ptr->background.blue]; in png_init_read_transformations()
1598 back_1.blue = png_ptr->gamma_to_1[png_ptr->background.blue]; in png_init_read_transformations()
[all …]
/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/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowColor.java11 public static int rgb(int red, int green, int blue) { in rgb() argument
12 return argb(0xff, red, green, blue); in rgb()
16 public static int argb(int alpha, int red, int green, int blue) { in argb() argument
17 return (alpha << 24) | (red << 16) | (green << 8) | blue; in argb()
/external/libpng/
Dpngrtran.c762 int b = (palette[i].blue >> (8 - PNG_QUANTIZE_BLUE_BITS)); in png_set_quantize()
1167 png_ptr->background.blue = in png_init_palette_transformations()
1168 png_ptr->palette[png_ptr->background.index].blue; in png_init_palette_transformations()
1264 png_ptr->background.blue = (png_uint_16)gray; in png_init_rgb_transformations()
1269 png_ptr->trans_color.blue = (png_uint_16)trans_gray; in png_init_rgb_transformations()
1458 png_ptr->background.red == png_ptr->background.blue) in png_init_read_transformations()
1505 CHOP(png_ptr->background.blue); in png_init_read_transformations()
1528 png_ptr->background.blue = (png_uint_16)(png_ptr->background.blue * 257); in png_init_read_transformations()
1603 back.blue = png_ptr->gamma_table[png_ptr->background.blue]; in png_init_read_transformations()
1607 back_1.blue = png_ptr->gamma_to_1[png_ptr->background.blue]; in png_init_read_transformations()
[all …]

12345678910>>...24