Searched defs:rgbToXYZ (Results 1 - 1 of 1) sorted by relevance
/frameworks/native/libs/ui/ |
H A D | ColorSpace.cpp | 85 static constexpr std::array<float2, 3> computePrimaries(const mat3& rgbToXYZ) { argument 86 float3 r(rgbToXYZ * float3{1, 0, 0}); 87 float3 g(rgbToXYZ * float3{0, 1, 0}); 88 float3 b(rgbToXYZ * float3{0, 0, 1}); 95 static constexpr float2 computeWhitePoint(const mat3& rgbToXYZ) { argument 96 float3 w(rgbToXYZ * float3{1}); 102 const mat3& rgbToXYZ, 107 , mRGBtoXYZ(rgbToXYZ) 108 , mXYZtoRGB(inverse(rgbToXYZ)) 112 , mPrimaries(computePrimaries(rgbToXYZ)) [all...] |
Completed in 47 milliseconds