/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;
|
tc_core.h | 21 unsigned tc_calc_xmittime(unsigned rate, unsigned size); 22 unsigned tc_calc_xmitsize(unsigned rate, unsigned ticks);
|
/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/tinycompress/ |
utils.c | 64 unsigned int compress_get_alsa_rate(unsigned int rate) 66 switch (rate) {
|
/frameworks/base/media/java/android/media/ |
MediaTimestamp.java | 21 * and the system time. It contains the media clock rate, together with the media timestamp 55 * Get the rate of the media clock in relation to the system time. 73 MediaTimestamp(long mediaUs, long systemNs, float rate) { 76 clockRate = rate;
|
/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...] |
/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/webrtc/src/modules/audio_coding/codecs/isac/fix/test/QA/ |
runiSACNB.txt | 29 for rate in ${TARGETRATE[*]} 32 $ISAC $rate -FL 30 -NB 1 $INDIR/"$file" $OUTDIR/nb130_$index1"$file" >> $LOGFILE 33 $ISAC $rate -FL 60 -NB 1 $INDIR/"$file" $OUTDIR/nb160_$index1"$file" >> $LOGFILE 34 $ISAC $rate -FL 30 -NB 2 $INDIR/"$file" $OUTDIR/nb230_$index1"$file" >> $LOGFILE 35 $ISAC $rate -FL 60 -NB 2 $INDIR/"$file" $OUTDIR/nb260_$index1"$file" >> $LOGFILE 36 $ISAC $rate -FL 30 -NB 2 -PL 10 $INDIR/"$file" $OUTDIR/nb2plc30_$index1"$file" >> $LOGFILE 37 $ISAC $rate -FL 60 -NB 2 -PL 10 $INDIR/"$file" $OUTDIR/nb2plc60_$index1"$file" >> $LOGFILE
|
/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]);
|
/frameworks/base/media/jni/ |
android_media_MediaSync.h | 45 status_t setPlaybackParams(const AudioPlaybackRate& rate); 46 void getPlaybackParams(AudioPlaybackRate* rate /* nonnull */); 49 status_t setVideoFrameRateHint(float rate);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
sndhdr.py | 8 - sampling rate (0 if unknown or hard to decode) 17 sampling rate (a frame contains a sample for each channel). 90 rate = f(h[16:20]) 103 return type, rate, nchannels, data_size//frame_size, sample_bits 121 rate = 0 124 rate = int(1000000.0 / (256 - ratecode)) 125 return 'voc', rate, 1, -1, 8 136 rate = get_long_le(h[24:28]) 138 return 'wav', rate, nchannels, -1, sample_bits 155 rate = get_short_le(h[20:22] [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
sndhdr.py | 8 - sampling rate (0 if unknown or hard to decode) 17 sampling rate (a frame contains a sample for each channel). 90 rate = f(h[16:20]) 103 return type, rate, nchannels, data_size//frame_size, sample_bits 121 rate = 0 124 rate = int(1000000.0 / (256 - ratecode)) 125 return 'voc', rate, 1, -1, 8 136 rate = get_long_le(h[24:28]) 138 return 'wav', rate, nchannels, -1, sample_bits 155 rate = get_short_le(h[20:22] [all...] |
/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;
|
/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);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_ossaudiodev.py | 29 rate = au.getframerate() 40 return (data, rate, 16, nchannels) 44 def play_sound_file(self, data, rate, ssize, nchannels): 75 expected_time = float(len(data)) / (ssize//8) / nchannels / rate 78 dsp.setparameters(AFMT_S16_NE, nchannels, rate) 101 (fmt, channels, rate) = config 104 dsp.speed(rate) == rate): 112 result = dsp.setparameters(fmt, channels, rate, False) 113 self.assertEqual(result, (fmt, channels, rate), [all...] |