Home
last modified time | relevance | path

Searched refs:inv_tab (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/mesa/math/
Dm_eval.c44 static GLfloat inv_tab[MAX_EVAL_ORDER]; variable
90 bincoeff *= inv_tab[i]; in _math_horner_bezier_curve()
144 bincoeff *= inv_tab[i]; in _math_horner_bezier_surf()
460 inv_tab[i] = 1.0F / i; in _math_init_eval()
/external/opencv/cv/src/
Dcvdistransform.cpp524 float* inv_tab = buffer->data.fl; in icvTrueDistTrans() local
525 float* sqr_tab = inv_tab + n; in icvTrueDistTrans()
527 inv_tab[0] = sqr_tab[0] = 0.f; in icvTrueDistTrans()
530 inv_tab[i] = (float)(0.5/i); in icvTrueDistTrans()
558 float s = (fq + sqr_tab[q] - d[p] - sqr_tab[p])*inv_tab[q - p]; in icvTrueDistTrans()