/external/libvorbis/lib/ |
barkmel.c | 22 double rate; local 24 rate=48000.f; 25 fprintf(stderr,"rate=%gHz, block=%d, f(1)=%.2gHz bark(1)=%.2g (of %.2g)\n", 26 rate,i,rate/2 / (i/2),toBARK(rate/2 /(i/2)),toBARK(rate/2)); 28 rate=44100.f; 29 fprintf(stderr,"rate=%gHz, block=%d, f(1)=%.2gHz bark(1)=%.2g (of %.2g)\n", 30 rate,i,rate/2 / (i/2),toBARK(rate/2 /(i/2)),toBARK(rate/2)) [all...] |
/external/iproute2/tc/ |
tc_cbq.h | 4 unsigned tc_cbq_calc_maxidle(unsigned bndw, unsigned rate, unsigned avpkt, 6 unsigned tc_cbq_calc_offtime(unsigned bndw, unsigned rate, unsigned avpkt,
|
q_tbf.c | 28 fprintf(stderr, "Usage: ... tbf limit BYTES burst BYTES[/BYTES] rate KBPS [ mtu BYTES[/BYTES] ]\n"); 112 } else if (strcmp(*argv, "rate") == 0) { 114 if (opt.rate.rate) { 115 fprintf(stderr, "Double \"rate\" spec\n"); 118 if (get_rate(&opt.rate.rate, *argv)) { 119 explain1("rate"); 125 if (opt.peakrate.rate) { 129 if (get_rate(&opt.peakrate.rate, *argv)) [all...] |
m_police.c | 37 fprintf(stderr, "Usage: ... police rate BPS burst BYTES[/BYTES] [ mtu BYTES[/BYTES] ]\n"); 192 } else if (strcmp(*argv, "rate") == 0) { 194 if (p.rate.rate) { 195 fprintf(stderr, "Double \"rate\" spec\n"); 198 if (get_rate(&p.rate.rate, *argv)) { 199 explain1("rate"); 214 if (p.peakrate.rate) { 218 if (get_rate(&p.peakrate.rate, *argv)) [all...] |
q_htb.c | 35 " r2q DRR quantums are computed as rate in Bps/r2q {10}\n" 37 "... class add ... htb rate R1 [burst B1] [mpu B] [overhead O]\n" 40 " rate rate allocated to this class (class can still borrow)\n" 42 " mpu minimum packet size used in rate computations\n" 43 " overhead per-packet size overhead used in rate computations\n" 45 " ceil definite upper class rate (no borrows) {rate}\n" 47 " mtu max packet size we create rate map for {1600}\n" 168 if (opt.ceil.rate) { [all...] |
tc_cbq.c | 27 unsigned tc_cbq_calc_maxidle(unsigned bndw, unsigned rate, unsigned avpkt, 35 if (bndw != rate && maxburst) { 36 double vxmt = (double)avpkt/rate - xmt; 44 unsigned tc_cbq_calc_offtime(unsigned bndw, unsigned rate, unsigned avpkt, 48 double offtime = (double)avpkt/rate - (double)avpkt/bndw;
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/basis/ |
NoiseAggregator.java | 35 * A simple aggregator basis. Takes two basis functions and a rate and return
43 private final float rate;
field in class:NoiseAggregator 47 public NoiseAggregator(final Basis a, final Basis b, final float rate) {
50 this.rate = rate;
61 return this.a.value(x, y, z) * (1 - this.rate) + this.rate * this.b.value(x, y, z);
|
/external/jmonkeyengine/engine/src/test/jme3test/model/shape/ |
TestExpandingTorus.java | 15 private float rate = 1;
field in class:TestExpandingTorus 37 rate = -rate;
40 rate = -rate;
42 outerRadius += rate * tpf;
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
ProgressiveDownloadInformationBox.java | 55 long rate; field in class:ProgressiveDownloadInformationBox.Entry 58 public Entry(long rate, long initialDelay) { 59 this.rate = rate; 64 return rate; 67 public void setRate(long rate) { 68 this.rate = rate; 82 "rate=" + rate [all...] |
/external/webkit/Source/WebCore/platform/audio/ |
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...] |
AudioResampler.h | 54 // 0 < rate <= MaxRate 55 void setRate(double rate); 56 double rate() const { return m_rate; } function in class:WebCore::AudioResampler
|
/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/libvorbis/include/vorbis/ |
vorbisenc.h | 48 * \param rate The sampling rate of the source audio. 62 long rate, 85 * \param rate The sampling rate of the source audio. 99 long rate, 119 * \param rate The sampling rate of the source audio. 131 long rate, 147 * \param rate The sampling rate of the source audio [all...] |
/external/qemu/distrib/sdl-1.2.15/src/audio/nds/ |
sound9.c | 27 void SoundSystemInit(u32 rate,u32 buffersize,u8 channel,u8 format) 29 soundsystem->rate = rate; 43 soundsystem->period = 0x1000000 / rate;
|
/frameworks/base/core/java/android/view/ |
OrientationListener.java | 53 * @param rate at which sensor events are processed (see also 58 public OrientationListener(Context context, int rate) { 59 mOrientationEventLis = new OrientationEventListenerInternal(context, rate); 67 OrientationEventListenerInternal(Context context, int rate) { 68 super(context, rate);
|
/frameworks/wilhelm/src/itf/ |
IVisualization.c | 23 slVisualizationCallback callback, void *pContext, SLmilliHertz rate) 27 if (!(0 < rate && rate <= 20000)) { 34 thiz->mRate = rate;
|
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;
|
/external/kernel-headers/original/linux/ |
clk.h | 66 * clk_get_rate - obtain the current clock rate (in Hz) for a clock source. 89 * clk_round_rate - adjust a rate to the exact rate a clock can provide 91 * @rate: desired clock rate in Hz 93 * Returns rounded clock rate in Hz, or negative errno. 95 long clk_round_rate(struct clk *clk, unsigned long rate); 98 * clk_set_rate - set the clock rate for a clock source 100 * @rate: desired clock rate in H [all...] |
/tools/motodev/src/plugins/videos/src/com/motorola/studio/android/videos/model/extension/ |
VideoServiceProvider.java | 41 * Rate a video 44 * @param rate rate from 1 to 5 46 public void rate(Video video, int rate) throws Exception; method in interface:VideoServiceProvider
|
/external/dropbear/libtommath/ |
pretty.build | 14 my $rate = 0; 29 if ($rate > 0) { 30 my $tleft = ($count - $i) / $rate; 57 $rate = $i/$delay; 62 printf("\nFinished building source (%d seconds, %3.2f files per second).\n", time - $starttime, $rate);
|
/frameworks/base/tests/RenderScriptTests/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]);
|
/frameworks/base/tests/RenderScriptTests/Fountain_v11/src/com/android/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]);
|
/external/arduino/libraries/SPI/ |
SPI.cpp | 56 void SPIClass::setClockDivider(uint8_t rate) 58 SPCR = (SPCR & ~SPI_CLOCK_MASK) | (rate & SPI_CLOCK_MASK); 59 SPSR = (SPSR & ~SPI_2XCLOCK_MASK) | ((rate >> 2) & SPI_2XCLOCK_MASK);
|
/external/jmonkeyengine/engine/src/test/jme3test/audio/ |
TestDoppler.java | 51 private float rate = -0.05f; field in class:TestDoppler 86 angle += tpf * rate; 90 rate = -rate; 93 rate = -rate;
|