• Home
  • Raw
  • Download

Lines Matching refs:fMat

25     sk4f a0 = sk4f::Load(fMat +  0);  in operator ==()
26 sk4f a1 = sk4f::Load(fMat + 4); in operator ==()
27 sk4f a2 = sk4f::Load(fMat + 8); in operator ==()
28 sk4f a3 = sk4f::Load(fMat + 12); in operator ==()
30 sk4f b0 = sk4f::Load(other.fMat + 0); in operator ==()
31 sk4f b1 = sk4f::Load(other.fMat + 4); in operator ==()
32 sk4f b2 = sk4f::Load(other.fMat + 8); in operator ==()
33 sk4f b3 = sk4f::Load(other.fMat + 12); in operator ==()
47 transpose_arrays(v, fMat); in getRowMajor()
51 sk4f c0 = sk4f::Load(a.fMat + 0); in setConcat()
52 sk4f c1 = sk4f::Load(a.fMat + 4); in setConcat()
53 sk4f c2 = sk4f::Load(a.fMat + 8); in setConcat()
54 sk4f c3 = sk4f::Load(a.fMat + 12); in setConcat()
60 sk4f m0 = compute(sk4f::Load(b.fMat + 0)); in setConcat()
61 sk4f m1 = compute(sk4f::Load(b.fMat + 4)); in setConcat()
62 sk4f m2 = compute(sk4f::Load(b.fMat + 8)); in setConcat()
63 sk4f m3 = compute(sk4f::Load(b.fMat + 12)); in setConcat()
65 m0.store(fMat + 0); in setConcat()
66 m1.store(fMat + 4); in setConcat()
67 m2.store(fMat + 8); in setConcat()
68 m3.store(fMat + 12); in setConcat()
73 sk4f c0 = sk4f::Load(fMat + 0); in preConcat()
74 sk4f c1 = sk4f::Load(fMat + 4); in preConcat()
75 sk4f c3 = sk4f::Load(fMat + 12); in preConcat()
85 m0.store(fMat + 0); in preConcat()
86 m1.store(fMat + 4); in preConcat()
87 m3.store(fMat + 12); in preConcat()
92 sk4f c0 = sk4f::Load(fMat + 0); in preTranslate()
93 sk4f c1 = sk4f::Load(fMat + 4); in preTranslate()
94 sk4f c2 = sk4f::Load(fMat + 8); in preTranslate()
95 sk4f c3 = sk4f::Load(fMat + 12); in preTranslate()
98 (c0*x + (c1*y + (c2*z + c3))).store(fMat + 12); in preTranslate()
104 (t * fMat[ 3] + sk4f::Load(fMat + 0)).store(fMat + 0); in postTranslate()
105 (t * fMat[ 7] + sk4f::Load(fMat + 4)).store(fMat + 4); in postTranslate()
106 (t * fMat[11] + sk4f::Load(fMat + 8)).store(fMat + 8); in postTranslate()
107 (t * fMat[15] + sk4f::Load(fMat + 12)).store(fMat + 12); in postTranslate()
112 sk4f c0 = sk4f::Load(fMat + 0); in preScale()
113 sk4f c1 = sk4f::Load(fMat + 4); in preScale()
115 (c0 * x).store(fMat + 0); in preScale()
116 (c1 * y).store(fMat + 4); in preScale()
121 sk4f c0 = sk4f::Load(fMat + 0); in preScale()
122 sk4f c1 = sk4f::Load(fMat + 4); in preScale()
123 sk4f c2 = sk4f::Load(fMat + 8); in preScale()
125 (c0 * x).store(fMat + 0); in preScale()
126 (c1 * y).store(fMat + 4); in preScale()
127 (c2 * z).store(fMat + 8); in preScale()
132 sk4f c0 = sk4f::Load(fMat + 0); in map()
133 sk4f c1 = sk4f::Load(fMat + 4); in map()
134 sk4f c2 = sk4f::Load(fMat + 8); in map()
135 sk4f c3 = sk4f::Load(fMat + 12); in map()
220 m.fMat[3] != 0 || m.fMat[7] != 0 || m.fMat[11] != 0 || m.fMat[15] != 1; in MapRect()
222 return map_rect_perspective(src, m.fMat); in MapRect()
224 return map_rect_affine(src, m.fMat); in MapRect()
233 if (fMat[15] != 1 && fMat[15] != 0 && fMat[3] == 0 && fMat[7] == 0 && fMat[11] == 0) { in normalizePerspective()
234 double inv = 1.0 / fMat[15]; in normalizePerspective()
235 (sk4f::Load(fMat + 0) * inv).store(fMat + 0); in normalizePerspective()
236 (sk4f::Load(fMat + 4) * inv).store(fMat + 4); in normalizePerspective()
237 (sk4f::Load(fMat + 8) * inv).store(fMat + 8); in normalizePerspective()
238 (sk4f::Load(fMat + 12) * inv).store(fMat + 12); in normalizePerspective()
239 fMat[15] = 1.0f; in normalizePerspective()
251 if (SkInvert4x4Matrix(fMat, tmp) == 0.0f) { in invert()
254 memcpy(inverse->fMat, tmp, sizeof(tmp)); in invert()
260 transpose_arrays(trans.fMat, fMat); in transpose()
299 fMat[0], fMat[4], fMat[8], fMat[12], in dump()
300 fMat[1], fMat[5], fMat[9], fMat[13], in dump()
301 fMat[2], fMat[6], fMat[10], fMat[14], in dump()
302 fMat[3], fMat[7], fMat[11], fMat[15]); in dump()
311 fMat[0], fMat[4], fMat[8], fMat[12], in dump()
312 fMat[1], fMat[5], fMat[9], fMat[13], in dump()
313 fMat[2], fMat[6], fMat[10], fMat[14], in dump()
314 fMat[3], fMat[7], fMat[11], fMat[15]); in dump()