/external/libvorbis/lib/ |
D | barkmel.c | 22 double rate; in main() local 24 rate=48000.f; in main() 26 rate,i,rate/2 / (i/2),toBARK(rate/2 /(i/2)),toBARK(rate/2)); in main() 28 rate=44100.f; in main() 30 rate,i,rate/2 / (i/2),toBARK(rate/2 /(i/2)),toBARK(rate/2)); in main() 32 rate=32000.f; in main() 34 rate,i,rate/2 / (i/2),toBARK(rate/2 /(i/2)),toBARK(rate/2)); in main() 36 rate=22050.f; in main() 38 rate,i,rate/2 / (i/2),toBARK(rate/2 /(i/2)),toBARK(rate/2)); in main() 40 rate=16000.f; in main() [all …]
|
/external/iproute2/tc/ |
D | q_tbf.c | 114 if (opt.rate.rate) { in tbf_parse_opt() 118 if (get_rate(&opt.rate.rate, *argv)) { in tbf_parse_opt() 125 if (opt.peakrate.rate) { in tbf_parse_opt() 129 if (get_rate(&opt.peakrate.rate, *argv)) { in tbf_parse_opt() 164 if (opt.rate.rate == 0 || !buffer) { in tbf_parse_opt() 168 if (opt.peakrate.rate) { in tbf_parse_opt() 181 double lim = opt.rate.rate*(double)latency/TIME_UNITS_PER_SEC + buffer; in tbf_parse_opt() 182 if (opt.peakrate.rate) { in tbf_parse_opt() 183 double lim2 = opt.peakrate.rate*(double)latency/TIME_UNITS_PER_SEC + mtu; in tbf_parse_opt() 190 opt.rate.mpu = mpu; in tbf_parse_opt() [all …]
|
D | m_police.c | 194 if (p.rate.rate) { in act_parse_police() 198 if (get_rate(&p.rate.rate, *argv)) { in act_parse_police() 214 if (p.peakrate.rate) { in act_parse_police() 218 if (get_rate(&p.peakrate.rate, *argv)) { in act_parse_police() 262 if (p.rate.rate && !buffer) { in act_parse_police() 266 if (p.peakrate.rate) { in act_parse_police() 267 if (!p.rate.rate) { in act_parse_police() 277 if (p.rate.rate) { in act_parse_police() 278 p.rate.mpu = mpu; in act_parse_police() 279 p.rate.overhead = overhead; in act_parse_police() [all …]
|
D | q_htb.c | 168 if (opt.ceil.rate) { in htb_parse_class_opt() 172 if (get_rate(&opt.ceil.rate, *argv)) { in htb_parse_class_opt() 179 if (opt.rate.rate) { in htb_parse_class_opt() 183 if (get_rate(&opt.rate.rate, *argv)) { in htb_parse_class_opt() 202 if (opt.rate.rate == 0) { in htb_parse_class_opt() 207 if (!opt.ceil.rate) opt.ceil = opt.rate; in htb_parse_class_opt() 211 if (!buffer) buffer = opt.rate.rate / get_hz() + mtu; in htb_parse_class_opt() 212 if (!cbuffer) cbuffer = opt.ceil.rate / get_hz() + mtu; in htb_parse_class_opt() 215 opt.rate.overhead = overhead; in htb_parse_class_opt() 218 opt.rate.mpu = mpu; in htb_parse_class_opt() [all …]
|
D | q_netem.c | 179 struct tc_netem_rate rate; in netem_parse_opt() local 187 memset(&rate, 0, sizeof(rate)); in netem_parse_opt() 389 if (get_rate(&rate.rate, *argv)) { in netem_parse_opt() 395 if (get_s32(&rate.packet_overhead, *argv, 0)) { in netem_parse_opt() 402 if (get_u32(&rate.cell_size, *argv, 0)) { in netem_parse_opt() 409 if (get_s32(&rate.cell_overhead, *argv, 0)) { in netem_parse_opt() 482 addattr_l(n, 1024, TCA_NETEM_RATE, &rate, sizeof(rate)) < 0) in netem_parse_opt() 504 const struct tc_netem_rate *rate = NULL; in netem_print_opt() local 547 if (RTA_PAYLOAD(tb[TCA_NETEM_RATE]) < sizeof(*rate)) in netem_print_opt() 549 rate = RTA_DATA(tb[TCA_NETEM_RATE]); in netem_print_opt() [all …]
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/acm2/ |
D | acm_codec_database.cc | 465 if (IsISACRateValid(codec_inst.rate)) { in CodecNumber() 474 return IsILBCRateValid(codec_inst.rate, codec_inst.pacsize) in CodecNumber() 477 return IsAMRRateValid(codec_inst.rate) in CodecNumber() 480 return IsAMRwbRateValid(codec_inst.rate) in CodecNumber() 483 return IsG7291RateValid(codec_inst.rate) in CodecNumber() 486 return IsOpusRateValid(codec_inst.rate) in CodecNumber() 489 return IsSpeexRateValid(codec_inst.rate) in CodecNumber() 492 return IsCeltRateValid(codec_inst.rate) in CodecNumber() 496 return IsRateValid(codec_id, codec_inst.rate) ? in CodecNumber() 644 switch (codec_inst->rate) { in CreateCodecInstance() [all …]
|
D | acm_codec_database.h | 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); 334 static bool IsCeltRateValid(int rate);
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCScheduleE5500.td | 69 [30, 2, 2], // Latency= 4..26, Repeat rate= 4..26 75 [20, 2, 2], // Latency= 4..16, Repeat rate= 4..16 80 [11], // Latency = 7, Repeat rate = 1 84 [11, 2, 2], // Latency = 7, Repeat rate = 7 89 [9, 2, 2], // Latency = 4..7, Repeat rate = 2..4 95 [8, 2, 2], // Latency = 4, Repeat rate = 1 101 [8, 2, 2], // Latency = 4, Repeat rate = 1 117 [6, 2, 2], // Latency = 2, Repeat rate = 2 122 [5, 2, 2], // Latency = 1, Repeat rate = 1 127 [6, 2, 2], // Latency = 2, Repeat rate = 2 [all …]
|
/external/qemu/audio/ |
D | rate_template.h | 33 struct rate *rate = opaque; in NAME() local 43 ilast = rate->ilast; in NAME() 51 if (rate->opos_inc == (1ULL + UINT_MAX)) { in NAME() 71 while (rate->ipos <= (rate->opos >> 32)) { in NAME() 73 rate->ipos++; in NAME() 85 t = (rate->opos & UINT_MAX) * (1.f / UINT_MAX); in NAME() 87 t = (rate->opos & UINT_MAX) / (mixeng_real) UINT_MAX; in NAME() 92 t = rate->opos & 0xffffffff; in NAME() 101 rate->opos += rate->opos_inc; in NAME() 107 rate->ilast = ilast; in NAME()
|
D | mixeng.c | 289 struct rate { struct 301 struct rate *rate = audio_calloc (AUDIO_FUNC, 1, sizeof (*rate)); in st_rate_start() argument 303 if (!rate) { in st_rate_start() 304 dolog ("Could not allocate resampler (%u bytes)\n", (int)sizeof (*rate)); in st_rate_start() 308 rate->opos = 0; in st_rate_start() 311 rate->opos_inc = ((uint64_t) inrate << 32) / outrate; in st_rate_start() 313 rate->ipos = 0; in st_rate_start() 314 rate->ilast.l = 0; in st_rate_start() 315 rate->ilast.r = 0; in st_rate_start() 316 return rate; in st_rate_start()
|
/external/chromium_org/third_party/WebKit/Source/platform/audio/ |
D | AudioResamplerKernel.cpp | 54 double nextFractionalIndex = m_virtualReadIndex + framesToProcess * rate(); in getSourcePointer() 80 double rate = this->rate(); in process() local 81 rate = std::max(0.0, rate); in process() 82 rate = std::min(AudioResampler::MaxRate, rate); in process() 95 …0 && 1 + static_cast<unsigned>(virtualReadIndex + (framesToProcess - 1) * rate) < m_sourceBuffer.s… in process() 110 virtualReadIndex += rate; in process() 134 double AudioResamplerKernel::rate() const in rate() function in blink::AudioResamplerKernel 136 return m_resampler->rate(); in rate()
|
/external/iproute2/misc/ |
D | rtacct.c | 70 double rate[256*4]; member 133 void format_rate(FILE *fp, double rate) in format_rate() argument 137 if (rate > 1024*1024) { in format_rate() 138 sprintf(temp, "%uM", (unsigned)rint(rate/(1024*1024))); in format_rate() 140 } else if (rate > 1024) { in format_rate() 141 sprintf(temp, "%uK", (unsigned)rint(rate/1024)); in format_rate() 144 fprintf(fp, " %-10u", (unsigned)rate); in format_rate() 186 double *rate; in dump_abs_db() local 192 rate = &kern_db->rate[realm*4]; in dump_abs_db() 195 !val[0] && !rate[0] && in dump_abs_db() [all …]
|
D | ifstat.c | 60 double rate[MAXS]; member 110 memset(&n->rate, 0, sizeof(n->rate)); in get_nlmsg() 184 unsigned rate; in load_raw_table() local 195 if (sscanf(p, "%u", &rate) != 1) in load_raw_table() 197 n->rate[i] = rate; in load_raw_table() 221 double *rates = n->rate; in dump_raw_db() 229 rates = h1->rate; in dump_raw_db() 335 format_rate(fp, vals, n->rate, i); in print_one_if() 342 format_rate(fp, vals, n->rate, 11); in print_one_if() 343 format_rate(fp, vals, n->rate, 9); in print_one_if() [all …]
|
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/ |
D | rtp_payload_registry.cc | 43 const uint32_t rate, in RegisterReceivePayload() argument 89 channels, rate)) { in RegisterReceivePayload() 90 rtp_payload_strategy_->UpdatePayloadRate(payload, rate); in RegisterReceivePayload() 100 payload_name, payload_name_length, frequency, channels, rate); in RegisterReceivePayload() 121 payload_name, payload_type, frequency, channels, rate); in RegisterReceivePayload() 151 const uint32_t rate) { in DeregisterAudioCodecOrRedTypeRegardlessOfPayloadType() argument 164 channels, rate)) { in DeregisterAudioCodecOrRedTypeRegardlessOfPayloadType() 183 const uint32_t rate, in ReceivePayloadType() argument 202 if (rate == 0) { in ReceivePayloadType() 213 payload->typeSpecific.Audio.rate == rate) { in ReceivePayloadType() [all …]
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
D | ProgressiveDownloadInformationBox.java | 55 long rate; field in ProgressiveDownloadInformationBox.Entry 58 public Entry(long rate, long initialDelay) { in Entry() argument 59 this.rate = rate; in Entry() 64 return rate; in getRate() 67 public void setRate(long rate) { in setRate() argument 68 this.rate = rate; in setRate() 82 "rate=" + rate + in toString()
|
/external/libnl/lib/route/sch/ |
D | htb.c | 117 rtnl_copy_ratespec(&d->ch_rate, &opts.rate); in htb_class_msg_parser() 119 d->ch_rbuffer = rtnl_tc_calc_bufsize(opts.buffer, opts.rate.rate); in htb_class_msg_parser() 120 d->ch_cbuffer = rtnl_tc_calc_bufsize(opts.cbuffer, opts.ceil.rate); in htb_class_msg_parser() 122 d->ch_overhead = (opts.rate.mpu >> 8) & 0xff; in htb_class_msg_parser() 123 d->ch_mpu = opts.rate.mpu & 0xff; in htb_class_msg_parser() 255 static uint8_t compute_cell(uint32_t rate, uint32_t mtu) in compute_cell() argument 293 rtnl_rcopy_ratespec(&opts.rate, &d->ch_rate); in htb_class_get_opts() 295 if (opts.rate.cell_log == UINT8_MAX) in htb_class_get_opts() 296 opts.rate.cell_log = compute_cell(opts.rate.rate, mtu); in htb_class_get_opts() 302 memcpy(&opts.ceil, &opts.rate, sizeof(struct tc_ratespec)); in htb_class_get_opts() [all …]
|
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/test/testAPI/ |
D | test_api_audio.cc | 70 const uint32_t rate) { in OnInitializeDecoder() argument 72 EXPECT_EQ(test_rate, rate) << in OnInitializeDecoder() 219 (voice_codec.rate < 0) ? 0 : voice_codec.rate)); in TEST_F() 221 voice_codec.rate = test_rate; in TEST_F() 227 (voice_codec.rate < 0) ? 0 : voice_codec.rate)); in TEST_F() 253 (voice_codec.rate < 0) ? 0 : voice_codec.rate)); in TEST_F() 255 voice_codec.rate = test_rate; in TEST_F() 261 (voice_codec.rate < 0) ? 0 : voice_codec.rate)); in TEST_F() 280 (voice_codec.rate < 0) ? 0 : voice_codec.rate)); in TEST_F() 286 (voice_codec.rate < 0) ? 0 : voice_codec.rate)); in TEST_F() [all …]
|
/external/chromium_org/remoting/codec/ |
D | audio_encoder_opus_unittest.cc | 55 AudioPacket::SamplingRate rate, in GetSampleValue() argument 59 double angle = pos * 2 * M_PI * frequency_hz / rate + in GetSampleValue() 68 AudioPacket::SamplingRate rate, in CreatePacket() argument 73 data[i * kChannels] = GetSampleValue(rate, frequency_hz, i + pos, 0); in CreatePacket() 74 data[i * kChannels + 1] = GetSampleValue(rate, frequency_hz, i + pos, 1); in CreatePacket() 81 packet->set_sampling_rate(rate); in CreatePacket() 107 AudioPacket::SamplingRate rate, in ValidateReceivedData() argument 115 GetSampleValue(rate, frequency_hz, i - shift, 0); in ValidateReceivedData() 118 GetSampleValue(rate, frequency_hz, i - shift, 1); in ValidateReceivedData() 129 AudioPacket::SamplingRate rate) { in TestEncodeDecode() argument [all …]
|
/external/iptables/extensions/ |
D | libxt_rateest.man | 1 The rate estimator can match on estimated rates as collected by the RATEEST 2 target. It supports matching on absolute bps/pps values, comparing two rate 3 estimators and matching on the difference between two rate estimators. 19 \fBrateest1\fP \fIoperator\fP \fBrateest2\fP \fBrateest-bps\fP(without rate!) 21 \fBrateest1\fP \fIoperator\fP \fBrateest2\fP \fBrateest-pps\fP(without rate!) 32 between the estimator-determined flow rate and the static value chosen with the 33 BPS/PPS options. If the flow rate is higher than the specified BPS/PPS, 0 will 38 Match if rate is less than given rate/estimator. 41 Match if rate is greater than given rate/estimator. 44 Match if rate is equal to given rate/estimator. [all …]
|
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/test/QA/ |
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/third_party/webrtc/modules/audio_coding/codecs/isac/fix/test/QA/ |
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/third_party/webrtc/modules/audio_processing/ |
D | audio_processing_impl.cc | 148 int AudioProcessingImpl::set_sample_rate_hz(int rate) { in set_sample_rate_hz() argument 150 return InitializeLocked(rate, in set_sample_rate_hz() 151 rate, in set_sample_rate_hz() 152 rev_in_format_.rate(), in set_sample_rate_hz() 232 int min_proc_rate = std::min(fwd_in_format_.rate(), fwd_out_format_.rate()); in InitializeLocked() 250 if (fwd_proc_format_.rate() == kSampleRate8kHz) { in InitializeLocked() 254 if (rev_in_format_.rate() == kSampleRate32kHz) { in InitializeLocked() 265 if (fwd_proc_format_.rate() == kSampleRate32kHz) { in InitializeLocked() 268 split_rate_ = fwd_proc_format_.rate(); in InitializeLocked() 282 if (input_sample_rate_hz == fwd_in_format_.rate() && in MaybeInitializeLocked() [all …]
|
/external/esd/include/ |
D | esd.h | 145 int esd_play_stream( esd_format_t format, int rate, 147 int esd_play_stream_fallback( esd_format_t format, int rate, 149 int esd_monitor_stream( esd_format_t format, int rate, 152 int esd_record_stream( esd_format_t format, int rate, 154 int esd_record_stream_fallback( esd_format_t format, int rate, 156 int esd_filter_stream( esd_format_t format, int rate, 160 int esd_sample_cache( int esd, esd_format_t format, const int rate, 201 int rate; /* sample rate */ member 212 int rate; /* sample rate */ member 227 int rate; /* sample rate */ member
|
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/speak_selection/ |
D | options.js | 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; 45 rateElement.value = rate; 82 rate: parseFloat(rate), property
|
/external/chromium_org/chromeos/ime/ |
D | ime_keyboard_x11_unittest.cc | 137 AutoRepeatRate rate; in TEST_F() local 138 EXPECT_TRUE(ImeKeyboard::GetAutoRepeatRateForTesting(&rate)); in TEST_F() 140 AutoRepeatRate tmp(rate); in TEST_F() 145 EXPECT_EQ(rate.initial_delay_in_ms + 1, tmp.initial_delay_in_ms); in TEST_F() 146 EXPECT_EQ(rate.repeat_interval_in_ms + 1, tmp.repeat_interval_in_ms); in TEST_F() 149 EXPECT_TRUE(xkey_->SetAutoRepeatRate(rate)); in TEST_F() 151 EXPECT_EQ(rate.initial_delay_in_ms, tmp.initial_delay_in_ms); in TEST_F() 152 EXPECT_EQ(rate.repeat_interval_in_ms, tmp.repeat_interval_in_ms); in TEST_F()
|