Searched refs:ratio (Results 1 - 25 of 62) 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.cpp165 // Getting the aspect ratio for GL draw call, in the UI thread.
228 const float ratio)
235 pInfo->aspectRatio = ratio;
356 // When ratio 0 is returned, the Icon should not be drawn.
357 double ratio = 0; local
369 // After switching the state, we calculate the ratio depending on the
374 ratio = 1.0 - (delta / PLAY_PAUSE_ICON_SHOW_TIME);
378 if (ratio > 1 || ratio < 0)
379 ratio
227 updateVideoLayerSize(const int layerId, const int size, const float ratio) argument
[all...]
H A DVideoLayerManager.h55 float aspectRatio; // The aspect ratio of the video.
74 void updateVideoLayerSize(const int layerId, const int size, const float ratio);
84 // Return the aspect ratio for the video corresponding to the layerId
/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/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/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/jmonkeyengine/engine/src/core/com/jme3/math/
H A DRay.java375 float ratio = numerator / denominator;
377 if (ratio < FastMath.FLT_EPSILON) {
380 loc.set(direction).multLocal(ratio).addLocal(origin);
/external/kernel-headers/original/linux/
H A Dppp_defs.h158 /* the compression ratio is defined as in_count / bytes_out */
162 double ratio; /* not computed in kernel. */ member in struct:compstat
/external/webkit/Source/WebCore/page/
H A DPrintContext.cpp78 float ratio = printRect.height() / printRect.width(); local
80 pageHeight = floorf(pageWidth * ratio);
82 float ratio = printRect.width() / printRect.height(); local
84 pageWidth = floorf(pageHeight * ratio);
/external/webkit/Source/WebCore/platform/graphics/android/
H A DGLWebViewState.cpp454 double ratio = (1.0 / delta) / MAX_FPS_VALUE; local
457 frameInfoRect.setWidth(frameInfoRect.width() * ratio);
471 ratio = (swappedCounter + 1.0) / COLLECTION_SWAPPED_COUNTER_MODULE;
473 frameInfoRect.setWidth(frameInfoRect.width() * ratio);
/external/webkit/Source/WebCore/platform/graphics/filters/
H A DFETurbulence.cpp313 float ratio = 1; local
316 turbulenceFunctionResult += noise2D(paintingData, noiseVector) / ratio;
318 turbulenceFunctionResult += fabsf(noise2D(paintingData, noiseVector)) / ratio;
321 ratio *= 2;

Completed in 452 milliseconds

123