| /external/libvorbis/lib/ |
| D | barkmel.c | 22 double rate; in main() local 24 rate=48000.f; in main() 25 fprintf(stderr,"rate=%gHz, block=%d, f(1)=%.2gHz bark(1)=%.2g (of %.2g)\n", 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() 29 fprintf(stderr,"rate=%gHz, block=%d, f(1)=%.2gHz bark(1)=%.2g (of %.2g)\n", 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() 33 fprintf(stderr,"rate=%gHz, block=%d, f(1)=%.2gHz bark(1)=%.2g (of %.2g)\n", in main() 34 rate,i,rate/2 / (i/2),toBARK(rate/2 /(i/2)),toBARK(rate/2)); in main() [all …]
|
| /external/iproute2/tc/ |
| D | q_tbf.c | 28 …fprintf(stderr, "Usage: ... tbf limit BYTES burst BYTES[/BYTES] rate KBPS [ mtu BYTES[/BYTES] ]\n"… in explain() 112 } else if (strcmp(*argv, "rate") == 0) { in tbf_parse_opt() 114 if (opt.rate.rate) { in tbf_parse_opt() 115 fprintf(stderr, "Double \"rate\" spec\n"); in tbf_parse_opt() 118 if (get_rate(&opt.rate.rate, *argv)) { in tbf_parse_opt() 119 explain1("rate"); 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() 165 fprintf(stderr, "Both \"rate\" and \"burst\" are required.\n"); in tbf_parse_opt() [all …]
|
| D | q_htb.c | 35 " r2q DRR quantums are computed as rate in Bps/r2q {10}\n" in explain() 37 "... class add ... htb rate R1 [burst B1] [mpu B] [overhead O]\n" in explain() 40 " rate rate allocated to this class (class can still borrow)\n" in explain() 42 " mpu minimum packet size used in rate computations\n" in explain() 43 " overhead per-packet size overhead used in rate computations\n" in explain() 45 " ceil definite upper class rate (no borrows) {rate}\n" in explain() 47 " mtu max packet size we create rate map for {1600}\n" in explain() 168 if (opt.ceil.rate) { in htb_parse_class_opt() 172 if (get_rate(&opt.ceil.rate, *argv)) { in htb_parse_class_opt() 177 } else if (strcmp(*argv, "rate") == 0) { in htb_parse_class_opt() [all …]
|
| D | m_police.c | 37 fprintf(stderr, "Usage: ... police rate BPS burst BYTES[/BYTES] [ mtu BYTES[/BYTES] ]\n"); in usage() 192 } else if (strcmp(*argv, "rate") == 0) { in act_parse_police() 194 if (p.rate.rate) { in act_parse_police() 195 fprintf(stderr, "Double \"rate\" spec\n"); in act_parse_police() 198 if (get_rate(&p.rate.rate, *argv)) { in act_parse_police() 199 explain1("rate"); 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() 263 fprintf(stderr, "\"burst\" requires \"rate\".\n"); in act_parse_police() [all …]
|
| D | q_netem.c | 42 " [ rate RATE [PACKETOVERHEAD] [CELLSIZE] [CELLOVERHEAD]]\n"); in explain() 179 struct tc_netem_rate rate; in netem_parse_opt() local 187 memset(&rate, 0, sizeof(rate)); in netem_parse_opt() 386 } else if (matches(*argv, "rate") == 0) { in netem_parse_opt() 389 if (get_rate(&rate.rate, *argv)) { in netem_parse_opt() 390 explain1("rate"); in netem_parse_opt() 395 if (get_s32(&rate.packet_overhead, *argv, 0)) { in netem_parse_opt() 396 explain1("rate"); in netem_parse_opt() 402 if (get_u32(&rate.cell_size, *argv, 0)) { in netem_parse_opt() 403 explain1("rate"); in netem_parse_opt() [all …]
|
| /external/libnl/lib/route/sch/ |
| D | tbf.c | 75 tbf->qt_mpu = opts.rate.mpu; in tbf_msg_parser() 77 rtnl_copy_ratespec(&tbf->qt_rate, &opts.rate); in tbf_msg_parser() 80 opts.rate.rate); in tbf_msg_parser() 86 opts.peakrate.rate); in tbf_msg_parser() 114 nl_dump(p, " rate %.2f%s/s (%.0f%s) limit %.2f%s", in tbf_dump_line() 131 nl_dump(p, "mpu %u rate-bucket-size %1.f%s " in tbf_dump_details() 132 "rate-cell-size %.1f%s\n", in tbf_dump_details() 147 nl_dump_line(p, " peak-rate %.2f%s/s (%.0f%s) " in tbf_dump_details() 175 rtnl_rcopy_ratespec(&opts.rate, &tbf->qt_rate); in tbf_get_opts() 251 * configured rate and peak rate. In order for this operation to succeed, [all …]
|
| 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() 172 nl_dump(p, " rate %.2f%s/s (%.0f%s) log %u", in htb_class_dump_line() 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() [all …]
|
| /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/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/iproute2/misc/ |
| 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() 292 fprintf(fp, "%8s/%-6s ", "RX Pkts", "Rate"); in print_head() 293 fprintf(fp, "%8s/%-6s ", "TX Pkts", "Rate"); in print_head() 294 fprintf(fp, "%8s/%-6s ", "RX Data", "Rate"); in print_head() [all …]
|
| /external/iproute2/man/man8/ |
| D | tc-htb.8 | 21 .B ] htb rate 22 rate 24 rate 115 rate rate 116 Maximum rate this class and all its children are guaranteed. Mandatory. 119 ceil rate 120 Maximum rate at which a class can send, if its parent has bandwidth to spare. 121 Defaults to the configured rate, which implies no borrowing 128 .B rate. 138 Due to Unix timing constraints, the maximum ceil rate is not infinite and may in fact be quite low.… [all …]
|
| D | tc-tbf.8 | 5 .B tc qdisc ... tbf rate 6 rate 16 rate 30 itself, although packets are available, to ensure that the configured rate is not exceeded. 36 case, data is on average dequeued at the configured rate but may be sent much faster at millisecond 51 in one go. Tokens arrive at a steady rate, until the bucket is full. 77 bucket, the rate and possibly the peakrate (if set). These two parameters 84 if you want to reach your configured rate! 87 The minimum buffer size can be calculated by dividing the rate by HZ. 100 rate [all …]
|
| /external/chromium_org/third_party/webrtc/modules/video_coding/codecs/test/ |
| D | videoprocessor_integrationtest.cc | 31 // Maximum number of rate updates (i.e., calls to encoder to change bitrate 32 // and/or frame rate) for the current tests. 57 // The sequence of bitrate and frame rate changes for the encoder, the frame 67 // Metrics for the rate control. The rate mismatch metrics are defined as 69 // rate update is made to the encoder, for the encoder to reach within 70 // |kPercTargetvsActualMismatch| of new target rate. The metrics are defined for 71 // each rate update sequence. 95 // (PSNR and SSIM) and rate control metrics are computed to verify that the 96 // quality and encoder response is acceptable. The rate control tests allow us 97 // to verify the behavior for changing bitrate, changing frame rate, frame [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() 143 // There can't be several codecs with the same rate, frequency and channels 151 const uint32_t rate) { in DeregisterAudioCodecOrRedTypeRegardlessOfPayloadType() argument 161 // If audio, check frequency and rate. in DeregisterAudioCodecOrRedTypeRegardlessOfPayloadType() 164 channels, rate)) { in DeregisterAudioCodecOrRedTypeRegardlessOfPayloadType() 183 const uint32_t rate, in ReceivePayloadType() argument [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/chromium_org/remoting/base/ |
| D | rate_counter_unittest.cc | 12 // One second window and one sample per second, so rate equals each sample. 15 EXPECT_EQ(0, rate_counter.Rate()); in TEST() 22 EXPECT_EQ(static_cast<double>(kTestValues[i]), rate_counter.Rate()); in TEST() 26 // Record all samples instantaneously, so the rate is the total of the samples. 29 EXPECT_EQ(0, rate_counter.Rate()); in TEST() 39 EXPECT_EQ(expected, rate_counter.Rate()); in TEST() 43 // rate should be the average of it and the preceding one. For the first it 47 EXPECT_EQ(0, rate_counter.Rate()); in TEST() 58 EXPECT_EQ(expected, rate_counter.Rate()); in TEST() 63 // Rate should be the average of all but the first sample. [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()
|
| /external/chromium_org/third_party/webrtc/modules/audio_coding/main/acm2/ |
| D | acm_opus.cc | 60 int16_t ACMOpus::SetBitRateSafe(const int32_t /*rate*/) { in SetBitRateSafe() 69 bitrate_(20000), // Default bit-rate. 71 packet_loss_rate_(0) { // Initial packet loss rate. 133 codec_params->codec_inst.rate); 141 bitrate_ = codec_params->codec_inst.rate; 176 int16_t ACMOpus::SetBitRateSafe(const int32_t rate) { 177 if (rate < 6000 || rate > 510000) { 179 "SetBitRateSafe: Invalid rate Opus"); 183 bitrate_ = rate; 185 // Ask the encoder for the new rate. [all …]
|
| D | acm_celt.cc | 60 int16_t ACMCELT::SetBitRateSafe(const int32_t /*rate*/) { in SetBitRateSafe() 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. 169 "SetBitRateSafe: Failed to initiate Celt with rate %d", [all …]
|
| /external/chromium_org/chrome/common/extensions/docs/examples/extensions/speak_selection/ |
| 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; 45 rateElement.value = rate; 82 rate: parseFloat(rate), property
|
| /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() 73 "The rate should be 64K for this payloadType"; 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() [all …]
|
| /external/webrtc/src/modules/audio_coding/codecs/isac/main/interface/ |
| D | isac.h | 35 * - samplingRate : sampling rate of the input/output audio. 56 * - samplingRate : sampling rate of the input/output audio. 109 * - CodingMode : 0 -> Bit rate and frame length are 114 * rate which is taken as the maximum 115 * short-term average bit rate. 131 * rate, or 320 if operating at 32 kHz sampling rate. The encoder buffers the 203 * This function decodes an ISAC frame. At 16 kHz sampling rate, the length 205 * 30 or 60 ms respectively. At 32 kHz sampling rate, the length of the 256 * This function sets the limit on the short-term average bit-rate and the 258 * rate, an average bit-rate between 10000 to 32000 bps is valid and a [all …]
|
| /external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/interface/ |
| D | isac.h | 32 * - samplingRate : sampling rate of the input/output audio. 53 * - samplingRate : sampling rate of the input/output audio. 106 * - CodingMode : 0 -> Bit rate and frame length are 111 * rate which is taken as the maximum 112 * short-term average bit rate. 128 * rate, or 320 if operating at 32 kHz sampling rate. The encoder buffers the 200 * This function decodes an ISAC frame. At 16 kHz sampling rate, the length 202 * 30 or 60 ms respectively. At 32 kHz sampling rate, the length of the 253 * This function sets the limit on the short-term average bit-rate and the 255 * rate, an average bit-rate between 10000 to 32000 bps is valid and a [all …]
|
| /external/iproute2/examples/ |
| D | cbqinit.eth1 | 18 # rate == all the bandwidth 21 # est 1sec 8sec means, that kernel will evaluate average rate 23 # This rate is viewed with "tc -s class ls dev $DEVICE" 26 $BANDWIDTH rate 10Mbit allot 1514 maxburst 50 avpkt 1000 31 # "rate". It is not necessary, weight=1 will work as well. 36 $BANDWIDTH rate 4Mbit allot 1514 weight 500Kbit \ 48 $BANDWIDTH rate 1Mbit allot 1514 weight 100Kbit \ 56 $BANDWIDTH rate 100Kbit allot 1514 weight 10Mbit \ 64 rate 5Mbit $BANDWIDTH allot 1514b avpkt 1000 \ 74 rate 1Mbit $BANDWIDTH allot 1514b avpkt 1000 weight 10Kbit \
|
| /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/ |
| D | xmlreport.py | 10 def rate(hit, num): function 73 xpackage.setAttribute("line-rate", rate(lhits, lnum)) 74 xpackage.setAttribute("branch-rate", rate(bhits, bnum)) 82 xcoverage.setAttribute("line-rate", rate(lhits_tot, lnum_tot)) 83 xcoverage.setAttribute("branch-rate", rate(bhits_tot, bnum_tot)) 141 xclass.setAttribute("line-rate", rate(class_hits, class_lines)) 142 xclass.setAttribute("branch-rate", rate(class_br_hits, class_branches))
|