Searched refs:mat3 (Results 1 – 8 of 8) sorted by relevance
/frameworks/native/libs/ui/tests/ |
D | colorspace_test.cpp | 33 mat3 sRGBToXYZ(transpose(mat3{ in TEST_F() 39 mat3 XYZtoSRGB(inverse(sRGBToXYZ)); in TEST_F() 48 mat3 sRGBToXYZ(transpose(mat3{ in TEST_F() 67 mat3 sRGBToXYZ(transpose(mat3{ in TEST_F() 80 mat3 sRGBToXYZ(transpose(mat3{ in TEST_F()
|
/frameworks/native/include/ui/ |
D | ColorSpace.h | 59 const mat3& rgbToXYZ, 76 const mat3& rgbToXYZ, 91 const mat3& rgbToXYZ, 187 constexpr const mat3& getRGBtoXYZ() const noexcept { in getRGBtoXYZ() 191 constexpr const mat3& getXYZtoRGB() const noexcept { in getXYZtoRGB() 257 static constexpr mat3 computeXYZMatrix( 266 mat3 mRGBtoXYZ; 267 mat3 mXYZtoRGB; 285 constexpr const mat3& getTransform() const noexcept { return mTransform; } in getTransform() 300 mat3 mTransform;
|
/frameworks/native/libs/math/tests/ |
D | mat_test.cpp | 174 mat3 m0; in TEST_F() 175 EXPECT_EQ(sizeof(mat3), sizeof(float)*9); in TEST_F() 179 mat3 m0; in TEST_F() 180 mat3 m1(2); in TEST_F() 189 mat3 m0; in TEST_F() 200 mat3 m1(2); in TEST_F() 201 mat3 m2(vec3(2)); in TEST_F() 202 mat3 m3(m2); in TEST_F() 210 mat3 m0; in TEST_F() 211 mat3 m1(2); in TEST_F() [all …]
|
/frameworks/native/libs/ui/ |
D | ColorSpace.cpp | 85 static constexpr std::array<float2, 3> computePrimaries(const mat3& rgbToXYZ) { in computePrimaries() 95 static constexpr float2 computeWhitePoint(const mat3& rgbToXYZ) { in computeWhitePoint() 102 const mat3& rgbToXYZ, in ColorSpace() 118 const mat3& rgbToXYZ, in ColorSpace() 134 const mat3& rgbToXYZ, in ColorSpace() 199 constexpr mat3 ColorSpace::computeXYZMatrix( in computeXYZMatrix() 378 static const mat3 BRADFORD = mat3{ 384 static mat3 adaptation(const mat3& matrix, const float3& srcWhitePoint, const float3& dstWhitePoint… in adaptation() 387 return inverse(matrix) * mat3{dstLMS / srcLMS} * matrix; in adaptation() 399 mat3 rgbToXYZ(src.getRGBtoXYZ()); in ColorSpaceConnector() [all …]
|
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/ |
D | numeric.h | 152 inline mat3 ScaleMatrix(const vec2& scale_xy) { in ScaleMatrix() 153 return mat3(Eigen::Scaling(scale_xy[0], scale_xy[1], 1.0f)); in ScaleMatrix() 156 inline mat3 TranslationMatrix(const vec2& translation) { in TranslationMatrix() 157 return mat3(Eigen::Translation2f(translation)); in TranslationMatrix() 164 inline vec2 TransformPoint(const mat3& m, const vec2& p) { in TransformPoint() 168 inline vec2 TransformVector(const mat3& m, const vec2& p) { in TransformVector()
|
D | types.h | 38 using mat3 = mat3f; variable
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
D | GLES20RenderEngine.cpp | 146 mat3 srgbToP3 = ColorSpace::DisplayP3().getXYZtoRGB() * ColorSpace::sRGB().getRGBtoXYZ(); in GLES20RenderEngine()
|
/frameworks/native/libs/math/include/math/ |
D | mat3.h | 433 typedef details::TMat33<float> mat3; typedef
|