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

123

/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:__anon264
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/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/skia/debugger/QT/
H A DSkDrawCommandGeometryWidget.cpp52 float ratio = this->width() / info.width(); local
53 resultRect = QRectF(0, 0, this->width(), ratio * info.height());
55 float ratio = this->height() / info.height(); local
56 resultRect = QRectF(0, 0, ratio * info.width(), this->height());
/external/libopus/celt/tests/
H A Dtest_unit_mathops.c85 double ratio; local
88 ratio = val/sqrt(i);
89 if (fabs(ratio - 1) > .0005 && fabs(val-sqrt(i)) > 2)
91 fprintf (stderr, "sqrt failed: sqrt(%d)="WORD" (ratio = %f)\n", i, val, ratio);
/external/skia/tests/
H A DPointTest.cpp154 SkScalar ratio = slow.length() / fast.length(); local
155 REPORTER_ASSERT(reporter, ratio > 0.999f);
156 REPORTER_ASSERT(reporter, ratio < 1.001f);
/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/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)
H A Dmatinv.c319 double ratio; local
351 ratio = error / (eps * matrix_size);
355 error, eps, ratio);
357 if (isfinite(ratio) && ratio < 100)
/external/e2fsprogs/lib/ext2fs/
H A Dgen_bitmap64.c762 int n, ratio; local
780 ratio = 1 << fs->cluster_ratio_bits;
784 i += ratio - n;
789 if (n >= ratio)
/external/eigen/unsupported/Eigen/src/NonLinearOptimization/
H A DHybridNonLinearSolver.h108 Scalar ratio; member in class:Eigen::HybridNonLinearSolver
266 /* compute the ratio of the actual to the predicted reduction. */
267 ratio = 0.;
269 ratio = actred / prered;
272 if (ratio < Scalar(.1)) {
279 if (ratio >= Scalar(.5) || ncsuc > 1)
281 if (abs(ratio - 1.) <= Scalar(.1)) {
287 if (ratio >= Scalar(1e-4)) {
328 if (ratio >= Scalar(1e-4))
509 /* compute the ratio o
[all...]
H A DLevenbergMarquardt.h120 Scalar ratio; member in class:Eigen::LevenbergMarquardt
298 /* compute the ratio of the actual to the predicted */
300 ratio = 0.;
302 ratio = actred / prered;
305 if (ratio <= Scalar(.25)) {
315 } else if (!(par != 0. && ratio < Scalar(.75))) {
321 if (ratio >= Scalar(1e-4)) {
332 if (abs(actred) <= parameters.ftol && prered <= parameters.ftol && Scalar(.5) * ratio <= 1. && delta <= parameters.xtol * xnorm)
334 if (abs(actred) <= parameters.ftol && prered <= parameters.ftol && Scalar(.5) * ratio <= 1.)
342 if (abs(actred) <= NumTraits<Scalar>::epsilon() && prered <= NumTraits<Scalar>::epsilon() && Scalar(.5) * ratio <
[all...]
/external/kernel-headers/original/uapi/linux/
H A Dppp_defs.h124 /* the compression ratio is defined as in_count / bytes_out */
128 double ratio; /* not computed in kernel. */ member in struct:compstat
/external/skia/src/pathops/
H A DSkPathOpsQuad.cpp297 static int valid_unit_divide(double numer, double denom, double* ratio) argument
310 *ratio = r;
/external/speex/libspeex/
H A Dsb_celp.c428 float ratio; local
449 ratio = 2*log((1.f+e_high)/(1.f+e_low));
452 if (ratio<-4)
453 ratio=-4;
454 if (ratio>2)
455 ratio=2;
456 /*if (ratio>-2)*/
461 st->relative_quality+=1.0*(ratio+2);
499 /*fprintf (stderr, "%f %f\n", ratio, low_qual);*/
1007 /* Calculate reponse ratio betwee
[all...]
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
H A Dpitch_estimator.c132 double ratio, log_lag, gain_bias; local
188 ratio = log((double) (k + (PITCH_MIN_LAG/2-2))) - log_lag;
189 bias = 1.0 + gain_bias * exp(-5.0 * ratio * ratio);
221 ratio = ((double) (ind1 + 12)) / ((double) (ind2 + 12));
222 adj = 0.2 * ratio * (2.0 - ratio); /* adjustment factor; inverse parabola as a function of ratio */
242 ratio = ((double) (ind1 + 12)) / ((double) (ind2 + 12));
243 adj = 0.9 * ratio * (2.
[all...]
/external/zlib/src/contrib/minizip/
H A Dminiunz.c250 uLong ratio=0; local
260 ratio = (uLong)((file_info.compressed_size*100)/file_info.uncompressed_size);
291 ratio,
327 uLong ratio=0; local
/external/e2fsprogs/misc/
H A Ddumpe2fs.c82 unsigned long num, unsigned long offset, int ratio)
88 offset /= ratio;
95 print_number((i + offset) * ratio);
100 print_number((j + offset) * ratio);
81 print_free(unsigned long group, char * bitmap, unsigned long num, unsigned long offset, int ratio) argument
/external/fio/t/
H A Ddedupe.c482 double perc, ratio; local
487 ratio = (double) nextents / (double) nchunks;
488 printf("De-dupe ratio: 1:%3.2f\n", ratio - 1.0);
490 printf("De-dupe ratio: 1:infinite\n");
/external/freetype/src/truetype/
H A Dttobjs.h227 /* - When performing a read or write in the CVT, a ratio factor is used */
239 /* We compute the current ratio like: */
242 /* ratio = x_ratio = 1.0 */
245 /* ratio = y_ratio */
248 /* ratio = sqrt( (proj.x * x_ratio) ^ 2 + (proj.y * y_ratio) ^ 2 ) */
251 /* ratio * cvt[index] */
254 /* cvt[index] / ratio */
257 /* ratio * ppem */
273 FT_Long ratio; /* current ratio */ member in struct:TT_Size_Metrics_
[all...]
/external/icu/icu4c/source/tools/makeconv/
H A Dgencnvex.c330 int32_t u16Length, ratio; local
373 ratio=(u16Length+(m->bLen-1))/m->bLen;
374 if(ratio>extData->maxUCharsPerByte) {
375 extData->maxUCharsPerByte=ratio;
636 int32_t u16Length, ratio; local
691 ratio=(m->bLen+(u16Length-1))/u16Length;
692 if(ratio>extData->maxBytesPerUChar) {
693 extData->maxBytesPerUChar=ratio;
/external/lz4/programs/
H A Dbench.c354 double ratio=0.; local
381 ratio = (double)cSize/(double)benchedSize*100.;
383 DISPLAY("%1i-%-14.14s : %9i -> %9i (%5.2f%%),%7.1f MB/s\r", loopNb, inFileName, (int)benchedSize, (int)cSize, ratio, (double)benchedSize / fastestC / 1000.);
401 DISPLAY("%1i-%-14.14s : %9i -> %9i (%5.2f%%),%7.1f MB/s ,%7.1f MB/s\r", loopNb, inFileName, (int)benchedSize, (int)cSize, ratio, (double)benchedSize / fastestC / 1000., (double)benchedSize / fastestD / 1000.);
410 if (ratio<100.)
411 DISPLAY("%-16.16s : %9i -> %9i (%5.2f%%),%7.1f MB/s ,%7.1f MB/s\n", inFileName, (int)benchedSize, (int)cSize, ratio, (double)benchedSize / fastestC / 1000., (double)benchedSize / fastestD / 1000.);
413 DISPLAY("%-16.16s : %9i -> %9i (%5.1f%%),%7.1f MB/s ,%7.1f MB/s \n", inFileName, (int)benchedSize, (int)cSize, ratio, (double)benchedSize / fastestC / 1000., (double)benchedSize / fastestD / 1000.);
/external/pdfium/third_party/freetype/src/truetype/
H A Dttobjs.h227 /* - When performing a read or write in the CVT, a ratio factor is used */
239 /* We compute the current ratio like: */
242 /* ratio = x_ratio = 1.0 */
245 /* ratio = y_ratio */
248 /* ratio = sqrt( (proj.x * x_ratio) ^ 2 + (proj.y * y_ratio) ^ 2 ) */
251 /* ratio * cvt[index] */
254 /* cvt[index] / ratio */
257 /* ratio * ppem */
273 FT_Long ratio; /* current ratio */ member in struct:TT_Size_Metrics_
[all...]
/external/ppp/pppd/include/net/
H A Dppp_defs.h184 unsigned int ratio; /* recent compression ratio << 8 */ member in struct:compstat

Completed in 937 milliseconds

123