/external/opencv3/3rdparty/openexr/Imath/ |
ImathColorAlgo.cpp | 50 double hue = hsv.x; local 56 if (hue == 1) hue = 0; 57 else hue *= 6; 59 int i = int(Math<double>::floor(hue)); 60 double f = hue-i; 82 double hue = hsv.r; local 88 if (hue == 1) hue = 0; 89 else hue *= 6 124 double hue = 0; local 157 double hue = 0; local [all...] |
/external/ImageMagick/MagickCore/ |
gem.c | 74 % ConvertHCLToRGB() transforms a (hue, chroma, luma) to a (red, green, 79 % void ConvertHCLToRGB(const double hue,const double chroma, 84 % o hue, chroma, luma: A double value representing a component of the 90 MagickPrivate void ConvertHCLToRGB(const double hue,const double chroma, 108 h=6.0*hue; 167 % ConvertHCLpToRGB() transforms a (hue, chroma, luma) to a (red, green, 173 % void ConvertHCLpToRGB(const double hue,const double chroma, 178 % o hue, chroma, luma: A double value representing a componenet of the 184 MagickPrivate void ConvertHCLpToRGB(const double hue,const double chroma, 203 h=6.0*hue; [all...] |
enhance.c | 849 hue, 858 hue=0.0; 861 ConvertRGBToHSB(*red,*green,*blue,&hue,&saturation,&brightness); 869 ConvertHSBToRGB(hue,saturation,brightness,red,green,blue); 842 hue, local 2942 hue, local 2965 hue, local 2989 hue, local 3012 hue, local 3034 hue, local 3057 hue, local 3081 hue, local 3103 hue, local 3126 hue, local [all...] |
/external/opencv3/samples/cpp/tutorial_code/Histograms_Matching/ |
calcBackProject_Demo1.cpp | 17 Mat src; Mat hsv; Mat hue; variable 34 /// Use only the Hue value 35 hue.create( hsv.size(), hsv.depth() ); 37 mixChannels( &hsv, 1, &hue, 1, ch, 1 ); 42 createTrackbar("* Hue bins: ", window_image, &bins, 180, Hist_and_Backproj ); 66 calcHist( &hue, 1, 0, Mat(), hist, 1, &histSize, &ranges, true, false ); 71 calcBackProject( &hue, 1, 0, hist, backproj, &ranges, 1, true );
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_csc.h | 40 float hue; member in struct:vl_procamp
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
colorsys.py | 15 HLS: Hue, Luminance, Saturation 16 HSV: Hue, Saturation, Value 62 # HLS: Hue, Luminance, Saturation 100 def _v(m1, m2, hue): 101 hue = hue % 1.0 102 if hue < ONE_SIXTH: 103 return m1 + (m2-m1)*hue*6.0 104 if hue < 0.5: 106 if hue < TWO_THIRD [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
colorsys.py | 15 HLS: Hue, Luminance, Saturation 16 HSV: Hue, Saturation, Value 62 # HLS: Hue, Luminance, Saturation 100 def _v(m1, m2, hue): 101 hue = hue % 1.0 102 if hue < ONE_SIXTH: 103 return m1 + (m2-m1)*hue*6.0 104 if hue < 0.5: 106 if hue < TWO_THIRD [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
colorsys.py | 15 HLS: Hue, Luminance, Saturation 16 HSV: Hue, Saturation, Value 62 # HLS: Hue, Luminance, Saturation 100 def _v(m1, m2, hue): 101 hue = hue % 1.0 102 if hue < ONE_SIXTH: 103 return m1 + (m2-m1)*hue*6.0 104 if hue < 0.5: 106 if hue < TWO_THIRD [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
colorsys.py | 15 HLS: Hue, Luminance, Saturation 16 HSV: Hue, Saturation, Value 62 # HLS: Hue, Luminance, Saturation 100 def _v(m1, m2, hue): 101 hue = hue % 1.0 102 if hue < ONE_SIXTH: 103 return m1 + (m2-m1)*hue*6.0 104 if hue < 0.5: 106 if hue < TWO_THIRD [all...] |
/external/skia/src/animator/ |
SkDrawColor.cpp | 36 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, 60 * SK_Scalar1) [all...] |
/frameworks/wilhelm/src/itf/ |
ILEDArray.c | 64 if (!(0 <= color.hue && color.hue <= 360000)) 117 color->hue = 0; // red, but per specification 1.0.1 pg. 259: "Default color is undefined."
|
/hardware/qcom/display/msm8960/libqdutils/ |
qdMetaData.h | 36 int32_t hue; member in struct:HSICData_t
|
/packages/apps/Gallery2/jni/ |
Android.mk | 32 filters/hue.c \
|
/external/opencv3/samples/cpp/ |
camshiftdemo.cpp | 102 Mat frame, hsv, hue, mask, hist, histimg = Mat::zeros(200, 320, CV_8UC3), backproj; local 127 hue.create(hsv.size(), hsv.depth()); 128 mixChannels(&hsv, 1, &hue, 1, ch, 1); 132 Mat roi(hue, selection), maskroi(mask, selection); 155 calcBackProject(&hue, 1, 0, hist, backproj, &phranges);
|
/external/opencv3/samples/tapi/ |
camshift.cpp | 102 cv::UMat hsv, hist, hue, mask, backproj; local 128 hue.create(hsv.size(), hsv.depth()); 129 cv::mixChannels(std::vector<cv::UMat>(1, hsv), std::vector<cv::UMat>(1, hue), fromTo, 1); 133 cv::UMat roi(hue, selection), maskroi(mask, selection); 160 cv::calcBackProject(std::vector<cv::UMat>(1, hue), std::vector<int>(1, 0), hist, backproj,
|
/external/ImageMagick/Magick++/lib/ |
Color.cpp | 613 void Magick::ColorHSL::hue(const double hue_) function in class:Magick::ColorHSL 616 hue, local 625 ConvertRGBToHSL(quantumRed(),quantumGreen(),quantumBlue(),&hue,&saturation, local 628 hue=hue_; 630 ConvertHSLToRGB(hue,saturation,lightness,&red,&green,&blue); 637 double Magick::ColorHSL::hue(void) const function in class:Magick::ColorHSL 640 hue, local 644 ConvertRGBToHSL(quantumRed(),quantumGreen(),quantumBlue(),&hue,&saturation, local 647 return(hue); 653 hue, local 662 ConvertRGBToHSL(quantumRed(),quantumGreen(),quantumBlue(),&hue,&saturation, local 677 hue, local 681 ConvertRGBToHSL(quantumRed(),quantumGreen(),quantumBlue(),&hue,&saturation, local 690 hue, local 699 ConvertRGBToHSL(quantumRed(),quantumGreen(),quantumBlue(),&hue,&saturation, local 714 hue, local 718 ConvertRGBToHSL(quantumRed(),quantumGreen(),quantumBlue(),&hue,&saturation, local [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
MaterialColorMapUtils.java | 112 final float colorHue = hue(color); 117 final float comparedHue = hue(primaryColor); 142 * Returns the hue component of a color int. 146 public static float hue(int color) { method in class:MaterialColorMapUtils
|
/hardware/qcom/display/msm8960/liboverlay/ |
overlayMdp.cpp | 220 if (mParams.params.pa_params.hue != data.hsicData.hue) { 222 "Hue has changed from %d to %d", 223 mParams.params.pa_params.hue,data.hsicData.hue); 254 mParams.params.pa_params.hue = data.hsicData.hue;
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
ColorUtils.java | 34 public static float hue(int argb) { method in class:ColorUtils
|
/hardware/qcom/display/msm8084/libqdutils/ |
qdMetaData.h | 46 int32_t hue; member in struct:HSICData_t
|
/hardware/qcom/display/msm8226/libqdutils/ |
qdMetaData.h | 46 int32_t hue; member in struct:HSICData_t
|
/hardware/qcom/display/msm8909/libqdutils/ |
qdMetaData.h | 46 int32_t hue; member in struct:HSICData_t
|
/hardware/qcom/display/msm8994/libqdutils/ |
qdMetaData.h | 46 int32_t hue; member in struct:HSICData_t
|
/hardware/qcom/display/msm8996/libqdutils/ |
qdMetaData.h | 49 int32_t hue; member in struct:HSICData_t
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/ |
ColorRectView.java | 109 double hue = Math.PI * 2 * (mDotX - mBorder) / (mHeight - 2 * mBorder); local 110 mHSVO[0] = ((float) Math.toDegrees(hue) + 360) % 360; 181 double hue = mHSVO[0]; local 184 mDotX = (float) (mBorder + (mHeight - 2 * mBorder) * Math.toRadians(hue) / (Math.PI * 2));
|