Home
last modified time | relevance | path

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

/external/eigen/test/
Deigensolver_complex.cpp29 Index best_index(0); in find_pivot() local
30 if(diffs.col(col).segment(col,n-i).minCoeff(&best_index) > tol) in find_pivot()
33 best_index += col; in find_pivot()
35 diffs.row(col).swap(diffs.row(best_index)); in find_pivot()
37 diffs.row(col).swap(diffs.row(best_index)); in find_pivot()
40 diffs.row(n-(i-col)-1).swap(diffs.row(best_index)); in find_pivot()
41 transpositions.push_back(std::pair<Index,Index>(n-(i-col)-1,best_index)); in find_pivot()
/external/speex/libspeex/
Dcb_search.c129 int best_index; 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()
164 speex_bits_pack(bits,best_index,params->shape_bits+have_sign); in split_cb_search_shape_sign_N1()
170 rind = best_index; in split_cb_search_shape_sign_N1()
205 rind = best_index; in split_cb_search_shape_sign_N1()
283 VARDECL(int *best_index); in split_cb_search_shape_sign()
331 ALLOC(best_index, N, int); 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()
[all …]
/external/webrtc/talk/media/base/
Dvideocommon.cc88 int best_index = kNumScaleFactors - 1; // Default to max scale. in FindLowerScale() local
95 best_index = i; in FindLowerScale()
101 return kScaleFactors[best_index]; in FindLowerScale()
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dexpand.cc420 size_t best_index = std::numeric_limits<size_t>::max(); in AnalyzeSignal() local
431 best_index = i; in AnalyzeSignal()
436 size_t distortion_lag = best_distortion_index[best_index]; in AnalyzeSignal()
437 size_t correlation_lag = best_correlation_index[best_index]; in AnalyzeSignal()
470 best_index = WebRtcSpl_MaxIndexW32(correlation_vector2, correlation_lags); in AnalyzeSignal()
471 int32_t max_correlation = correlation_vector2[best_index]; in AnalyzeSignal()
473 best_index = best_index + start_index; in AnalyzeSignal()
481 &(audio_history[signal_length - correlation_length - best_index]), in AnalyzeSignal()
482 &(audio_history[signal_length - correlation_length - best_index]), in AnalyzeSignal()
Ddsp_helper.cc241 size_t best_index = 0; in MinDistortion() local
253 best_index = i; in MinDistortion()
257 return best_index; in MinDistortion()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_packet_history.cc284 int best_index = -1; // Returned unchanged if we don't find anything. in FindBestFittingPacket() local
293 best_index = static_cast<int>(i); in FindBestFittingPacket()
296 return best_index; in FindBestFittingPacket()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encodemb.c59 uint8_t best_index; member
189 tokens[i][0].best_index = best; in vp9_optimize_b()
272 tokens[i][1].best_index = best; in vp9_optimize_b()
291 tokens[i][0].best_index = tokens[i][1].best_index = 0; in vp9_optimize_b()
322 best = tokens[i][best].best_index; in vp9_optimize_b()
Dvp9_rd.c488 int best_index = 0; in vp9_mv_pred() local
527 best_index = i; in vp9_mv_pred()
532 x->mv_best_ref_index[ref_frame] = best_index; in vp9_mv_pred()
/external/autotest/client/common_lib/
Dpexpect.py1668 best_index, best_match = index, s
1674 return best_index
1755 best_index = index
1761 return best_index
/external/flac/libFLAC/
Dlpc.c1336 …unsigned order, indx, best_index; /* 'index' the index into lpc_error; index==order-1 since lpc_er… in FLAC__lpc_compute_best_order() local
1344 best_index = 0; in FLAC__lpc_compute_best_order()
1350 best_index = indx; in FLAC__lpc_compute_best_order()
1355 return best_index+1; /* +1 since indx of lpc_error[] is order-1 */ in FLAC__lpc_compute_best_order()