Searched defs:ratio (Results 1 - 25 of 86) sorted by relevance

1234

/external/eigen/bench/btl/data/
H A Dgnuplot_common_settings.hh44 set size ratio 0 1,1 variable
/external/aac/libSBRenc/src/
H A Dresampler.h124 int ratio; /*! downsampling ration */ member in struct:__anon438
135 INT ratio); /*!< downsampler ratio */
139 * downsampler ratio.
H A Dresampler.cpp307 int ratio) /*!< downsampler ratio (only 2 supported at the momment) */
313 FDK_ASSERT(ratio == 2);
338 DownSampler->ratio = ratio;
339 DownSampler->pending = ratio-1;
498 for(i=0; i<numInSamples; i+=DownSampler->ratio)
500 *outSamples = AdvanceFilter(&(DownSampler->downFilter), &inSamples[i*inStride], DownSampler->ratio, inStride);
503 *numOutSamples = numInSamples/DownSampler->ratio;
305 FDKaacEnc_InitDownsampler(DOWNSAMPLER *DownSampler, int Wc, int ratio) argument
/external/autotest/frontend/client/src/autotest/common/
H A DAbstractStatusSummary.java30 public boolean matches(double ratio) { argument
31 return ratio * 100 >= minPercent;
47 double ratio = (double) getPassed() / getComplete();
49 if (mapping.matches(ratio))
52 throw new RuntimeException("No color map match for ratio " + ratio);
/external/eigen/unsupported/Eigen/src/LevenbergMarquardt/
H A DLMonestep.h26 RealScalar ratio; local
122 /* compute the ratio of the actual to the predicted */
124 ratio = 0.;
126 ratio = actred / prered;
129 if (ratio <= Scalar(.25)) {
139 } else if (!(m_par != 0. && ratio < RealScalar(.75))) {
145 if (ratio >= RealScalar(1e-4)) {
156 if (abs(actred) <= m_ftol && prered <= m_ftol && Scalar(.5) * ratio <= 1. && m_delta <= m_xtol * xnorm)
161 if (abs(actred) <= m_ftol && prered <= m_ftol && Scalar(.5) * ratio <= 1.)
178 if (abs(actred) <= NumTraits<Scalar>::epsilon() && prered <= NumTraits<Scalar>::epsilon() && Scalar(.5) * ratio <
[all...]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/
H A D2-1.c88 float ratio; local
181 ratio = (float)count / (float)child_count;
183 if (child_count == 0 || ratio >= ACCEPTABLE_RATIO) {
186 } else if (ratio <= (1 / ACCEPTABLE_RATIO)) {
H A D2-2.c89 float ratio; local
185 ratio = (float)count / (float)child_count;
187 if (child_count == 0 || ratio >= ACCEPTABLE_RATIO) {
190 } else if (ratio <= (1 / ACCEPTABLE_RATIO)) {
/external/skia/debugger/QT/
H A DSkDrawCommandGeometryWidget.cpp52 float ratio = this->width() / pixmap.width(); local
53 resultRect = QRectF(0, 0, this->width(), ratio * pixmap.height());
55 float ratio = this->height() / pixmap.height(); local
56 resultRect = QRectF(0, 0, ratio * pixmap.width(), this->height());
/external/pdfium/xfa/fxbarcode/
H A Dcbc_codabar.cpp49 bool CBC_Codabar::SetWideNarrowRatio(int32_t ratio) { argument
52 ->SetWideNarrowRatio(ratio);
H A Dcbc_code39.cpp95 bool CBC_Code39::SetWideNarrowRatio(int32_t ratio) { argument
98 ->SetWideNarrowRatio(ratio);
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/extensions/compactnotation/
H A DRow.java21 private double ratio; field in class:Row
39 return ratio;
42 public void setRatio(double ratio) { argument
43 this.ratio = ratio;
/external/webrtc/webrtc/modules/audio_coding/neteq/
H A Dnormal.cc103 int32_t ratio = WebRtcSpl_DivW32W16(bgn_energy, energy_scaled); local
104 mute_factor = WebRtcSpl_SqrtFloor(ratio << 14);
/external/libopus/celt/tests/
H A Dtest_unit_mathops.c114 double ratio; local
117 ratio = val/sqrt(i);
118 if (fabs(ratio - 1) > .0005 && fabs(val-sqrt(i)) > 2)
120 fprintf (stderr, "sqrt failed: sqrt(%d)="WORD" (ratio = %f)\n", i, val, ratio);
/external/ltp/testcases/kernel/fs/mongo/
H A Dmongo_compare.c51 float n1, n2, ratio; local
184 ratio = n1 / n2;
186 name_str1, n1, n2, ratio);
190 name_str1, n1, n2, ratio);
/external/skia/tests/
H A DPointTest.cpp153 SkScalar ratio = slow.length() / fast.length(); local
154 REPORTER_ASSERT(reporter, ratio > 0.999f);
155 REPORTER_ASSERT(reporter, ratio < 1.001f);
/external/webp/src/utils/
H A Drescaler_utils.c54 const uint64_t ratio = local
56 if (ratio != (uint32_t)ratio) {
57 // When ratio == WEBP_RESCALER_ONE, we can't represent the ratio with the
63 wrk->fxy_scale = (uint32_t)ratio;
86 // if width is unspecified, scale original proportionally to height ratio.
90 // if height is unspecified, scale original proportionally to width ratio.
/external/webrtc/talk/app/webrtc/test/
H A Dfakeconstraints.h77 void SetMandatoryMinAspectRatio(double ratio) { argument
78 SetMandatory(MediaConstraintsInterface::kMinAspectRatio, ratio);
/external/deqp/modules/glshared/
H A DglsShaderPerformanceCase.cpp77 float ratio = (float)numFrag / (float)numVert; local
79 if (de::abs(ratio - fragmentsPerVertices) < eps)
81 else if (ratio < fragmentsPerVertices)
110 m_testCtx.getLog() << TestLog::Message << "Requested fragment/vertex-ratio: " << de::floatToString(fragmentsPerVertices, 2) << "\n"
111 << "Computed fragment/vertex-ratio: " << de::floatToString(finalRatio, 2)
/external/ltp/testcases/kernel/syscalls/perf_event_open/
H A Dperf_event_open02.c33 computes the ratio of that total to the overall execution time from
36 That ratio should be equal to the number of actual hardware counters
38 don't stop when their group gets taken off the PMU, the ratio will
40 if the ratio is greater than N (actually, N + 0.0001 to allow for FP
288 double ratio; local
330 ratio = (double)vtsum / vt0;
331 tst_resm(TINFO, "ratio: %.2f", ratio);
332 if (ratio > nhw + 0.0001) {
333 tst_resm(TFAIL, "test failed (ratio wa
[all...]
/external/pdfium/xfa/fwl/
H A Dcfwl_barcode.cpp134 void CFWL_Barcode::SetWideNarrowRatio(int32_t ratio) { argument
136 m_nWideNarrowRatio = ratio;
H A Dcfx_barcode.cpp222 bool CFX_Barcode::SetWideNarrowRatio(int32_t ratio) { argument
235 return m_pBCEngine && memptr ? (m_pBCEngine.get()->*memptr)(ratio) : false;
/external/pdfium/xfa/fxbarcode/oned/
H A DBC_OnedCodaBarWriter.cpp80 bool CBC_OnedCodaBarWriter::SetWideNarrowRatio(int32_t ratio) { argument
81 if (ratio < 2 || ratio > 3) {
84 m_iWideNarrRatio = ratio;
H A DBC_OnedCode39Writer.cpp120 bool CBC_OnedCode39Writer::SetWideNarrowRatio(int32_t ratio) { argument
121 if (ratio < 2 || ratio > 3) {
124 m_iWideNarrRatio = ratio;
/external/pdfium/xfa/fxbarcode/pdf417/
H A DBC_PDF417.cpp543 FX_FLOAT ratio = 0.0f; local
557 fabsf(newRatio - PREFERRED_RATIO) > fabsf(ratio - PREFERRED_RATIO)) {
560 ratio = newRatio;
/external/valgrind/drd/tests/
H A Domp_matinv.c295 double ratio; local
331 ratio = error / (eps * matrix_size);
335 error, eps, ratio);
337 if (isfinite(ratio) && ratio < 100)

Completed in 543 milliseconds

1234