Home
last modified time | relevance | path

Searched refs:dist0 (Results 1 – 10 of 10) sorted by relevance

/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
Djquant2.c301 JLONG dist0, dist1, dist2; in update_box() local
383 dist0 = ((c0max - c0min) << C0_SHIFT) * C0_SCALE; in update_box()
386 boxp->volume = dist0 * dist0 + dist1 * dist1 + dist2 * dist2; in update_box()
767 JLONG dist0, dist1; /* initial distance values */ in find_best_colors() local
794 dist0 = inc0 * inc0; in find_best_colors()
796 dist0 += inc1 * inc1; in find_best_colors()
798 dist0 += inc2 * inc2; in find_best_colors()
808 dist1 = dist0; in find_best_colors()
826 dist0 += xx0; in find_best_colors()
/third_party/libjpeg-turbo/
Djquant2.c301 JLONG dist0, dist1, dist2; in update_box() local
383 dist0 = ((c0max - c0min) << C0_SHIFT) * C0_SCALE; in update_box()
386 boxp->volume = dist0 * dist0 + dist1 * dist1 + dist2 * dist2; in update_box()
767 JLONG dist0, dist1; /* initial distance values */ in find_best_colors() local
794 dist0 = inc0 * inc0; in find_best_colors()
796 dist0 += inc1 * inc1; in find_best_colors()
798 dist0 += inc2 * inc2; in find_best_colors()
808 dist1 = dist0; in find_best_colors()
826 dist0 += xx0; in find_best_colors()
/third_party/skia/third_party/externals/libjpeg-turbo/
Djquant2.c301 JLONG dist0, dist1, dist2; in update_box() local
383 dist0 = ((c0max - c0min) << C0_SHIFT) * C0_SCALE; in update_box()
386 boxp->volume = dist0 * dist0 + dist1 * dist1 + dist2 * dist2; in update_box()
767 JLONG dist0, dist1; /* initial distance values */ in find_best_colors() local
794 dist0 = inc0 * inc0; in find_best_colors()
796 dist0 += inc1 * inc1; in find_best_colors()
798 dist0 += inc2 * inc2; in find_best_colors()
808 dist1 = dist0; in find_best_colors()
826 dist0 += xx0; in find_best_colors()
/third_party/flutter/skia/tools/viewer/
DTouchGesture.cpp317 double dist0 = sqrt(dx*dx + dy*dy); in computePinch() local
323 double scale = dist1 / dist0; in computePinch()
/third_party/skia/tools/viewer/
DTouchGesture.cpp314 double dist0 = sqrt(dx*dx + dy*dy); in computePinch() local
320 double scale = dist1 / dist0; in computePinch()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup_tri.c400 float dist0 = v0[0][0] * v0[0][0] + v0[0][1] * v0[0][1]; in do_triangle_ccw() local
403 if (dist0 > dist1 && dist1 < dist2) { in do_triangle_ccw()
424 else if (dist0 > dist2) { in do_triangle_ccw()
/third_party/skia/src/utils/
DSkPolyUtils.cpp1357 SkScalar dist0 = currEdge->computeCrossingDistance(prevPrevEdge); in SkOffsetSimplePolygon() local
1360 if (dist0 < 0 && dist1 < 0) { in SkOffsetSimplePolygon()
1384 if (dist0 < dist1) { in SkOffsetSimplePolygon()
/third_party/flutter/skia/src/utils/
DSkPolyUtils.cpp1341 SkScalar dist0 = currEdge->computeCrossingDistance(prevPrevEdge); in SkOffsetSimplePolygon() local
1344 if (dist0 < 0 && dist1 < 0) { in SkOffsetSimplePolygon()
1368 if (dist0 < dist1) { in SkOffsetSimplePolygon()
/third_party/ffmpeg/libavcodec/
Drv34.c1723 int dist0 = GET_PTS_DIFF(r->cur_pts, r->last_pts); in ff_rv34_decode_frame() local
1730 if (FFMAX(dist0, dist1) > refdist) in ff_rv34_decode_frame()
1733 r->mv_weight1 = (dist0 << 14) / refdist; in ff_rv34_decode_frame()
/third_party/skia/third_party/externals/brotli/research/
Dbrotlidump.py1053 insertSymbol, copySymbol, dist0 = self.splitSymbol(index)