/external/libvorbis/lib/ |
H A D | 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, [all...] |
/external/iproute2/tc/ |
H A D | 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,
|
H A D | 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, *arg [all...] |
H A D | 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, *arg [all...] |
H A D | 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...] |
H A D | tc_cbq.c | 27 unsigned tc_cbq_calc_maxidle(unsigned bndw, unsigned rate, unsigned avpkt, argument 35 if (bndw != rate && maxburst) { 36 double vxmt = (double)avpkt/rate - xmt; 44 unsigned tc_cbq_calc_offtime(unsigned bndw, unsigned rate, unsigned avpkt, argument 48 double offtime = (double)avpkt/rate - (double)avpkt/bndw;
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
H A D | ProgressiveDownloadInformationBox.java | 55 long rate; field in class:ProgressiveDownloadInformationBox.Entry 58 public Entry(long rate, long initialDelay) { argument 59 this.rate = rate; 64 return rate; 67 public void setRate(long rate) { argument 68 this.rate = rate; 82 "rate=" + rate [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/audio/ |
H A D | AudioResamplerKernel.cpp | 54 double nextFractionalIndex = m_virtualReadIndex + framesToProcess * rate(); 80 double rate = this->rate(); 81 rate = std::max(0.0, rate); 82 rate = std::min(AudioResampler::MaxRate, rate); 95 ASSERT(virtualReadIndex >= 0 && 1 + static_cast<unsigned>(virtualReadIndex + (framesToProcess - 1) * rate) < m_sourceBuffer.size()); 110 virtualReadIndex += rate; 134 double AudioResamplerKernel::rate() cons function in class:blink::AudioResamplerKernel [all...] |
H A D | AudioResampler.h | 56 // 0 < rate <= MaxRate 57 void setRate(double rate); 58 double rate() const { return m_rate; } function in class:blink::AudioResampler
|
/external/chromium_org/third_party/webrtc/examples/android/media_demo/src/org/webrtc/webrtcdemo/ |
H A D | CodecInst.java | 27 "Rate: " + rate(); 38 public native int rate(); method in class:CodecInst
|
/external/tinycompress/ |
H A D | utils.c | 64 unsigned int compress_get_alsa_rate(unsigned int rate) argument 66 switch (rate) {
|
/external/qemu/audio/ |
H A D | 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 [all...] |
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/mock/ |
H A D | mock_rtp_payload_strategy.h | 27 const uint32_t rate)); 29 void(RtpUtility::Payload* payload, const uint32_t rate)); 38 const uint32_t rate));
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/acm2/ |
H A D | acm_codec_database.cc | 426 // Comfort Noise is special case, packet-size & rate is not checked. 432 // RED is special case, packet-size & rate is not checked. 461 // Check the validity of rate. Codecs with multiple rates have their own 465 if (IsISACRateValid(codec_inst.rate)) { 474 return IsILBCRateValid(codec_inst.rate, codec_inst.pacsize) 477 return IsAMRRateValid(codec_inst.rate) 480 return IsAMRwbRateValid(codec_inst.rate) 483 return IsG7291RateValid(codec_inst.rate) 486 return IsOpusRateValid(codec_inst.rate) 489 return IsSpeexRateValid(codec_inst.rate) 828 IsRateValid(int codec_id, int rate) argument 837 IsISACRateValid(int rate) argument 846 IsILBCRateValid(int rate, int frame_size_samples) argument 859 IsAMRRateValid(int rate) argument 878 IsAMRwbRateValid(int rate) argument 898 IsG7291RateValid(int rate) argument 921 IsSpeexRateValid(int rate) argument 930 IsOpusRateValid(int rate) argument 938 IsCeltRateValid(int rate) argument [all...] |
H A D | acm_celt.cc | 60 int16_t ACMCELT::SetBitRateSafe(const int32_t /*rate*/) { 69 bitrate_(64000), // Default rate. 111 int16_t status = SetBitRateSafe((codec_params->codec_inst).rate); 158 int16_t ACMCELT::SetBitRateSafe(const int32_t rate) { 159 // Check that rate is in the valid range. 160 if ((rate >= 48000) && (rate <= 128000)) { 161 // Store new rate. 162 bitrate_ = rate; 164 // Initiate encoder with new rate [all...] |
H A D | acm_codec_database.h | 323 // [rate] - bitrate to check. 325 // with the rate. 326 static bool IsRateValid(int codec_id, int rate); 327 static bool IsISACRateValid(int rate); 328 static bool IsILBCRateValid(int rate, int frame_size_samples); 329 static bool IsAMRRateValid(int rate); 330 static bool IsAMRwbRateValid(int rate); 331 static bool IsG7291RateValid(int rate); 332 static bool IsSpeexRateValid(int rate); 333 static bool IsOpusRateValid(int rate); [all...] |
/external/chromium_org/chrome/common/ |
H A D | tts_utterance_request.cc | 10 rate(1.0),
|
/external/libvorbis/include/vorbis/ |
H A D | 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 Th [all...] |
/external/qemu/distrib/sdl-1.2.15/src/audio/nds/ |
H A D | sound9.c | 27 void SoundSystemInit(u32 rate,u32 buffersize,u8 channel,u8 format) argument 29 soundsystem->rate = rate; 43 soundsystem->period = 0x1000000 / rate;
|
/external/chromium_org/storage/browser/quota/ |
H A D | storage_observer.cc | 33 const base::TimeDelta& rate, 36 rate(rate), 42 const base::TimeDelta& rate, 45 rate(rate), 30 MonitorParams( StorageType storage_type, const GURL& origin, const base::TimeDelta& rate, bool get_initial_state) argument 40 MonitorParams( const Filter& filter, const base::TimeDelta& rate, bool get_initial_state) argument
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/test/QA/ |
H A D | 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
|
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/test/QA/ |
H A D | 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
|
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/speak_selection/ |
H A D | options.js | 13 var rateElement = document.getElementById('rate'); 16 var rate = localStorage['rate'] || 1.0; 19 rateElement.value = rate; 23 rate = rateElement.value; 24 localStorage['rate'] = rate; 39 rate = 1.0; 42 localStorage['rate'] = rate; [all...] |
/external/arduino/libraries/SPI/ |
H A D | SPI.cpp | 56 void SPIClass::setClockDivider(uint8_t rate) argument 58 SPCR = (SPCR & ~SPI_CLOCK_MASK) | (rate & SPI_CLOCK_MASK); 59 SPSR = (SPSR & ~SPI_2XCLOCK_MASK) | ((rate >> 2) & SPI_2XCLOCK_MASK);
|
/external/chromium_org/remoting/codec/ |
H A D | audio_encoder_opus_unittest.cc | 27 // The sampling rate that OPUS uses internally and that we expect to get 55 AudioPacket::SamplingRate rate, 59 double angle = pos * 2 * M_PI * frequency_hz / rate + 68 AudioPacket::SamplingRate rate, 73 data[i * kChannels] = GetSampleValue(rate, frequency_hz, i + pos, 0); 74 data[i * kChannels + 1] = GetSampleValue(rate, frequency_hz, i + pos, 1); 81 packet->set_sampling_rate(rate); 107 AudioPacket::SamplingRate rate, 115 GetSampleValue(rate, frequency_hz, i - shift, 0); 118 GetSampleValue(rate, frequency_h 54 GetSampleValue( AudioPacket::SamplingRate rate, double frequency_hz, double pos, int channel) argument 66 CreatePacket( int samples, AudioPacket::SamplingRate rate, double frequency_hz, int pos) argument 106 ValidateReceivedData(int samples, AudioPacket::SamplingRate rate, double frequency_hz, const std::vector<int16>& received_data) argument 127 TestEncodeDecode(int packet_size, double frequency_hz, AudioPacket::SamplingRate rate) argument [all...] |