Searched refs:hue (Results 1 - 24 of 24) sorted by relevance

/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/
H A Dvl_csc.h40 float hue; member in struct:vl_procamp
H A Dvl_csc.c50 * mat44 procamp, hue, saturation, brightness, contrast
51 * procamp = brightness * (saturation * (contrast * hue))
53 * procamp = saturation * (brightness * (contrast * hue))
73 * hue
171 0.0f /* hue */
187 float h = p->hue;
/external/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_csc.h40 float hue; member in struct:vl_procamp
H A Dvl_csc.c50 * mat44 procamp, hue, saturation, brightness, contrast
51 * procamp = brightness * (saturation * (contrast * hue))
53 * procamp = saturation * (brightness * (contrast * hue))
73 * hue
171 0.0f /* hue */
187 float h = p->hue;
/external/chromium_org/third_party/skia/src/animator/
H A DSkDrawColor.cpp36 SkScalar hue;
38 hue = 0;
42 hue = SkScalarMul(green - blue, part60);
43 if (hue < 0)
44 hue += 360 * SK_Scalar1;
47 hue = 120 * SK_Scalar1 + SkScalarMul(blue - red, part60);
49 hue = 240 * SK_Scalar1 + SkScalarMul(red - green, part60);
52 return hue;
61 SkScalar hue = choice == kGetHue ? hsv : RGB_to_HSV(color, kGetHue); local
71 //SkScalar fraction = SkScalarMod(hue, 6
[all...]
/external/skia/src/animator/
H A DSkDrawColor.cpp36 SkScalar hue;
38 hue = 0;
42 hue = SkScalarMul(green - blue, part60);
43 if (hue < 0)
44 hue += 360 * SK_Scalar1;
47 hue = 120 * SK_Scalar1 + SkScalarMul(blue - red, part60);
49 hue = 240 * SK_Scalar1 + SkScalarMul(red - green, part60);
52 return hue;
61 SkScalar hue = choice == kGetHue ? hsv : RGB_to_HSV(color, kGetHue); local
71 //SkScalar fraction = SkScalarMod(hue, 6
[all...]
/external/chromium_org/ui/gfx/
H A Dcolor_utils.cc29 int calcHue(double temp1, double temp2, double hue) { argument
30 if (hue < 0.0)
31 ++hue;
32 else if (hue > 1.0)
33 --hue;
36 if (hue * 6.0 < 1.0)
37 result = temp1 + (temp2 - temp1) * hue * 6.0;
38 else if (hue * 2.0 < 1.0)
40 else if (hue * 3.0 < 2.0)
41 result = temp1 + (temp2 - temp1) * (2.0 / 3.0 - hue) * 6.
125 double hue = hsl.h; local
[all...]
/external/chromium_org/ui/views/color_chooser/
H A Dcolor_chooser_view.h23 // choose a color by dragging over the bar for hue and the area for saturation
34 // Called when the user chooses a hue from the UI.
35 void OnHueChosen(SkScalar hue);
40 float hue() const { return hsv_[0]; } function in class:views::ColorChooserView
72 // The view of hue chooser.
H A Dcolor_chooser_view.cc116 // The class to choose the hue of the color. It draws a vertical bar and
117 // the indicator for the currently selected hue.
122 void OnHueChanged(SkScalar hue);
144 void ColorChooserView::HueView::OnHueChanged(SkScalar hue) { argument
147 int level = SkScalarDiv(SkScalarMul(hue_max - hue, height), hue_max);
168 // We put indicators on the both sides of the hue bar.
175 // In the hue bar, saturation and value for the color should be always 100%.
233 void OnHueChanged(SkScalar hue);
259 void ColorChooserView::SaturationValueView::OnHueChanged(SkScalar hue) { argument
260 if (hue_ != hue) {
419 OnHueChosen(SkScalar hue) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DColor.cpp99 RGBA32 makeRGBAFromHSLA(double hue, double saturation, double lightness, double alpha) argument
111 return makeRGBA(static_cast<int>(calcHue(temp1, temp2, hue + 1.0 / 3.0) * scaleFactor),
112 static_cast<int>(calcHue(temp1, temp2, hue) * scaleFactor),
113 static_cast<int>(calcHue(temp1, temp2, hue - 1.0 / 3.0) * scaleFactor),
398 void Color::getHSL(double& hue, double& saturation, double& lightness) const
410 hue = 0.0;
412 hue = (60.0 * ((g - b) / (max - min))) + 360.0;
414 hue = (60.0 * ((b - r) / (max - min))) + 120.0;
416 hue = (60.0 * ((r - g) / (max - min))) + 240.0;
418 if (hue >
[all...]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
H A Dspectrum.css23 .spectrum-hue {
71 .spectrum-hue {
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xvmc/
H A Dattributes.c100 context_priv->procamp.hue = value / 1000.0f;
144 *value = context_priv->procamp.hue * 1000;
/external/mesa3d/src/gallium/state_trackers/xvmc/
H A Dattributes.c100 context_priv->procamp.hue = value / 1000.0f;
144 *value = context_priv->procamp.hue * 1000;
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
H A DFEColorMatrix.cpp95 static void hueRotateMatrix(float hue, SkScalar matrix[20]) argument
97 float cosHue = cosf(hue * piFloat / 180);
98 float sinHue = sinf(hue * piFloat / 180);
/external/libpng/contrib/gregbook/
H A Drpng2-x.c1197 double red=0.0, green=0.0, blue=0.0, hue, s, v, f, p, q, t; local
1207 * aoffset: number of degrees to rotate hue [CURRENTLY NOT USED]
1234 hue = (angle + PI) * INV_PI_360 + aoffset;
1245 if ((hue < 0.0) || (hue >= 360.0))
1246 hue -= (((int)(hue / 360.0)) * 360.0);
1247 hue /= 60.0;
1248 ii = (int)hue;
1249 f = hue
1966 double red=0.0, green=0.0, blue=0.0, hue, s, v, f, p, q, t; local
[all...]
H A Drpng2-win.c970 double red=0.0, green=0.0, blue=0.0, hue, s, v, f, p, q, t; local
980 * aoffset: number of degrees to rotate hue [CURRENTLY NOT USED]
1007 hue = (angle + PI) * INV_PI_360 + aoffset;
1018 if ((hue < 0.0) || (hue >= 360.0))
1019 hue -= (((int)(hue / 360.0)) * 360.0);
1020 hue /= 60.0;
1021 ii = (int)hue;
1022 f = hue
[all...]
/external/chromium_org/cc/output/
H A Drender_surface_filters.cc70 void GetHueRotateMatrix(float hue, SkScalar matrix[20]) { argument
73 float cos_hue = cosf(hue * kPi / 180.f);
74 float sin_hue = sinf(hue * kPi / 180.f);
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vdpau/
H A Dmixer.c784 camp.hue = procamp->hue;
/external/mesa3d/src/gallium/state_trackers/vdpau/
H A Dmixer.c784 camp.hue = procamp->hue;
/external/chromium_org/third_party/WebKit/Source/core/frame/
H A DFrameView.cpp280 double hue, saturation, lightness; local
281 backgroundColor.getHSL(hue, saturation, lightness);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.jface.text_3.6.1.r361_v20100825-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/chromium_org/third_party/android_platform/webview/
H A Dframeworks.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/location/ android/location/Address$1.class ...

Completed in 381 milliseconds