Home
last modified time | relevance | path

Searched refs:best (Results 1 – 25 of 558) sorted by relevance

12345678910>>...23

/external/webrtc/talk/media/base/
Dvideocapturer_unittest.cc343 cricket::VideoFormat best; in TEST_F() local
344 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best)); in TEST_F()
345 EXPECT_EQ(640, best.width); in TEST_F()
346 EXPECT_EQ(480, best.height); in TEST_F()
347 EXPECT_EQ(cricket::VideoFormat::FpsToInterval(30), best.interval); in TEST_F()
350 EXPECT_FALSE(capturer_.GetBestCaptureFormat(desired, &best)); in TEST_F()
353 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best)); in TEST_F()
360 cricket::VideoFormat best; in TEST_F() local
362 EXPECT_TRUE(capturer_.GetBestCaptureFormat(desired, &best)); in TEST_F()
363 EXPECT_EQ(1280, best.width); in TEST_F()
[all …]
Dvideocapturer.cc273 std::vector<VideoFormat>::const_iterator best = supported_formats->end(); in GetBestCaptureFormat() local
282 best = i; in GetBestCaptureFormat()
285 if (supported_formats->end() == best) { in GetBestCaptureFormat()
291 best_format->width = best->width; in GetBestCaptureFormat()
292 best_format->height = best->height; in GetBestCaptureFormat()
293 best_format->fourcc = best->fourcc; in GetBestCaptureFormat()
294 best_format->interval = best->interval; in GetBestCaptureFormat()
/external/c-ares/
Dinet_ntop.c129 struct { int base, len; } best, cur; in inet_ntop6() local
141 best.base = -1; in inet_ntop6()
142 best.len = 0; in inet_ntop6()
153 if (best.base == -1 || cur.len > best.len) in inet_ntop6()
154 best = cur; in inet_ntop6()
160 if (best.base == -1 || cur.len > best.len) in inet_ntop6()
161 best = cur; in inet_ntop6()
163 if (best.base != -1 && best.len < 2) in inet_ntop6()
164 best.base = -1; in inet_ntop6()
172 if (best.base != -1 && i >= best.base && in inet_ntop6()
[all …]
/external/curl/lib/
Dinet_ntop.c92 } best, cur; in inet_ntop6() local
104 best.base = -1; in inet_ntop6()
106 best.len = 0; in inet_ntop6()
117 if(best.base == -1 || cur.len > best.len) in inet_ntop6()
118 best = cur; in inet_ntop6()
122 if((cur.base != -1) && (best.base == -1 || cur.len > best.len)) in inet_ntop6()
123 best = cur; in inet_ntop6()
124 if(best.base != -1 && best.len < 2) in inet_ntop6()
125 best.base = -1; in inet_ntop6()
130 if(best.base != -1 && i >= best.base && i < (best.base + best.len)) { in inet_ntop6()
[all …]
/external/tcpdump/missing/
Dinet_ntop.c113 } best, cur; in inet_ntop_v6() local
125 best.len = 0; in inet_ntop_v6()
126 best.base = -1; in inet_ntop_v6()
139 if (best.base == -1 || cur.len > best.len) in inet_ntop_v6()
140 best = cur; in inet_ntop_v6()
144 if ((cur.base != -1) && (best.base == -1 || cur.len > best.len)) in inet_ntop_v6()
145 best = cur; in inet_ntop_v6()
146 if (best.base != -1 && best.len < 2) in inet_ntop_v6()
147 best.base = -1; in inet_ntop_v6()
156 if (best.base != -1 && i >= best.base && i < (best.base + best.len)) in inet_ntop_v6()
[all …]
/external/eigen/bench/
Dbench_gemm.cpp202 …std::cout << "blas cpu " << tblas.best(CPU_TIMER)/rep << "s \t" << (double(m)*n*p*rep*2… in main()
203 …std::cout << "blas real " << tblas.best(REAL_TIMER)/rep << "s \t" << (double(m)*n*p*rep*2… in main()
209 …std::cout << "eigen cpu " << tmt.best(CPU_TIMER)/rep << "s \t" << (double(m)*n*p*rep*2/t… in main()
210 …std::cout << "eigen real " << tmt.best(REAL_TIMER)/rep << "s \t" << (double(m)*n*p*rep*2/t… in main()
220 …std::cout << "eigen mono cpu " << tmono.best(CPU_TIMER)/rep << "s \t" << (double(m)*n*p*rep*2… in main()
221 …std::cout << "eigen mono real " << tmono.best(REAL_TIMER)/rep << "s \t" << (double(m)*n*p*rep*2… in main()
222 …t << "mt speed up x" << tmono.best(CPU_TIMER) / tmt.best(REAL_TIMER) << " => " << (100.0*tmono.be… in main()
238 …std::cout << "\"matlab\" cpu " << t.best(CPU_TIMER)/rep << "s \t" << (double(m)*n*p*rep*2/t.b… in main()
239 …std::cout << "\"matlab\" real " << t.best(REAL_TIMER)/rep << "s \t" << (double(m)*n*p*rep*2/t.b… in main()
251 …std::cout << "\"matlab\" cpu " << t.best(CPU_TIMER)/rep << "s \t" << (double(m)*n*p*rep*2/t.b… in main()
[all …]
Dquatmul.cpp33 …std::cout << label << " default " << 1e3*t.best(CPU_TIMER) << "ms \t" << 1e-6*double(rep)/(t.best in bench()
36 …std::cout << label << " novec " << 1e3*t.best(CPU_TIMER) << "ms \t" << 1e-6*double(rep)/(t.best in bench()
Dsparse_dense_product.cpp80 …std::cout << " a * v:\t" << timer.best() << " " << double(REPEAT)/timer.best() << " * / sec " <… in main()
87 std::cout << " a' * v:\t" << timer.best() << endl; in main()
96 …std::cout << " a * v:\t" << timer.best()/REPEAT << " " << double(REPEAT)/timer.best(REAL_TIMER)… in main()
101 std::cout << " a' * v:\t" << timer.best()/REPEAT << endl; in main()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dpitch_estimator.c105 int32_t best[4]= {-100, -100, -100, -100}; in FindFour32() local
109 if (in[k] > best[3]) { in FindFour32()
110 if (in[k] > best[2]) { in FindFour32()
111 if (in[k] > best[1]) { in FindFour32()
112 if (in[k] > best[0]) { // The Best in FindFour32()
113 best[3] = best[2]; in FindFour32()
115 best[2] = best[1]; in FindFour32()
117 best[1] = best[0]; in FindFour32()
119 best[0] = in[k]; in FindFour32()
122 best[3] = best[2]; in FindFour32()
[all …]
/external/webp/src/enc/
Dalpha.c235 FilterTrial best; in ApplyFiltersAndEncode() local
238 InitFilterTrial(&best); in ApplyFiltersAndEncode()
250 if (ok && trial.score < best.score) { in ApplyFiltersAndEncode()
251 VP8BitWriterWipeOut(&best.bw); in ApplyFiltersAndEncode()
252 best = trial; in ApplyFiltersAndEncode()
261 reduce_levels, effort_level, NULL, &best); in ApplyFiltersAndEncode()
265 stats->lossless_features = best.stats.lossless_features; in ApplyFiltersAndEncode()
266 stats->histogram_bits = best.stats.histogram_bits; in ApplyFiltersAndEncode()
267 stats->transform_bits = best.stats.transform_bits; in ApplyFiltersAndEncode()
268 stats->cache_bits = best.stats.cache_bits; in ApplyFiltersAndEncode()
[all …]
/external/skia/tests/
DStrokerTest.cpp134 int best = 0; in DEF_TEST() local
145 if (best < gMaxRecursion[2]) { in DEF_TEST()
153 best = gMaxRecursion[2]; in DEF_TEST()
162 SkDebugf("\n%s max quad=%d\n", __FUNCTION__, best); in DEF_TEST()
213 int best = 0; in DEF_TEST() local
237 if (best < gMaxRecursion[2]) { in DEF_TEST()
245 best = gMaxRecursion[2]; in DEF_TEST()
254 SkDebugf("\n%s max quad=%d\n", __FUNCTION__, best); in DEF_TEST()
323 int best = 0; in DEF_TEST() local
341 if (best < gMaxRecursion[2]) { in DEF_TEST()
[all …]
/external/ppp/pppd/plugins/pppoatm/
Dmisc.c24 int i,best; in __atmlib_fetch() local
30 best = -1; in __atmlib_fetch()
35 best = i; in __atmlib_fetch()
40 if (best > -1) (*pos) += best_len; in __atmlib_fetch()
41 return best; in __atmlib_fetch()
/external/clang/utils/
DFindSpecRefs604 best = None
625 if best is None or dist < best[0]:
626 best = (dist, (section, name, page))
627 return best[1]
637 best = None
641 if best is None or dist < best[0]:
642 best = (dist,'l'+m.group(1))
644 if best is not None:
645 return best[1]
DCmpDriver53 best = None
57 if best is None or candidate < best[0]:
58 best = (candidate, a_0, j)
59 a = best[1]
/external/libvpx/libvpx/vp8/encoder/
Dencodemb.c204 int best; in optimize_b() local
271 best = rd_cost1 < rd_cost0; in optimize_b()
275 tokens[i][0].rate = base_bits + (best ? rate1 : rate0); in optimize_b()
276 tokens[i][0].error = d2 + (best ? error1 : error0); in optimize_b()
280 best_mask[0] |= best << i; in optimize_b()
337 best = rd_cost1 < rd_cost0; in optimize_b()
345 tokens[i][1].rate = base_bits + (best ? rate1 : rate0); in optimize_b()
346 tokens[i][1].error = d2 + (best ? error1 : error0); in optimize_b()
348 tokens[i][1].token =best?t1:t0; in optimize_b()
350 best_mask[1] |= best << i; in optimize_b()
[all …]
/external/zopfli/src/zopfli/
Dblocksplitter.c46 double best = ZOPFLI_LARGE_FLOAT; in FindMinimum() local
51 if (v < best) { in FindMinimum()
52 best = v; in FindMinimum()
64 double best; in FindMinimum() local
76 best = vp[0]; in FindMinimum()
78 if (vp[i] < best) { in FindMinimum()
79 best = vp[i]; in FindMinimum()
83 if (best > lastbest) break; in FindMinimum()
89 lastbest = best; in FindMinimum()
/external/opencv3/modules/calib3d/src/
Drho.cpp291 } best; member
605 best.inl = NULL; in initialize()
606 best.numInl = 0; in initialize()
774 return isBestModelGoodEnough() ? best.numInl : 0; in rhoHest()
825 best.H = (float*) (ptr + best_H_of); in allocatePerObj()
862 best.inl = (char*)(ptr + best_inl_of); in allocatePerRun()
874 best.inl = NULL; in deallocatePerRun()
891 best.H = NULL; in deallocatePerObj()
970 memset(best.inl, 0, arg.N); in initRun()
995 memset(best.H, 0, HSIZE); in initRun()
[all …]
/external/jdiff/src/jdiff/
DDiffMyers.java207 int best = 0; in diag() local
215 if (fd[fdiagoff + d] * 2 - dd > best in diag()
230 best = fd[fdiagoff + d] * 2 - dd; in diag()
236 if (best > 0) in diag()
242 best = 0; in diag()
248 if ((xlim - bd[bdiagoff + d]) * 2 + dd > best in diag()
262 best = (xlim - bd[bdiagoff + d]) * 2 + dd; in diag()
268 if (best > 0) in diag()
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/direct/
DMultiDirectional.java71 final RealPointValuePair best = original[0]; in iterateSimplex() local
75 if (comparator.compare(reflected, best) < 0) { in iterateSimplex()
91 if (comparator.compare(contracted, best) < 0) { in iterateSimplex()
DNelderMead.java83 final RealPointValuePair best = simplex[0]; in iterateSimplex() local
109 if ((comparator.compare(best, reflected) <= 0) && in iterateSimplex()
115 } else if (comparator.compare(reflected, best) < 0) { in iterateSimplex()
/external/libvpx/libvpx/build/make/
Drtcd.pl88 my $best = eval "\$${fn}_default";
89 if ($best) {
90 my $best_ofn = eval "\$${best}";
92 eval "\$${best}_link = 'false'";
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/
DBenchmark.java110 double best = 0.0; in run() local
122 best = Math.max(best, requestsPerSecond); in run()
138 return best; in run()
/external/webrtc/webrtc/modules/video_capture/mac/qtkit/
Dvideo_capture_qtkit_info.mm67 // "analog". QTKit will do it's best to convert frames to what ever format
81 // "analog". QTKit will do it's best to convert frames to what ever format
94 // "analog". QTKit will do it's best to convert frames to what ever format
118 // "analog". QTKit will do it's best to convert frames to what ever format
/external/eigen/bench/btl/data/
Dmean.cxx121 Lib_Mean best(*is); in main() local
129 cout << " <TD> " << 100*(is->_mean_in_cache/best._mean_in_cache) << " </TD>" << endl ; in main()
131 … cout << " <TD> " << 100*(is->_mean_out_of_cache/best._mean_out_of_cache) << " </TD>" << endl ; in main()
/external/opencv3/doc/py_tutorials/py_core/py_optimization/
Dpy_optimization.markdown68 10 loops, best of 3: 34.9 ms per loop
77 10 loops, best of 3: 64.1 ms per loop
97 10000000 loops, best of 3: 73 ns per loop
100 10000000 loops, best of 3: 58.3 ns per loop
105 1000000 loops, best of 3: 1.25 us per loop
108 1000000 loops, best of 3: 1.16 us per loop
123 100000 loops, best of 3: 15.8 us per loop
126 1000 loops, best of 3: 370 us per loop

12345678910>>...23