Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-xray/
Dxray-color-helper.cpp132 int HPrimeInt = static_cast<int>(HPrime); in convertToRGB() local
133 if (HPrimeInt % 2 == 0) { in convertToRGB()
134 RGB1[(HPrimeInt / 2) % 3] = C; in convertToRGB()
135 RGB1[(HPrimeInt / 2 + 1) % 3] = X; in convertToRGB()
136 RGB1[(HPrimeInt / 2 + 2) % 3] = 0.0; in convertToRGB()
138 RGB1[(HPrimeInt / 2) % 3] = X; in convertToRGB()
139 RGB1[(HPrimeInt / 2 + 1) % 3] = C; in convertToRGB()
140 RGB1[(HPrimeInt / 2 + 2) % 3] = 0.0; in convertToRGB()