Home
last modified time | relevance | path

Searched refs:HPrime (Results 1 – 1 of 1) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-xray/
Dxray-color-helper.cpp98 double HPrime = in convertToHSV() local
100 HPrime = HPrime + 2.0 * Max; in convertToHSV()
102 double H = (HPrime < 0) ? (HPrime + 6.0) * 60 in convertToHSV()
103 : HPrime * 60; // Scale to between 0 and 360 in convertToHSV()
128 double HPrime = H / 60; in convertToRGB() local
129 double X = C * (1 - std::abs(std::fmod(HPrime, 2.0) - 1)); in convertToRGB()
132 int HPrimeInt = static_cast<int>(HPrime); in convertToRGB()