Searched refs:ratio (Results 1 - 25 of 71) sorted by relevance

123

/external/aac/libSBRenc/src/
H A Dresampler.h124 int ratio; /*! downsampling ration */ member in struct:__anon260
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/qemu-pc-bios/bochs/bios/
H A Dusage.cc45 double elements, ratio; local
94 ratio = elements / (double(org) - double(last_org));
95 ratio *= 100.0;
96 printf("%6.2lf\n", ratio);
/external/linux-tools-perf/
H A Dbuiltin-stat.c559 double total, ratio = 0.0; local
565 ratio = avg / total * 100.0;
568 if (ratio > 50.0)
570 else if (ratio > 30.0)
572 else if (ratio > 10.0)
576 color_fprintf(stderr, color, "%6.2f%%", ratio);
582 double total, ratio = 0.0; local
588 ratio = avg / total * 100.0;
591 if (ratio > 75.0)
593 else if (ratio > 50.
605 double total, ratio = 0.0; local
628 double total, ratio = 0.0; local
651 double total, ratio = 0.0; local
674 double total, ratio = 0.0; local
697 double total, ratio = 0.0; local
720 double total, ratio = 0.0; local
743 double total, ratio = 0.0; local
[all...]
/external/oprofile/gui/
H A Doprof_start_util.h27 inline double ratio(double x1, double x2) function
/external/icu4c/test/perf/perldriver/
H A DOutput.pm114 print HTML "<th class=\"source\" colspan=2><a href=\"#mean_op_$i\">ratio $i<br>/op</a></th>\n";
115 printLeg("<a name=\"mean_op_$i\">ratio $i /op</a> - ratio and error of per $operationIs time, calculated as: (($headers[0] - $headers[$i])/$headers[$i])*100%, mean value");
127 print HTML "<th class=\"source\" colspan=2><a href=\"#mean_ev_$i\">ratio $i<br>/ev</a></th>\n";
128 printLeg("<a name=\"mean_ev_$i\">ratio $i /ev</a> - ratio and error of per $eventIs time, calculated as: (($headers[0] - $headers[$i])/$headers[$i])*100%, mean value");
362 my $ratio = $baseLinePO->subtract($perOperation);
363 $ratio = $ratio->divide($perOperation);
364 outputDist($ratio, "
[all...]
/external/webkit/Source/WebCore/platform/graphics/android/layers/
H A DVideoLayerManager.cpp164 // Getting the aspect ratio for GL draw call, in the UI thread.
227 const float ratio)
234 pInfo->aspectRatio = ratio;
355 // When ratio 0 is returned, the Icon should not be drawn.
356 double ratio = 0; local
368 // After switching the state, we calculate the ratio depending on the
373 ratio = 1.0 - (delta / PLAY_PAUSE_ICON_SHOW_TIME);
377 if (ratio > 1 || ratio < 0)
378 ratio
226 updateVideoLayerSize(const int layerId, const int size, const float ratio) argument
[all...]
H A DVideoLayerManager.h56 float aspectRatio; // The aspect ratio of the video.
75 void updateVideoLayerSize(const int layerId, const int size, const float ratio);
85 // Return the aspect ratio for the video corresponding to the layerId
/external/eigen/unsupported/Eigen/src/NonLinearOptimization/
H A DHybridNonLinearSolver.h108 Scalar ratio; member in class:Eigen::HybridNonLinearSolver
264 /* compute the ratio of the actual to the predicted reduction. */
265 ratio = 0.;
267 ratio = actred / prered;
270 if (ratio < Scalar(.1)) {
277 if (ratio >= Scalar(.5) || ncsuc > 1)
279 if (internal::abs(ratio - 1.) <= Scalar(.1)) {
285 if (ratio >= Scalar(1e-4)) {
326 if (ratio >= Scalar(1e-4))
504 /* compute the ratio o
[all...]
H A DLevenbergMarquardt.h120 Scalar ratio; member in class:Eigen::LevenbergMarquardt
295 /* compute the ratio of the actual to the predicted */
297 ratio = 0.;
299 ratio = actred / prered;
302 if (ratio <= Scalar(.25)) {
312 } else if (!(par != 0. && ratio < Scalar(.75))) {
318 if (ratio >= Scalar(1e-4)) {
329 if (internal::abs(actred) <= parameters.ftol && prered <= parameters.ftol && Scalar(.5) * ratio <= 1. && delta <= parameters.xtol * xnorm)
331 if (internal::abs(actred) <= parameters.ftol && prered <= parameters.ftol && Scalar(.5) * ratio <= 1.)
339 if (internal::abs(actred) <= NumTraits<Scalar>::epsilon() && prered <= NumTraits<Scalar>::epsilon() && Scalar(.5) * ratio <
[all...]
/external/clang/INPUTS/
H A Dall-std-headers.cpp72 #include <ratio>
/external/webkit/Source/WebCore/page/wince/
H A DFrameWinCE.cpp77 float ratio = (float)printRect.height() / (float)printRect.width(); local
80 float pageHeight = pageWidth * ratio;
/external/chromium/net/disk_cache/
H A Dstats.cc321 int64 ratio = GetCounter(hit) * 100; local
322 if (!ratio)
325 ratio /= (GetCounter(hit) + GetCounter(miss));
326 return static_cast<int>(ratio);
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowMapView.java132 double ratio = offsetPixels / ((double) maxPixel);
134 return (int) (minDegrees + spanDegrees * ratio);
140 double ratio = offsetDegrees / ((double) spanDegrees);
142 return (int) (minPixel + spanPixels * ratio);
/external/valgrind/main/drd/tests/
H A Dmatinv.c319 double ratio; local
351 ratio = error / (eps * matrix_size);
355 error, eps, ratio);
357 if (isfinite(ratio) && ratio < 100)
H A Domp_matinv.c295 double ratio; local
331 ratio = error / (eps * matrix_size);
335 error, eps, ratio);
337 if (isfinite(ratio) && ratio < 100)
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/model/
H A DConfigResultsElement.java305 float ratio = ((float) confirmed) / numbersLength;
306 if (ratio < 0.8) {
388 double ratio = -(error/delta);
389 if (ratio > 1) {
402 } else if (ratio > 0.5) {
414 } else if (ratio > 0.25) {
/external/webkit/PerformanceTests/SunSpider/resources/
H A Dsunspider-compare-results.js308 var ratio = isFaster ? (mean1 / mean2) : (mean2 / mean1);
309 var fixedRatio = (ratio < 1.2) ? ratio.toFixed(3).toString() : ((ratio < 10) ? ratio.toFixed(2).toString() : ratio.toFixed(1).toString());
/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/jmonkeyengine/engine/src/core/com/jme3/scene/control/
H A DLodControl.java155 float ratio = (FastMath.PI / (8f * atanNH));
156 float newDistance = bv.distanceTo(vp.getCamera().getLocation()) / ratio;
/external/webkit/Source/WebCore/platform/graphics/
H A DStringTruncator.cpp143 float ratio = (keepCountForSmallestKnownToNotFit - keepCountForLargestKnownToFit)
145 keepCount = static_cast<unsigned>(maxWidth * ratio);
/external/ppp/pppd/include/net/
H A Dppp_defs.h169 unsigned int ratio; /* recent compression ratio << 8 */ member in struct:compstat
/external/replicaisland/src/com/replica/replicaisland/
H A DGameRenderer.java271 // ensure the same aspect ratio as the game
286 float ratio = (float) mWidth / mHeight;
289 gl.glFrustumf(-ratio, ratio, -1, 1, 1, 10);
/external/webkit/Source/WebCore/rendering/
H A DRenderVideo.cpp140 // (we don't want to scale the poster to the video size without keeping aspect ratio).
165 int ratio = renderBox.width() * elementSize.height() - renderBox.height() * elementSize.width(); local
166 if (ratio > 0) {
172 } else if (ratio < 0) {
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/
H A Dextensions.py81 # Print inf when ratio is not available.
82 ratio = float('inf')
85 ratio = float(filtered_bytes) / original_bytes
89 logger.debug('Outgoing compress ratio: %f (average: %f)' %
90 (ratio, average_ratio))
95 # Print inf when ratio is not available.
96 ratio = float('inf')
99 ratio = float(received_bytes) / filtered_bytes
103 logger.debug('Incoming compress ratio: %f (average: %f)' %
104 (ratio, average_rati
[all...]

Completed in 7045 milliseconds

123