/external/speex/libspeex/ |
D | vq_bfin.h | 37 …ok, int len, int entries, spx_word32_t *E, int N, int *nbest, spx_word32_t *best_dist, char *stack) in vq_nbest() argument 41 best_dist[0] = 2147483647; in vq_nbest() 67 : "=&D" (dist), "=&a" (codebook), "=&d" (best_dist[0]), "=&d" (nbest[0]), "=&a" (E) in vq_nbest() 68 …n), "a" (2), "d" (entries), "d" (len<<1), "1" (codebook), "4" (E), "2" (best_dist[0]), "3" (nbest[… in vq_nbest() 94 if (i<N || dist<best_dist[N-1]) in vq_nbest() 96 for (k=N-1; (k >= 1) && (k > used || dist < best_dist[k-1]); k--) in vq_nbest() 98 best_dist[k]=best_dist[k-1]; in vq_nbest() 101 best_dist[k]=dist; in vq_nbest()
|
D | vq.c | 76 …ok, int len, int entries, spx_word32_t *E, int N, int *nbest, spx_word32_t *best_dist, char *stack) in vq_nbest() argument 90 if (i<N || dist<best_dist[N-1]) in vq_nbest() 92 for (k=N-1; (k >= 1) && (k > used || dist < best_dist[k-1]); k--) in vq_nbest() 94 best_dist[k]=best_dist[k-1]; in vq_nbest() 97 best_dist[k]=dist; in vq_nbest() 110 …ok, int len, int entries, spx_word32_t *E, int N, int *nbest, spx_word32_t *best_dist, char *stack) in vq_nbest_sign() argument 132 if (i<N || dist<best_dist[N-1]) in vq_nbest_sign() 134 for (k=N-1; (k >= 1) && (k > used || dist < best_dist[k-1]); k--) in vq_nbest_sign() 136 best_dist[k]=best_dist[k-1]; in vq_nbest_sign() 139 best_dist[k]=dist; in vq_nbest_sign()
|
D | vq_sse.h | 36 …codebook, int len, int entries, __m128 *E, int N, int *nbest, spx_word32_t *best_dist, char *stack) in vq_nbest() argument 57 if (i<N || dist[i]<best_dist[N-1]) in vq_nbest() 59 for (k=N-1; (k >= 1) && (k > used || dist[i] < best_dist[k-1]); k--) in vq_nbest() 61 best_dist[k]=best_dist[k-1]; in vq_nbest() 64 best_dist[k]=dist[i]; in vq_nbest() 75 …codebook, int len, int entries, __m128 *E, int N, int *nbest, spx_word32_t *best_dist, char *stack) in vq_nbest_sign() argument 106 if (i<N || dist[i]<best_dist[N-1]) in vq_nbest_sign() 108 for (k=N-1; (k >= 1) && (k > used || dist[i] < best_dist[k-1]); k--) in vq_nbest_sign() 110 best_dist[k]=best_dist[k-1]; in vq_nbest_sign() 113 best_dist[k]=dist[i]; in vq_nbest_sign()
|
D | vq_arm4.h | 36 …ok, int len, int entries, spx_word32_t *E, int N, int *nbest, spx_word32_t *best_dist, char *stack) in vq_nbest() argument 90 if (dist1<*best_dist || i==0) in vq_nbest() 92 *best_dist=dist1; in vq_nbest() 96 if (dist2<*best_dist) in vq_nbest() 98 *best_dist=dist2; in vq_nbest() 102 if (dist3<*best_dist) in vq_nbest() 104 *best_dist=dist3; in vq_nbest() 108 if (dist4<*best_dist) in vq_nbest() 110 *best_dist=dist4; in vq_nbest()
|
D | vq.h | 45 …odebook, int len, int entries, __m128 *E, int N, int *nbest, spx_word32_t *best_dist, char *stack); 47 …odebook, int len, int entries, __m128 *E, int N, int *nbest, spx_word32_t *best_dist, char *stack); 49 …k, int len, int entries, spx_word32_t *E, int N, int *nbest, spx_word32_t *best_dist, char *stack); 51 …k, int len, int entries, spx_word32_t *E, int N, int *nbest, spx_word32_t *best_dist, char *stack);
|
D | quant_lsp_bfin.h | 53 spx_word32_t best_dist=1<<30; in lsp_quant() local 85 : "=&d" (best_dist), "=&d" (best_id) in lsp_quant() 115 spx_word32_t best_dist=1<<30; in lsp_weight_quant() local 154 : "=&d" (best_dist), "=&d" (best_id) in lsp_weight_quant()
|
D | quant_lsp.c | 103 spx_word32_t best_dist=VERY_LARGE32; in lsp_quant() local 114 if (dist<best_dist) in lsp_quant() 116 best_dist=dist; in lsp_quant() 135 spx_word32_t best_dist=VERY_LARGE32; in lsp_weight_quant() local 146 if (dist<best_dist) in lsp_weight_quant() 148 best_dist=dist; in lsp_weight_quant()
|
D | cb_search.c | 130 spx_word32_t best_dist; in split_cb_search_shape_sign_N1() local 160 vq_nbest_sign(x, resp2, subvect_size, shape_cb_size, E, 1, &best_index, &best_dist, stack); in split_cb_search_shape_sign_N1() 162 vq_nbest(x, resp2, subvect_size, shape_cb_size, E, 1, &best_index, &best_dist, stack); in split_cb_search_shape_sign_N1() 284 VARDECL(spx_word32_t *best_dist); in split_cb_search_shape_sign() 332 ALLOC(best_dist, N, spx_word32_t); in split_cb_search_shape_sign() 381 … vq_nbest_sign(x, resp2, subvect_size, shape_cb_size, E, N, best_index, best_dist, stack); in split_cb_search_shape_sign() 383 vq_nbest(x, resp2, subvect_size, shape_cb_size, E, N, best_index, best_dist, stack); in split_cb_search_shape_sign() 389 spx_word32_t err = ADD32(ADD32(odist[j],best_dist[k]),tener); in split_cb_search_shape_sign()
|
/external/chromium_org/third_party/speex/libspeex/ |
D | vq.c | 76 …ok, int len, int entries, spx_word32_t *E, int N, int *nbest, spx_word32_t *best_dist, char *stack) in vq_nbest() argument 90 if (i<N || dist<best_dist[N-1]) in vq_nbest() 92 for (k=N-1; (k >= 1) && (k > used || dist < best_dist[k-1]); k--) in vq_nbest() 94 best_dist[k]=best_dist[k-1]; in vq_nbest() 97 best_dist[k]=dist; in vq_nbest() 110 …ok, int len, int entries, spx_word32_t *E, int N, int *nbest, spx_word32_t *best_dist, char *stack) in vq_nbest_sign() argument 132 if (i<N || dist<best_dist[N-1]) in vq_nbest_sign() 134 for (k=N-1; (k >= 1) && (k > used || dist < best_dist[k-1]); k--) in vq_nbest_sign() 136 best_dist[k]=best_dist[k-1]; in vq_nbest_sign() 139 best_dist[k]=dist; in vq_nbest_sign()
|
D | vq.h | 45 …odebook, int len, int entries, __m128 *E, int N, int *nbest, spx_word32_t *best_dist, char *stack); 47 …odebook, int len, int entries, __m128 *E, int N, int *nbest, spx_word32_t *best_dist, char *stack); 49 …k, int len, int entries, spx_word32_t *E, int N, int *nbest, spx_word32_t *best_dist, char *stack); 51 …k, int len, int entries, spx_word32_t *E, int N, int *nbest, spx_word32_t *best_dist, char *stack);
|
D | quant_lsp.c | 103 spx_word32_t best_dist=VERY_LARGE32; in lsp_quant() local 114 if (dist<best_dist) in lsp_quant() 116 best_dist=dist; in lsp_quant() 135 spx_word32_t best_dist=VERY_LARGE32; in lsp_weight_quant() local 146 if (dist<best_dist) in lsp_weight_quant() 148 best_dist=dist; in lsp_weight_quant()
|
D | cb_search.c | 130 spx_word32_t best_dist; in split_cb_search_shape_sign_N1() local 160 vq_nbest_sign(x, resp2, subvect_size, shape_cb_size, E, 1, &best_index, &best_dist, stack); in split_cb_search_shape_sign_N1() 162 vq_nbest(x, resp2, subvect_size, shape_cb_size, E, 1, &best_index, &best_dist, stack); in split_cb_search_shape_sign_N1() 284 VARDECL(spx_word32_t *best_dist); in split_cb_search_shape_sign() 332 ALLOC(best_dist, N, spx_word32_t); in split_cb_search_shape_sign() 381 … vq_nbest_sign(x, resp2, subvect_size, shape_cb_size, E, N, best_index, best_dist, stack); in split_cb_search_shape_sign() 383 vq_nbest(x, resp2, subvect_size, shape_cb_size, E, N, best_index, best_dist, stack); in split_cb_search_shape_sign() 389 spx_word32_t err = ADD32(ADD32(odist[j],best_dist[k]),tener); in split_cb_search_shape_sign()
|
/external/chromium_org/third_party/brotli/src/brotli/enc/ |
D | backward_references.cc | 64 size_t best_dist = 0; in CreateBackwardReferences() local 72 &best_len, &best_len_code, &best_dist, &best_score, in CreateBackwardReferences() 85 best_dist = best_dist_M1; in CreateBackwardReferences() 137 best_dist = best_dist_2; in CreateBackwardReferences() 152 cmd.copy_distance_ = best_dist; in CreateBackwardReferences() 156 if (best_dist <= std::min(i + i_diff, max_backward_limit)) { in CreateBackwardReferences() 157 hasher->set_last_distance(best_dist); in CreateBackwardReferences()
|
/external/qemu/android/skin/ |
D | trackball.c | 497 Fix16 best_dist = FIX16_ONE; in trackball_refresh() local 517 if (dist < best_dist) in trackball_refresh() 518 best_dist = dist; in trackball_refresh() 520 if (best_dist < DOT_THRESHOLD) { in trackball_refresh() 521 int a = 256*(DOT_THRESHOLD - best_dist) / DOT_THRESHOLD; in trackball_refresh()
|
/external/fio/ |
D | parse.c | 1070 unsigned int best_dist = -1U; in show_cmd_help() local 1078 best_dist = -1; in show_cmd_help() 1097 if (dist < best_dist) { in show_cmd_help() 1098 best_dist = dist; in show_cmd_help() 1130 if (closest && best_dist < 3) { in show_cmd_help()
|
/external/chromium_org/third_party/freetype/src/autofit/ |
D | aflatin.c | 1439 FT_Pos best_dist; /* initial threshold */ in af_latin_hints_compute_blue_edges() local 1444 best_dist = FT_MulFix( metrics->units_per_em / 40, scale ); in af_latin_hints_compute_blue_edges() 1447 if ( best_dist > 64 / 2 ) in af_latin_hints_compute_blue_edges() 1448 best_dist = 64 / 2; in af_latin_hints_compute_blue_edges() 1481 if ( dist < best_dist ) in af_latin_hints_compute_blue_edges() 1483 best_dist = dist; in af_latin_hints_compute_blue_edges() 1503 if ( dist < best_dist ) in af_latin_hints_compute_blue_edges() 1505 best_dist = dist; in af_latin_hints_compute_blue_edges()
|
D | aflatin2.c | 1414 FT_Pos best_dist = best_dist0; in af_latin2_hints_compute_blue_edges() local 1454 if ( dist < best_dist ) in af_latin2_hints_compute_blue_edges() 1456 best_dist = dist; in af_latin2_hints_compute_blue_edges() 1477 if ( dist < best_dist ) in af_latin2_hints_compute_blue_edges() 1479 best_dist = dist; in af_latin2_hints_compute_blue_edges()
|
D | afcjk.c | 1204 FT_Pos best_dist = best_dist0; in af_cjk_hints_compute_blue_edges() local 1247 if ( dist < best_dist ) in af_cjk_hints_compute_blue_edges() 1249 best_dist = dist; in af_cjk_hints_compute_blue_edges()
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/ |
D | vp9_encodeframe.c | 2040 int64_t this_dist, sum_dist = 0, best_dist = INT64_MAX; in rd_pick_partition() local 2174 best_dist = this_dist; in rd_pick_partition() 2189 (ctx->skippable && best_dist < dist_breakout_thr && in rd_pick_partition() 2299 best_dist = sum_dist; in rd_pick_partition() 2354 best_dist = sum_dist; in rd_pick_partition() 2402 best_dist = sum_dist; in rd_pick_partition() 2416 *dist = best_dist; in rd_pick_partition() 2418 if (best_rate < INT_MAX && best_dist < INT64_MAX && pc_tree->index != 3) { in rd_pick_partition() 2429 best_rate, best_dist); in rd_pick_partition() 2437 assert(best_dist < INT64_MAX); in rd_pick_partition() [all …]
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_encodeframe.c | 2178 int64_t this_dist, sum_dist = 0, best_dist = INT64_MAX; in rd_pick_partition() local 2262 best_dist = this_dist; in rd_pick_partition() 2328 best_dist = sum_dist; in rd_pick_partition() 2385 best_dist = sum_dist; in rd_pick_partition() 2435 best_dist = sum_dist; in rd_pick_partition() 2449 *dist = best_dist; in rd_pick_partition() 2451 if (best_rate < INT_MAX && best_dist < INT64_MAX && do_recon) { in rd_pick_partition() 2464 best_rate, best_dist); in rd_pick_partition() 2471 assert(best_dist < INT64_MAX); in rd_pick_partition() 2812 int64_t this_dist, sum_dist = 0, best_dist = INT64_MAX; in nonrd_pick_partition() local [all …]
|
/external/freetype/src/autofit/ |
D | aflatin.c | 1851 FT_Pos best_dist; /* initial threshold */ in af_latin_hints_compute_blue_edges() local 1856 best_dist = FT_MulFix( metrics->units_per_em / 40, scale ); in af_latin_hints_compute_blue_edges() 1859 if ( best_dist > 64 / 2 ) in af_latin_hints_compute_blue_edges() 1860 best_dist = 64 / 2; in af_latin_hints_compute_blue_edges() 1895 if ( dist < best_dist ) in af_latin_hints_compute_blue_edges() 1897 best_dist = dist; in af_latin_hints_compute_blue_edges() 1921 if ( dist < best_dist ) in af_latin_hints_compute_blue_edges() 1923 best_dist = dist; in af_latin_hints_compute_blue_edges()
|
D | aflatin2.c | 1415 FT_Pos best_dist = best_dist0; in af_latin2_hints_compute_blue_edges() local 1455 if ( dist < best_dist ) in af_latin2_hints_compute_blue_edges() 1457 best_dist = dist; in af_latin2_hints_compute_blue_edges() 1478 if ( dist < best_dist ) in af_latin2_hints_compute_blue_edges() 1480 best_dist = dist; in af_latin2_hints_compute_blue_edges()
|
D | afcjk.c | 1226 FT_Pos best_dist = best_dist0; in af_cjk_hints_compute_blue_edges() local 1269 if ( dist < best_dist ) in af_cjk_hints_compute_blue_edges() 1271 best_dist = dist; in af_cjk_hints_compute_blue_edges()
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/ |
D | pickinter.c | 184 int *best_dist in pick_intra4x4mby_modes() argument 224 if (distortion > *best_dist) in pick_intra4x4mby_modes() 232 *best_dist = distortion; in pick_intra4x4mby_modes() 237 *best_dist = INT_MAX; in pick_intra4x4mby_modes()
|
/external/libvpx/libvpx/vp8/encoder/ |
D | pickinter.c | 184 int *best_dist in pick_intra4x4mby_modes() argument 224 if (distortion > *best_dist) in pick_intra4x4mby_modes() 232 *best_dist = distortion; in pick_intra4x4mby_modes() 237 *best_dist = INT_MAX; in pick_intra4x4mby_modes()
|