Home
last modified time | relevance | path

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

/frameworks/native/libs/ui/include_types/ui/
DColorSpace.h222 static constexpr float2 xyY(const float3& XYZ) { in xyY() function
229 static constexpr float3 XYZ(const float3& xyY) { in XYZ() argument
230 return float3{(xyY.x * xyY.z) / xyY.y, xyY.z, ((1 - xyY.x - xyY.y) * xyY.z) / xyY.y}; in XYZ()
/frameworks/native/libs/ui/include_vndk/ui/
DColorSpace.h222 static constexpr float2 xyY(const float3& XYZ) { in xyY() function
229 static constexpr float3 XYZ(const float3& xyY) { in XYZ() argument
230 return float3{(xyY.x * xyY.z) / xyY.y, xyY.z, ((1 - xyY.x - xyY.y) * xyY.z) / xyY.y}; in XYZ()
/frameworks/base/graphics/java/android/graphics/
DColorSpace.java1806 private static float[] xyYToXyz(@NonNull @Size(2) float[] xyY) { in xyYToXyz() argument
1807 return new float[] { xyY[0] / xyY[1], 1.0f, (1 - xyY[0] - xyY[1]) / xyY[1] }; in xyYToXyz()