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

1234

/external/eigen/bench/btl/data/
H A Dgnuplot_common_settings.hh44 set size ratio 0 1,1 variable
/external/oprofile/gui/
H A Doprof_start_util.h27 inline double ratio(double x1, double x2) function
/external/aac/libSBRenc/src/
H A Dresampler.h124 int ratio; /*! downsampling ration */ member in struct:__anon262
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/chromium_org/third_party/WebKit/Source/modules/webaudio/
H A DDynamicsCompressorNode.h54 AudioParam* ratio() { return m_ratio.get(); } function in class:WebCore::DynamicsCompressorNode
H A DDynamicsCompressorNode.cpp52 m_ratio = AudioParam::create(context, "ratio", 12, 1, 20);
72 float ratio = m_ratio->value(); local
78 m_dynamicsCompressor->setParameterValue(DynamicsCompressor::ParamRatio, ratio);
H A DPeriodicWave.cpp108 float ratio = fundamentalFrequency > 0 ? fundamentalFrequency / m_lowestFundamentalFrequency : 0.5; local
109 float centsAboveLowestFrequency = log2f(ratio) * 1200;
/external/chromium_org/third_party/WebKit/Source/core/platform/audio/
H A DDynamicsCompressor.cpp194 float ratio = parameterValue(ParamRatio); local
221 ratio,
/external/chromium_org/content/browser/renderer_host/
H A Doverscroll_controller.cc192 float ratio, threshold; local
195 ratio = fabs(overscroll_delta_x_) / bounds.width();
198 ratio = fabs(overscroll_delta_y_) / bounds.height();
202 return ratio >= threshold;
/external/chromium_org/native_client_sdk/src/libraries/xray/
H A Dhashtable.c104 float ratio; local
109 ratio = (float)table->count / (float)table->capacity;
110 /* Double the capacity of the symtable if we've hit the ratio. */
111 if (ratio > XRAY_SYMBOL_TABLE_MAX_RATIO)
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
H A Djsdifflib.js364 this.ratio = function () { function
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/test/
H A Dfakeconstraints.h62 void SetMandatoryMinAspectRatio(double ratio) { argument
63 AddMandatory(MediaConstraintsInterface::kMinAspectRatio, ratio);
/external/chromium_org/third_party/opus/src/celt/tests/
H A Dtest_unit_mathops.c83 double ratio; local
86 ratio = val/sqrt(i);
87 if (fabs(ratio - 1) > .0005 && fabs(val-sqrt(i)) > 2)
89 fprintf (stderr, "sqrt failed: sqrt(%d)="WORD" (ratio = %f)\n", i, val, 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/chromium_org/cc/layers/
H A Dscrollbar_layer_impl.cc207 void ScrollbarLayerImpl::SetVisibleToTotalLengthRatio(float ratio) { argument
208 if (visible_to_total_length_ratio_ == ratio)
210 visible_to_total_length_ratio_ = ratio;
247 // have to compute it. The ratio of the thumb's length to the track's length
303 float ratio = clamped_current_pos / maximum_; local
305 int thumb_offset = static_cast<int>(ratio * max_offset) + track_start_;
/external/chromium_org/content/browser/web_contents/aura/
H A Dwindow_slider.cc156 float ratio = (fabs(delta_x_) - horiz_start_threshold_) / width; local
157 if (ratio < complete_threshold_) {
/external/chromium_org/net/disk_cache/
H A Dstats.cc301 int64 ratio = GetCounter(hit) * 100; local
302 if (!ratio)
305 ratio /= (GetCounter(hit) + GetCounter(miss));
306 return static_cast<int>(ratio);
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/filters/
H A DFETurbulence.cpp304 float ratio = 1; local
307 turbulenceFunctionResult += noise2D(channel, paintingData, stitchData, noiseVector) / ratio;
309 turbulenceFunctionResult += fabsf(noise2D(channel, paintingData, stitchData, noiseVector)) / ratio;
312 ratio *= 2;
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderVideo.cpp132 // (we don't want to scale the poster to the video size without keeping aspect ratio).
157 LayoutUnit ratio = renderBox.width() * elementSize.height() - renderBox.height() * elementSize.width(); local
158 if (ratio > 0) {
164 } else if (ratio < 0) {
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dthread_cache.cc480 double ratio = space / max<double>(1, per_thread_cache_size_); local
485 if (ratio < 1.0) {
486 h->max_size_ = static_cast<size_t>(h->max_size_ * ratio);
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Dthread_cache.cc469 double ratio = space / max<double>(1, per_thread_cache_size_); local
474 if (ratio < 1.0) {
475 h->max_size_ = static_cast<size_t>(h->max_size_ * ratio);
/external/oprofile/libpp/
H A Dprofile_container.cpp45 // ratio of samples which belongs to this filename.
222 double const ratio = op_ratio(counts[0], total_count[0]); local
223 filename_by_samples const f(*it, ratio);
/external/valgrind/main/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)
/external/chromium_org/content/browser/loader/
H A Dasync_resource_handler.cc62 double ratio = static_cast<double>(bytes_read) / buffer_size; local
63 return static_cast<int>(ratio * 100.0 + 0.5); // Round to nearest integer.

Completed in 1789 milliseconds

1234