Home
last modified time | relevance | path

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

/third_party/mesa3d/src/util/
Dformat_srgb.py98 inv_det = 1.0 / (sum_aa * sum_bb - sum_ab * sum_ab)
113 solved_a = inv_det * (sum_bb*sum_a - sum_ab*sum_b)
114 solved_b = inv_det * (sum_aa*sum_b - sum_ab*sum_a)
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtx/
Dintersect.inl85 float inv_det = typename genType::value_type(1) / det; local
89 position.y = dot(tvec, pvec) * inv_det;
95 position.z = dot(dir, qvec) * inv_det;
99 position.x = dot(edge2, qvec) * inv_det;
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_offset.c70 float inv_det = 1.0f / header->det; in do_offset_tri() local
90 float dzdx = fabsf(a * inv_det); in do_offset_tri()
91 float dzdy = fabsf(b * inv_det); in do_offset_tri()
/third_party/mesa3d/src/intel/compiler/
Dbrw_compile_sf.c52 struct brw_reg inv_det; member
312 c->inv_det = brw_vec1_grf(reg, 0); reg++; in alloc_regs()
349 c->inv_det, in invert_det()
494 brw_MUL(p, c->m1Cx, c->tmp, c->inv_det); in brw_emit_tri_setup()
500 brw_MUL(p, c->m2Cy, c->tmp, c->inv_det); in brw_emit_tri_setup()
571 brw_MUL(p, c->m1Cx, c->tmp, c->inv_det); in brw_emit_line_setup()
574 brw_MUL(p, c->m2Cy, c->tmp, c->inv_det); in brw_emit_line_setup()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/lite_cv/
Dimage_process.cc1768 float inv_det = M[0][0] * M[1][1] - M[1][0] * M[0][1]; in InvAffine2x3() local
1769 if (inv_det == 0.0) { in InvAffine2x3()
1772 invM[1][1] = M[0][0] / inv_det; in InvAffine2x3()
1773 invM[0][1] = -M[0][1] / inv_det; in InvAffine2x3()
1774 invM[1][0] = -M[1][0] / inv_det; in InvAffine2x3()
1775 invM[0][0] = M[1][1] / inv_det; in InvAffine2x3()
1776 invM[0][2] = (M[0][1] * M[1][2] - M[1][1] * M[0][2]) / inv_det; in InvAffine2x3()
1777 invM[1][2] = -(M[0][0] * M[1][2] - M[1][0] * M[0][2]) / inv_det; in InvAffine2x3()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_setup.c208 LLVMValueRef inv_det, in lp_do_offset_tri() argument
252 dzdxdzdy = LLVMBuildFMul(b, res12, inv_det, "dzdxdzdy"); in lp_do_offset_tri()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cGPUShaderFP64Tests.cpp12426 const glw::GLdouble inv_det = 1.0 / det; in inverse() local
12428 tcu::Matrix<glw::GLdouble, Size, Size> result = adjugate * inv_det; in inverse()