Home
last modified time | relevance | path

Searched refs:mat3 (Results 1 – 13 of 13) sorted by relevance

/frameworks/native/libs/ui/tests/
Dcolorspace_test.cpp33 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/libs/ui/include_vndk/ui/
DColorSpace.h59 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/ui/include/ui/
DColorSpace.h59 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/
Dmat_test.cpp175 mat3 m0; in TEST_F()
180 mat3 m0; in TEST_F()
181 mat3 m1(2); in TEST_F()
190 mat3 m0; in TEST_F()
201 mat3 m1(2); in TEST_F()
202 mat3 m2(vec3(2)); in TEST_F()
203 mat3 m3(m2); in TEST_F()
211 mat3 m0; in TEST_F()
212 mat3 m1(2); in TEST_F()
213 mat3 m2(vec3(2)); in TEST_F()
[all …]
/frameworks/native/libs/ui/
DColorSpace.cpp85 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()
381 static const mat3 BRADFORD = mat3{
387 static mat3 adaptation(const mat3& matrix, const float3& srcWhitePoint, const float3& dstWhitePoint… in adaptation()
390 return inverse(matrix) * mat3{dstLMS / srcLMS} * matrix; in adaptation()
402 mat3 rgbToXYZ(src.getRGBtoXYZ()); in ColorSpaceConnector()
[all …]
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
Dnumeric.h152 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()
Dtypes.h38 using mat3 = mat3f; variable
/frameworks/base/libs/hwui/utils/
DColor.cpp124 static const mat3 BRADFORD = mat3{
130 static mat3 adaptation(const mat3& matrix, const float3& srcWhitePoint, const float3& dstWhitePoint… in adaptation()
133 return inverse(matrix) * mat3{dstLMS / srcLMS} * matrix; in adaptation()
/frameworks/native/libs/math/include/math/
Dmat3.h433 typedef details::TMat33<float> mat3; typedef
/frameworks/native/libs/gui/include/gui/
DSurfaceComposerClient.h445 Transaction& setColorTransform(const sp<SurfaceControl>& sc, const mat3& matrix,
/frameworks/native/services/surfaceflinger/tests/
DTransaction_test.cpp3028 static void applyMatrix(half3& color, const mat3& mat) { in applyMatrix()
3056 mat3 matrix; in TEST_P()
3109 mat3 matrix; in TEST_P()
3164 mat3 matrixChild; in TEST_P()
3168 mat3 matrixParent; in TEST_P()
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp1139 const sp<SurfaceControl>& sc, const mat3& matrix, const vec3& translation) { in setColorTransform()
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp514 mat3 matrix(static_cast<float const*>(floatMatrix)); in nativeSetColorTransform()