Searched refs:kHueBits (Results 1 – 1 of 1) sorted by relevance
75 constexpr size_t kHueBits = 4; variable76 constexpr uint32_t kMaxHue = kTurboColors.size() << kHueBits;97 uint32_t c1 = hue >> kHueBits; in HueToRGB()100 uint32_t ratio = hue & ((1 << kHueBits) - 1); in HueToRGB()102 static_cast<uint8_t>(ratio | (ratio << kHueBits))); in HueToRGB()