Home
last modified time | relevance | path

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

/external/speex/libspeex/
Dvq_arm4.h42 spx_word32_t dist1, dist2, dist3, dist4; in vq_nbest() local
65 : "=r" (dist1), "=r" (dist2), "=r" (dist3), "=r" (dist4), in vq_nbest()
71 dist1=dist2=dist3=dist4=0; in vq_nbest()
79 dist1 = MAC16_16(dist1,in[j],*code); in vq_nbest()
89 dist1=SUB32(SHR(*E++,1),dist1); in vq_nbest()
90 if (dist1<*best_dist || i==0) in vq_nbest()
92 *best_dist=dist1; in vq_nbest()
/external/quake/quake/src/QW/client/
Dmathlib.c189 float dist1, dist2; in BoxOnPlaneSide() local
209 dist1 = p->normal[0]*emaxs[0] + p->normal[1]*emaxs[1] + p->normal[2]*emaxs[2]; in BoxOnPlaneSide()
213 dist1 = p->normal[0]*emins[0] + p->normal[1]*emaxs[1] + p->normal[2]*emaxs[2]; in BoxOnPlaneSide()
217 dist1 = p->normal[0]*emaxs[0] + p->normal[1]*emins[1] + p->normal[2]*emaxs[2]; in BoxOnPlaneSide()
221 dist1 = p->normal[0]*emins[0] + p->normal[1]*emins[1] + p->normal[2]*emaxs[2]; in BoxOnPlaneSide()
225 dist1 = p->normal[0]*emaxs[0] + p->normal[1]*emaxs[1] + p->normal[2]*emins[2]; in BoxOnPlaneSide()
229 dist1 = p->normal[0]*emins[0] + p->normal[1]*emaxs[1] + p->normal[2]*emins[2]; in BoxOnPlaneSide()
233 dist1 = p->normal[0]*emaxs[0] + p->normal[1]*emins[1] + p->normal[2]*emins[2]; in BoxOnPlaneSide()
237 dist1 = p->normal[0]*emins[0] + p->normal[1]*emins[1] + p->normal[2]*emins[2]; in BoxOnPlaneSide()
241 dist1 = dist2 = 0; // shut up compiler in BoxOnPlaneSide()
[all …]
/external/quake/quake/src/WinQuake/
Dmathlib.cpp191 float dist1, dist2; in BoxOnPlaneSide() local
211 dist1 = p->normal[0]*emaxs[0] + p->normal[1]*emaxs[1] + p->normal[2]*emaxs[2]; in BoxOnPlaneSide()
215 dist1 = p->normal[0]*emins[0] + p->normal[1]*emaxs[1] + p->normal[2]*emaxs[2]; in BoxOnPlaneSide()
219 dist1 = p->normal[0]*emaxs[0] + p->normal[1]*emins[1] + p->normal[2]*emaxs[2]; in BoxOnPlaneSide()
223 dist1 = p->normal[0]*emins[0] + p->normal[1]*emins[1] + p->normal[2]*emaxs[2]; in BoxOnPlaneSide()
227 dist1 = p->normal[0]*emaxs[0] + p->normal[1]*emaxs[1] + p->normal[2]*emins[2]; in BoxOnPlaneSide()
231 dist1 = p->normal[0]*emins[0] + p->normal[1]*emaxs[1] + p->normal[2]*emins[2]; in BoxOnPlaneSide()
235 dist1 = p->normal[0]*emaxs[0] + p->normal[1]*emins[1] + p->normal[2]*emins[2]; in BoxOnPlaneSide()
239 dist1 = p->normal[0]*emins[0] + p->normal[1]*emins[1] + p->normal[2]*emins[2]; in BoxOnPlaneSide()
243 dist1 = dist2 = 0; // shut up compiler in BoxOnPlaneSide()
[all …]
/external/opencv/cvaux/src/
Dcvlee.cpp2650 float radius1,radius2,dist1,dist2; in _cvJoinChains() local
2690 dist1=dist2=-1; in _cvJoinChains()
2703 dist1 = _cvCalcEdgeIntersection(pEdge1, pEdge_left, &Point1,radius1); in _cvJoinChains()
2705 dist1 = _cvCalcEdgeIntersection(pEdge2, pEdge_left, &Point1,radius1); in _cvJoinChains()
2707 if(dist1>=0) in _cvJoinChains()
2733 if(dist1<0&&dist2<0) in _cvJoinChains()
2772 if(fabs(dist1 - dist2)<dist_eps) in _cvJoinChains()
2832 if((dist1<dist2&&dist1>=0)||(dist1>=0&&dist2<0)) in _cvJoinChains()
2881 if((dist1>dist2&&dist2>=0)||(dist1<0&&dist2>=0)) in _cvJoinChains()
3085 float radius1, radius2,dist1, dist2; in _cvFindOppositSiteCW() local
[all …]
Dcvhmm.cpp232 double dist1 = 0; in icvSquareDistance() local
239 dist1 += t1*t1; in icvSquareDistance()
244 dist1 += t1*t1; in icvSquareDistance()
253 return (float)(dist0 + dist1); in icvSquareDistance()
Dcvepilines.cpp2006 double dist1; in icvGetMiddleAnglePoint() local
2008 icvGetPieceLength(basePoint,point1,&dist1); in icvGetMiddleAnglePoint()
2012 double alpha = dist2/dist1; in icvGetMiddleAnglePoint()
/external/qemu/distrib/jpeg-6b/
Djquant2.c322 INT32 dist0,dist1,dist2; in update_box() local
405 dist1 = ((c1max - c1min) << C1_SHIFT) * C1_SCALE; in update_box()
407 boxp->volume = dist0*dist0 + dist1*dist1 + dist2*dist2; in update_box()
788 INT32 dist0, dist1; /* initial distance values */ in find_best_colors() local
829 dist1 = dist0; in find_best_colors()
832 dist2 = dist1; in find_best_colors()
844 dist1 += xx1; in find_best_colors()
/external/jpeg/
Djquant2.c322 INT32 dist0,dist1,dist2; in update_box() local
405 dist1 = ((c1max - c1min) << C1_SHIFT) * C1_SCALE; in update_box()
407 boxp->volume = dist0*dist0 + dist1*dist1 + dist2*dist2; in update_box()
788 INT32 dist0, dist1; /* initial distance values */ in find_best_colors() local
829 dist1 = dist0; in find_best_colors()
832 dist2 = dist1; in find_best_colors()
844 dist1 += xx1; in find_best_colors()
/external/skia/src/views/
DSkTouchGesture.cpp303 double dist1 = sqrt(dx*dx + dy*dy); in computePinch() local
305 double scale = dist1 / dist0; in computePinch()
/external/freetype/src/autofit/
Daflatin.c2087 FT_Pos dist1, dist2, span, delta; in af_latin_hint_edges() local
2103 dist1 = edge2->opos - edge1->opos; in af_latin_hint_edges()
2106 span = dist1 - dist2; in af_latin_hint_edges()
Dafcjk.c1905 FT_Pos dist1, dist2, span; in af_cjk_hint_edges() local
1921 dist1 = edge2->opos - edge1->opos; in af_cjk_hint_edges()
1924 span = dist1 - dist2; in af_cjk_hint_edges()
Daflatin2.c2135 FT_Pos dist1, dist2, span, delta; in af_latin2_hint_edges()
2151 dist1 = edge2->opos - edge1->opos; in af_latin2_hint_edges()
2154 span = dist1 - dist2; in af_latin2_hint_edges()