/external/speex/libspeex/ |
vq_bfin.h | 37 void vq_nbest(spx_word16_t *in, const spx_word16_t *codebook, int len, int entries, spx_word32_t *E, int N, int *nbest, spx_word32_t *best_dist, char *stack) 41 best_dist[0] = 2147483647; 67 : "=&D" (dist), "=&a" (codebook), "=&d" (best_dist[0]), "=&d" (nbest[0]), "=&a" (E) 68 : "a" (len-1), "a" (in), "a" (2), "d" (entries), "d" (len<<1), "1" (codebook), "4" (E), "2" (best_dist[0]), "3" (nbest[0]) 94 if (i<N || dist<best_dist[N-1]) 96 for (k=N-1; (k >= 1) && (k > used || dist < best_dist[k-1]); k--) 98 best_dist[k]=best_dist[k-1]; 101 best_dist[k]=dist;
|
vq_arm4.h | 36 void vq_nbest(spx_word16_t *in, const spx_word16_t *codebook, int len, int entries, spx_word32_t *E, int N, int *nbest, spx_word32_t *best_dist, char *stack) 90 if (dist1<*best_dist || i==0) 92 *best_dist=dist1; 96 if (dist2<*best_dist) 98 *best_dist=dist2; 102 if (dist3<*best_dist) 104 *best_dist=dist3; 108 if (dist4<*best_dist) 110 *best_dist=dist4;
|
vq.c | 76 void vq_nbest(spx_word16_t *in, const spx_word16_t *codebook, int len, int entries, spx_word32_t *E, int N, int *nbest, spx_word32_t *best_dist, char *stack) 90 if (i<N || dist<best_dist[N-1]) 92 for (k=N-1; (k >= 1) && (k > used || dist < best_dist[k-1]); k--) 94 best_dist[k]=best_dist[k-1]; 97 best_dist[k]=dist; 110 void vq_nbest_sign(spx_word16_t *in, const spx_word16_t *codebook, int len, int entries, spx_word32_t *E, int N, int *nbest, spx_word32_t *best_dist, char *stack) 132 if (i<N || dist<best_dist[N-1]) 134 for (k=N-1; (k >= 1) && (k > used || dist < best_dist[k-1]); k--) 136 best_dist[k]=best_dist[k-1] [all...] |
quant_lsp_bfin.h | 53 spx_word32_t best_dist=1<<30; local 58 " %0 = 1 (X);\n\t" /* %0: best_dist */ 85 : "=&d" (best_dist), "=&d" (best_id) 115 spx_word32_t best_dist=1<<30; local 120 " %0 = 1 (X);\n\t" /* %0: best_dist */ 154 : "=&d" (best_dist), "=&d" (best_id)
|
vq.h | 45 void vq_nbest(spx_word16_t *in, const __m128 *codebook, int len, int entries, __m128 *E, int N, int *nbest, spx_word32_t *best_dist, char *stack); 47 void vq_nbest_sign(spx_word16_t *in, const __m128 *codebook, int len, int entries, __m128 *E, int N, int *nbest, spx_word32_t *best_dist, char *stack); 49 void vq_nbest(spx_word16_t *in, const spx_word16_t *codebook, int len, int entries, spx_word32_t *E, int N, int *nbest, spx_word32_t *best_dist, char *stack); 51 void vq_nbest_sign(spx_word16_t *in, const spx_word16_t *codebook, int len, int entries, spx_word32_t *E, int N, int *nbest, spx_word32_t *best_dist, char *stack);
|
vq_sse.h | 36 void vq_nbest(spx_word16_t *_in, const __m128 *codebook, int len, int entries, __m128 *E, int N, int *nbest, spx_word32_t *best_dist, char *stack) 57 if (i<N || dist[i]<best_dist[N-1]) 59 for (k=N-1; (k >= 1) && (k > used || dist[i] < best_dist[k-1]); k--) 61 best_dist[k]=best_dist[k-1]; 64 best_dist[k]=dist[i]; 75 void vq_nbest_sign(spx_word16_t *_in, const __m128 *codebook, int len, int entries, __m128 *E, int N, int *nbest, spx_word32_t *best_dist, char *stack) 106 if (i<N || dist[i]<best_dist[N-1]) 108 for (k=N-1; (k >= 1) && (k > used || dist[i] < best_dist[k-1]); k--) 110 best_dist[k]=best_dist[k-1] [all...] |
quant_lsp.c | 103 spx_word32_t best_dist=VERY_LARGE32; local 114 if (dist<best_dist) 116 best_dist=dist; 135 spx_word32_t best_dist=VERY_LARGE32; local 146 if (dist<best_dist) 148 best_dist=dist;
|
cb_search.c | 130 spx_word32_t best_dist; local 160 vq_nbest_sign(x, resp2, subvect_size, shape_cb_size, E, 1, &best_index, &best_dist, stack); 162 vq_nbest(x, resp2, subvect_size, shape_cb_size, E, 1, &best_index, &best_dist, stack); 284 VARDECL(spx_word32_t *best_dist); 332 ALLOC(best_dist, N, spx_word32_t); 381 vq_nbest_sign(x, resp2, subvect_size, shape_cb_size, E, N, best_index, best_dist, stack); 383 vq_nbest(x, resp2, subvect_size, shape_cb_size, E, N, best_index, best_dist, stack); 389 spx_word32_t err = ADD32(ADD32(odist[j],best_dist[k]),tener);
|
/external/qemu/android/skin/ |
trackball.c | 497 Fix16 best_dist = FIX16_ONE; local 517 if (dist < best_dist) 518 best_dist = dist; 520 if (best_dist < DOT_THRESHOLD) { 521 int a = 256*(DOT_THRESHOLD - best_dist) / DOT_THRESHOLD;
|
/external/chromium_org/third_party/freetype/src/autofit/ |
aflatin.c | 1439 FT_Pos best_dist; \/* initial threshold *\/ local [all...] |
aflatin2.c | 1414 FT_Pos best_dist = best_dist0; local [all...] |
afcjk.c | 1204 FT_Pos best_dist = best_dist0; local [all...] |
/external/freetype/src/autofit/ |
aflatin.c | 1439 FT_Pos best_dist; \/* initial threshold *\/ local [all...] |
aflatin2.c | 1414 FT_Pos best_dist = best_dist0; local [all...] |
afcjk.c | 1204 FT_Pos best_dist = best_dist0; local [all...] |
/external/libvpx/libvpx/vp8/encoder/ |
pickinter.c | 184 int *best_dist 224 if (distortion > *best_dist) 232 *best_dist = distortion; 237 *best_dist = INT_MAX; [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
vp9_encodeframe.c | 1492 int64_t this_dist, sum_dist = 0, best_dist = INT64_MAX; local [all...] |