Searched refs:dist0 (Results 1 – 8 of 8) sorted by relevance
/external/libjpeg-turbo/ |
D | jquant2.c | 301 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()
|
/external/libaom/libaom/av1/encoder/ |
D | encodetxb.c | 49 int64_t dist0; member 403 stats->dist0 = get_coeff_dist(tqc, dqc0, txb_info->shift); 404 stats->dist = dqc_dist - stats->dist0; 421 stats->dist_low = low_dqc_dist - stats->dist0; 1404 const int64_t dist0 = get_coeff_dist(tqc, 0, shift); local 1416 dist_low = dist0; 1433 *accu_dist += dist_low - dist0; 1436 *accu_dist += dist - dist0; 1542 const int64_t dist0 = get_coeff_dist(tqc, 0, shift); local 1543 int64_t dist = get_coeff_dist(tqc, dqc, shift) - dist0; [all …]
|
/external/skqp/tools/viewer/ |
D | TouchGesture.cpp | 317 double dist0 = sqrt(dx*dx + dy*dy); in computePinch() local 323 double scale = dist1 / dist0; in computePinch()
|
/external/skia/tools/viewer/ |
D | TouchGesture.cpp | 317 double dist0 = sqrt(dx*dx + dy*dy); in computePinch() local 323 double scale = dist1 / dist0; in computePinch()
|
/external/skqp/src/utils/ |
D | SkPolyUtils.cpp | 1309 SkScalar dist0 = currEdge->computeCrossingDistance(prevPrevEdge); in SkOffsetSimplePolygon() local 1312 if (dist0 < 0 && dist1 < 0) { in SkOffsetSimplePolygon() 1336 if (dist0 < dist1) { in SkOffsetSimplePolygon()
|
/external/skia/src/utils/ |
D | SkPolyUtils.cpp | 1331 SkScalar dist0 = currEdge->computeCrossingDistance(prevPrevEdge); in SkOffsetSimplePolygon() local 1334 if (dist0 < 0 && dist1 < 0) { in SkOffsetSimplePolygon() 1358 if (dist0 < dist1) { in SkOffsetSimplePolygon()
|
/external/libopus/celt/ |
D | bands.c | 1586 opus_val32 dist0, dist1; in quant_all_bands() local 1604 …dist0 = MULT16_32_Q15(w[0], celt_inner_prod(X_save, X, N, arch)) + MULT16_32_Q15(w[1], celt_inner_… in quant_all_bands() 1635 if (dist0 >= dist1) { in quant_all_bands()
|
/external/brotli/research/ |
D | brotlidump.py | 1053 insertSymbol, copySymbol, dist0 = self.splitSymbol(index)
|