Home
last modified time | relevance | path

Searched refs:inv_det (Results 1 – 12 of 12) sorted by relevance

/external/libgdx/gdx/jni/
Dcom.badlogic.gdx.math.Matrix4.cpp96 float inv_det = 1.0f / l_det; in matrix4_inv() local
97 val[M00] = tmp[M00] * inv_det; in matrix4_inv()
98 val[M01] = tmp[M01] * inv_det; in matrix4_inv()
99 val[M02] = tmp[M02] * inv_det; in matrix4_inv()
100 val[M03] = tmp[M03] * inv_det; in matrix4_inv()
101 val[M10] = tmp[M10] * inv_det; in matrix4_inv()
102 val[M11] = tmp[M11] * inv_det; in matrix4_inv()
103 val[M12] = tmp[M12] * inv_det; in matrix4_inv()
104 val[M13] = tmp[M13] * inv_det; in matrix4_inv()
105 val[M20] = tmp[M20] * inv_det; in matrix4_inv()
[all …]
/external/opencv/cv/src/
Dcvposit.cpp297 float inv_det; in icvPseudoInverse3D() local
310 inv_det = 1 / det; in icvPseudoInverse3D()
319 b[k] = (p00 * a0 + p01 * a1 + p02 * a2) * inv_det; in icvPseudoInverse3D()
320 b[n + k] = (p01 * a0 + p11 * a1 + p12 * a2) * inv_det; in icvPseudoInverse3D()
321 b[2 * n + k] = (p02 * a0 + p12 * a1 + p22 * a2) * inv_det; in icvPseudoInverse3D()
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/math/
DMatrix4.java476 float inv_det = 1.0f / l_det; in inv() local
509 val[M00] = tmp[M00] * inv_det; in inv()
510 val[M01] = tmp[M01] * inv_det; in inv()
511 val[M02] = tmp[M02] * inv_det; in inv()
512 val[M03] = tmp[M03] * inv_det; in inv()
513 val[M10] = tmp[M10] * inv_det; in inv()
514 val[M11] = tmp[M11] * inv_det; in inv()
515 val[M12] = tmp[M12] * inv_det; in inv()
516 val[M13] = tmp[M13] * inv_det; in inv()
517 val[M20] = tmp[M20] * inv_det; in inv()
[all …]
/external/libgdx/gdx/src/com/badlogic/gdx/math/
DMatrix3.java292 float inv_det = 1.0f / det; in inv() local
305 val[M00] = inv_det * tmp[M00]; in inv()
306 val[M10] = inv_det * tmp[M10]; in inv()
307 val[M20] = inv_det * tmp[M20]; in inv()
308 val[M01] = inv_det * tmp[M01]; in inv()
309 val[M11] = inv_det * tmp[M11]; in inv()
310 val[M21] = inv_det * tmp[M21]; in inv()
311 val[M02] = inv_det * tmp[M02]; in inv()
312 val[M12] = inv_det * tmp[M12]; in inv()
313 val[M22] = inv_det * tmp[M22]; in inv()
DMatrix4.java398 float inv_det = 1.0f / l_det; in inv() local
431 val[M00] = tmp[M00] * inv_det; in inv()
432 val[M01] = tmp[M01] * inv_det; in inv()
433 val[M02] = tmp[M02] * inv_det; in inv()
434 val[M03] = tmp[M03] * inv_det; in inv()
435 val[M10] = tmp[M10] * inv_det; in inv()
436 val[M11] = tmp[M11] * inv_det; in inv()
437 val[M12] = tmp[M12] * inv_det; in inv()
438 val[M13] = tmp[M13] * inv_det; in inv()
439 val[M20] = tmp[M20] * inv_det; in inv()
[all …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_offset.c69 float inv_det = 1.0f / header->det; in do_offset_tri() local
89 float dzdx = fabsf(a * inv_det); in do_offset_tri()
90 float dzdy = fabsf(b * inv_det); in do_offset_tri()
/external/opencv3/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/
DPnPProblem.cpp267 double det, inv_det, u, v; in intersect_MollerTrumbore() local
289 inv_det = 1.f / det; in intersect_MollerTrumbore()
295 u = DOT(T, P) * inv_det; in intersect_MollerTrumbore()
304 v = DOT(D, Q) * inv_det; in intersect_MollerTrumbore()
309 t = DOT(e2, Q) * inv_det; in intersect_MollerTrumbore()
/external/opencv3/modules/calib3d/src/
Dposit.cpp311 const float inv_det = 1 / det; in icvPseudoInverse3D() local
320 b[k] = (p00 * a0 + p01 * a1 + p02 * a2) * inv_det; in icvPseudoInverse3D()
321 b[n + k] = (p01 * a0 + p11 * a1 + p12 * a2) * inv_det; in icvPseudoInverse3D()
322 b[2 * n + k] = (p02 * a0 + p12 * a1 + p22 * a2) * inv_det; in icvPseudoInverse3D()
/external/vulkan-validation-layers/libs/glm/gtx/
Dintersect.inl132 float inv_det = typename genType::value_type(1) / det; local
136 position.y = dot(tvec, pvec) * inv_det;
142 position.z = dot(dir, qvec) * inv_det;
146 position.x = dot(edge2, qvec) * inv_det;
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_sf_emit.c274 c->inv_det = brw_vec1_grf(reg, 0); reg++; in alloc_regs()
315 c->inv_det, in invert_det()
457 brw_MUL(p, c->m1Cx, c->tmp, c->inv_det); in brw_emit_tri_setup()
463 brw_MUL(p, c->m2Cy, c->tmp, c->inv_det); in brw_emit_tri_setup()
534 brw_MUL(p, c->m1Cx, c->tmp, c->inv_det); in brw_emit_line_setup()
537 brw_MUL(p, c->m2Cy, c->tmp, c->inv_det); in brw_emit_line_setup()
Dbrw_sf.h83 struct brw_reg inv_det; member
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_setup.c240 LLVMValueRef inv_det, in lp_do_offset_tri() argument
285 dzdxdzdy = LLVMBuildFMul(b, res12, inv_det, "dzdxdzdy"); in lp_do_offset_tri()