/external/webkit/Source/WebCore/platform/audio/ |
AudioResampler.h | 54 // 0 < rate <= MaxRate 55 void setRate(double rate); 56 double rate() const { return m_rate; } function in class:WebCore::AudioResampler
|
AudioResamplerKernel.cpp | 56 double nextFractionalIndex = m_virtualReadIndex + framesToProcess * rate(); 82 double rate = this->rate(); 83 rate = max(0.0, rate); 84 rate = min(AudioResampler::MaxRate, rate); 97 ASSERT(virtualReadIndex >= 0 && 1 + static_cast<unsigned>(virtualReadIndex + (framesToProcess - 1) * rate) < m_sourceBuffer.size()); 112 virtualReadIndex += rate; 136 double AudioResamplerKernel::rate() cons function in class:WebCore::AudioResamplerKernel [all...] |
/system/media/wilhelm/src/itf/ |
IRatePitch.c | 22 static SLresult IRatePitch_SetRate(SLRatePitchItf self, SLpermille rate) 27 if (!(thiz->mMinRate <= rate && rate <= thiz->mMaxRate)) { 31 thiz->mRate = rate; 49 SLpermille rate = thiz->mRate; local 51 *pRate = rate;
|
IPlaybackRate.c | 22 static SLresult IPlaybackRate_SetRate(SLPlaybackRateItf self, SLpermille rate) 28 if (!(thiz->mMinRate <= rate && rate <= thiz->mMaxRate)) { 36 result = android_audioPlayer_setPlaybackRateAndConstraints(ap, rate, thiz->mProperties); 44 thiz->mRate = rate; 62 SLpermille rate = thiz->mRate; local 64 *pRate = rate; 128 SLpermille rate, SLuint32 *pCapabilities) 138 if (!(thiz->mMinRate <= rate && rate <= thiz->mMaxRate)) [all...] |
/bionic/libc/kernel/common/media/ |
tegra_camera.h | 26 unsigned long rate; member in struct:tegra_camera_clk_info
|
/external/kernel-headers/original/media/ |
tegra_camera.h | 31 unsigned long rate; member in struct:tegra_camera_clk_info
|
/external/ppp/pppd/plugins/pppoatm/ |
text2qos.c | 30 unsigned int rate,fract; local 37 rate = strtoul(*text,&end,10); 47 if (rate > UINT_MAX/1000) return RATE_ERROR; 48 rate *= 1000; 63 rate += fract; 69 rate = (rate+(up ? 8*ATM_CELL_PAYLOAD-1 : 0))/8/ 74 if (rate > INT_MAX) return RATE_ERROR; 76 return rate;
|
/external/qemu/audio/ |
rate_template.h | 33 struct rate *rate = opaque; local 43 ilast = rate->ilast; 51 if (rate->opos_inc == (1ULL + UINT_MAX)) { 71 while (rate->ipos <= (rate->opos >> 32)) { 73 rate->ipos++; 85 t = (rate->opos & UINT_MAX) * (1.f / UINT_MAX); 87 t = (rate->opos & UINT_MAX) / (mixeng_real) UINT_MAX; 92 t = rate->opos & 0xffffffff [all...] |
mixeng.c | 270 * Sound Tools rate change effect file. 289 struct rate { struct 301 struct rate *rate = audio_calloc (AUDIO_FUNC, 1, sizeof (*rate)); local 303 if (!rate) { 304 dolog ("Could not allocate resampler (%zu bytes)\n", sizeof (*rate)); 308 rate->opos = 0; 311 rate->opos_inc = ((uint64_t) inrate << 32) / outrate; 313 rate->ipos = 0 [all...] |
/external/webkit/Source/WebCore/platform/graphics/openvg/ |
ImageOpenVG.cpp | 122 double rate = static_cast<double>(scaledSize.width()) / origSize.width(); local 123 double temp = srcRect.right() * rate; 124 srcRect.setX(srcRect.x() * rate); 126 temp = srcRect.bottom() * rate; 127 srcRect.setY(srcRect.y() * rate);
|
/bionic/libc/kernel/common/linux/ |
tegra_audio.h | 23 int rate; member in struct:tegra_audio_in_config
|
/external/bluetooth/bluez/audio/ |
gstsbcparse.h | 58 gint rate; member in struct:_GstSbcParse
|
gstsbcenc.h | 52 gint rate; member in struct:_GstSbcEnc
|
/external/iproute2/tc/ |
q_gred.c | 125 unsigned rate = 0; local 200 if (get_rate(&rate, *argv)) { 216 if (rate == 0) 217 get_rate(&rate, "10Mbit"); 239 if ((wlog = tc_red_eval_idle_damping(opt.Wlog, avpkt, rate, sbuf)) < 0)
|
q_red.c | 40 unsigned rate = 0; local 87 if (get_rate(&rate, *argv)) { 104 if (rate == 0) 105 get_rate(&rate, "10Mbit"); 124 if ((wlog = tc_red_eval_idle_damping(opt.Wlog, avpkt, rate, sbuf)) < 0) {
|
/external/kernel-headers/original/linux/ |
tegra_audio.h | 30 int rate; member in struct:tegra_audio_in_config
|
/external/speex/include/speex/ |
speex_header.h | 64 spx_int32_t rate; /**< Sampling rate used */ member in struct:SpeexHeader 68 spx_int32_t bitrate; /**< Bit-rate used */ 78 void speex_init_header(SpeexHeader *header, int rate, int nb_channels, const struct SpeexMode *m);
|
/development/samples/RenderScript/Fountain/src/com/example/android/rs/fountain/ |
FountainRS.java | 60 int rate = (int)(pressure * pressure * 500.f); local 61 if (rate > 500) { 62 rate = 500; 64 if (rate > 0) { 65 mScript.invoke_addParticles(rate, x, y, id, !holdingColor[id]);
|
/development/samples/RenderScript/FountainFbo/src/com/example/android/rs/fountainfbo/ |
FountainFboRS.java | 86 int rate = (int)(pressure * pressure * 500.f); local 87 if (rate > 500) { 88 rate = 500; 90 if (rate > 0) { 91 mScript.invoke_addParticles(rate, x, y, id, !holdingColor[id]);
|
/external/chromium/chrome/browser/chromeos/ |
preferences.cc | 482 input_method::AutoRepeatRate rate; local 483 rate.initial_delay_in_ms = language_xkb_auto_repeat_delay_pref_.GetValue(); 484 rate.repeat_interval_in_ms = 486 DCHECK(rate.initial_delay_in_ms > 0); 487 DCHECK(rate.repeat_interval_in_ms > 0); 488 input_method::SetAutoRepeatRate(rate);
|
/external/chromium/chrome/browser/net/ |
referrer.cc | 91 double rate = it->second.subresource_use_rate(); local 93 if (rate > lowest_rate_seen) 99 lowest_rate_seen = rate; 132 double rate; local 133 if (!subresource_list->GetDouble(index++, &rate)) 143 (*this)[url].SetSubresourceUseRate(rate); 151 FundamentalValue* rate(new FundamentalValue( 155 subresource_list->Append(rate); 179 // Note: the use rate is temporarilly possibly incorect, as we need to find
|
/external/opencv/cv/src/ |
_cv.h | 103 double *rate; member in struct:CvPyramid
|
/external/speex/libspeex/ |
vorbis_psy.h | 80 int rate; member in struct:__anon11270 91 VorbisPsy *vorbis_psy_init(int rate, int size);
|
/external/srtp/test/ |
rdbx_driver.c | 71 double rate; local 122 rate = rdbx_check_adds_per_second(1 << 18, 128); 123 printf("rdbx_check/replay_adds per second (ws=128): %e\n", rate); 124 rate = rdbx_check_adds_per_second(1 << 18, 1024); 125 printf("rdbx_check/replay_adds per second (ws=1024): %e\n", rate);
|
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
scan_helpers.c | 95 int rate = 0; local 101 if ((ie[i + 2] & 0x7f) > rate) 102 rate = ie[i + 2] & 0x7f; 107 if ((ie[i + 2] & 0x7f) > rate) 108 rate = ie[i + 2] & 0x7f; 111 return rate; 158 /* best/max rate preferred if signal level close enough XXX */
|