Home
last modified time | relevance | path

Searched refs:invdet (Results 1 – 6 of 6) sorted by relevance

/third_party/skia/src/core/
DSkMatrixInvert.cpp21 double invdet = sk_ieee_double_divide(1.0, determinant); in SkInvert2x2Matrix() local
22 outMatrix[0] = a11 * invdet; in SkInvert2x2Matrix()
23 outMatrix[1] = -a01 * invdet; in SkInvert2x2Matrix()
24 outMatrix[2] = -a10 * invdet; in SkInvert2x2Matrix()
25 outMatrix[3] = a00 * invdet; in SkInvert2x2Matrix()
53 double invdet = sk_ieee_double_divide(1.0, determinant); in SkInvert3x3Matrix() local
54 outMatrix[0] = b01 * invdet; in SkInvert3x3Matrix()
55 outMatrix[1] = (-a22 * a01 + a02 * a21) * invdet; in SkInvert3x3Matrix()
56 outMatrix[2] = ( a12 * a01 - a02 * a11) * invdet; in SkInvert3x3Matrix()
57 outMatrix[3] = b11 * invdet; in SkInvert3x3Matrix()
[all …]
/third_party/skia/modules/canvaskit/
Dmatrix.js353 var invdet = 1.0 / det;
356 if (det === 0 || invdet === Infinity) {
361 b00 *= invdet;
362 b01 *= invdet;
363 b02 *= invdet;
364 b03 *= invdet;
365 b04 *= invdet;
366 b05 *= invdet;
367 b06 *= invdet;
368 b07 *= invdet;
[all …]
/third_party/flutter/skia/src/core/
DSkMatrix44.cpp604 double invdet = sk_ieee_double_divide(1.0, det); in invert() local
608 if (!sk_float_isfinite(sk_double_to_float(invdet))) { in invert()
612 b00 *= invdet; in invert()
613 b01 *= invdet; in invert()
614 b03 *= invdet; in invert()
615 b06 *= invdet; in invert()
616 b07 *= invdet; in invert()
617 b08 *= invdet; in invert()
618 b09 *= invdet; in invert()
619 b10 *= invdet; in invert()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/androidmedia/
Dgstamcvideodec.c970 float det, invdet; in affine_inverse() local
989 invdet = 1.0 / det; in affine_inverse()
992 (in[I (1, 1)] * c5 - in[I (1, 2)] * c4 + in[I (1, 3)] * c3) * invdet; in affine_inverse()
994 (-in[I (0, 1)] * c5 + in[I (0, 2)] * c4 - in[I (0, 3)] * c3) * invdet; in affine_inverse()
996 (in[I (3, 1)] * s5 - in[I (3, 2)] * s4 + in[I (3, 3)] * s3) * invdet; in affine_inverse()
998 (-in[I (2, 1)] * s5 + in[I (2, 2)] * s4 - in[I (2, 3)] * s3) * invdet; in affine_inverse()
1001 (-in[I (1, 0)] * c5 + in[I (1, 2)] * c2 - in[I (1, 3)] * c1) * invdet; in affine_inverse()
1003 (in[I (0, 0)] * c5 - in[I (0, 2)] * c2 + in[I (0, 3)] * c1) * invdet; in affine_inverse()
1005 (-in[I (3, 0)] * s5 + in[I (3, 2)] * s2 - in[I (3, 3)] * s1) * invdet; in affine_inverse()
1007 (in[I (2, 0)] * s5 - in[I (2, 2)] * s2 + in[I (2, 3)] * s1) * invdet; in affine_inverse()
[all …]
/third_party/flutter/skia/third_party/skcms/
Dskcms.cc1325 double invdet = 1.0 / determinant; in skcms_Matrix3x3_invert() local
1326 if (invdet > +FLT_MAX || invdet < -FLT_MAX || !isfinitef_((float)invdet)) { in skcms_Matrix3x3_invert()
1330 b0 *= invdet; in skcms_Matrix3x3_invert()
1331 b1 *= invdet; in skcms_Matrix3x3_invert()
1332 b2 *= invdet; in skcms_Matrix3x3_invert()
1333 b3 *= invdet; in skcms_Matrix3x3_invert()
1334 b4 *= invdet; in skcms_Matrix3x3_invert()
1335 b5 *= invdet; in skcms_Matrix3x3_invert()
/third_party/skia/third_party/skcms/
Dskcms.cc1764 double invdet = 1.0 / determinant; in skcms_Matrix3x3_invert() local
1765 if (invdet > +FLT_MAX || invdet < -FLT_MAX || !isfinitef_((float)invdet)) { in skcms_Matrix3x3_invert()
1769 b0 *= invdet; in skcms_Matrix3x3_invert()
1770 b1 *= invdet; in skcms_Matrix3x3_invert()
1771 b2 *= invdet; in skcms_Matrix3x3_invert()
1772 b3 *= invdet; in skcms_Matrix3x3_invert()
1773 b4 *= invdet; in skcms_Matrix3x3_invert()
1774 b5 *= invdet; in skcms_Matrix3x3_invert()