Searched refs:HsvColor (Results 1 – 1 of 1) sorted by relevance
/ohos5.0/base/security/security_component_manager/frameworks/common/src/ |
H A D | sec_comp_tool.cpp | 53 struct HsvColor { struct 59 static HsvColor RgbToHsv(uint8_t r, uint8_t g, uint8_t b) in RgbToHsv() 61 HsvColor hsv; in RgbToHsv() 89 static inline double GetHsvDisX(const HsvColor& hsv, double r) in GetHsvDisX() 94 static inline double GetHsvDisY(const HsvColor& hsv, double r) in GetHsvDisY() 99 static inline double GetHsvDisZ(const HsvColor& hsv, double h) in GetHsvDisZ() 104 static double HsvDistance(const HsvColor& hsv1, const HsvColor& hsv2) in HsvDistance() 142 HsvColor hsv1 = RgbToHsv(color1.argb.red, color1.argb.green, color1.argb.blue); in IsColorSimilar() 143 HsvColor hsv2 = RgbToHsv(color2.argb.red, color2.argb.green, color2.argb.blue); in IsColorSimilar()
|