Home
last modified time | relevance | path

Searched full:rate (Results 1 – 25 of 1548) sorted by relevance

12345678910>>...62

/external/libvorbis/lib/
Dbarkmel.c22 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/autotest/client/site_tests/graphics_PiglitBVT/piglit_logs/other/
Dexpectations_other.json23 "pass rate": "0.88",
28 "pass rate": "0.88",
33 "pass rate": "0.65",
38 "pass rate": "0.88",
43 "pass rate": "0.88",
65 "pass rate": "0.88",
83 "pass rate": "0.88",
88 "pass rate": "0.88",
93 "pass rate": "0.88",
98 "pass rate": "0.88",
[all …]
/external/autotest/client/site_tests/graphics_PiglitBVT/piglit_logs/pinetrail/
Dexpectations_pinetrail.json9 "pass rate": "0.75",
14 "pass rate": "0.75",
28 "pass rate": "0.75",
33 "pass rate": "0.75",
38 "pass rate": "0.25",
43 "pass rate": "0.75",
48 "pass rate": "0.75",
53 "pass rate": "0.75",
58 "pass rate": "0.25",
63 "pass rate": "0.50",
[all …]
/external/iproute2/tc/
Dm_police.c37 fprintf(stderr, "Usage: ... police rate BPS burst BYTES[/BYTES] [ mtu BYTES[/BYTES] ]\n"); in usage()
191 } else if (strcmp(*argv, "rate") == 0) { in act_parse_police()
193 if (p.rate.rate) { in act_parse_police()
194 fprintf(stderr, "Double \"rate\" spec\n"); in act_parse_police()
197 if (get_rate(&p.rate.rate, *argv)) { in act_parse_police()
198 explain1("rate"); in act_parse_police()
213 if (p.peakrate.rate) { in act_parse_police()
217 if (get_rate(&p.peakrate.rate, *argv)) { in act_parse_police()
260 if (p.rate.rate && !buffer) { in act_parse_police()
261 fprintf(stderr, "\"burst\" requires \"rate\".\n"); in act_parse_police()
[all …]
Dq_htb.c36 " r2q DRR quantums are computed as rate in Bps/r2q {10}\n" in explain()
39 "... class add ... htb rate R1 [burst B1] [mpu B] [overhead O]\n" in explain()
42 " rate rate allocated to this class (class can still borrow)\n" in explain()
44 " mpu minimum packet size used in rate computations\n" in explain()
45 " overhead per-packet size overhead used in rate computations\n" in explain()
47 " ceil definite upper class rate (no borrows) {rate}\n" in explain()
49 " mtu max packet size we create rate map for {1600}\n" in explain()
189 } else if (strcmp(*argv, "rate") == 0) { in htb_parse_class_opt()
192 fprintf(stderr, "Double \"rate\" spec\n"); in htb_parse_class_opt()
196 explain1("rate"); in htb_parse_class_opt()
[all …]
Dq_tbf.c28 …fprintf(stderr, "Usage: ... tbf limit BYTES burst BYTES[/BYTES] rate KBPS [ mtu BYTES[/BYTES] ]\n"… in explain()
123 } else if (strcmp(*argv, "rate") == 0) { in tbf_parse_opt()
126 fprintf(stderr, "tbf: duplicate \"rate\" specification\n"); in tbf_parse_opt()
130 explain1("rate", *argv); in tbf_parse_opt()
177 fprintf(stderr, "tbf: the \"rate\" parameter is mandatory.\n"); in tbf_parse_opt()
201 opt.rate.rate = (rate64 >= (1ULL << 32)) ? ~0U : rate64; in tbf_parse_opt()
202 opt.peakrate.rate = (prate64 >= (1ULL << 32)) ? ~0U : prate64; in tbf_parse_opt()
214 opt.rate.mpu = mpu; in tbf_parse_opt()
215 opt.rate.overhead = overhead; in tbf_parse_opt()
216 if (tc_calc_rtable(&opt.rate, rtab, Rcell_log, mtu, linklayer) < 0) { in tbf_parse_opt()
[all …]
Dq_netem.c43 " [ rate RATE [PACKETOVERHEAD] [CELLSIZE] [CELLOVERHEAD]]\n"); in explain()
182 struct tc_netem_rate rate; in netem_parse_opt() local
191 memset(&rate, 0, sizeof(rate)); in netem_parse_opt()
404 } else if (matches(*argv, "rate") == 0) { in netem_parse_opt()
408 explain1("rate"); in netem_parse_opt()
413 if (get_s32(&rate.packet_overhead, *argv, 0)) { in netem_parse_opt()
414 explain1("rate"); in netem_parse_opt()
420 if (get_u32(&rate.cell_size, *argv, 0)) { in netem_parse_opt()
421 explain1("rate"); in netem_parse_opt()
427 if (get_s32(&rate.cell_overhead, *argv, 0)) { in netem_parse_opt()
[all …]
/external/libnl/lib/route/sch/
Dtbf.c75 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 …]
Dhtb.c117 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/
DPPCScheduleE5500.td75 [30, 2, 2], // Latency= 4..26, Repeat rate= 4..26
81 [20, 2, 2], // Latency= 4..16, Repeat rate= 4..16
86 [11], // Latency = 7, Repeat rate = 1
90 [11, 2, 2], // Latency = 7, Repeat rate = 7
95 [9, 2, 2], // Latency = 4..7, Repeat rate = 2..4
101 [8, 2, 2], // Latency = 4, Repeat rate = 1
107 [8, 2, 2], // Latency = 4, Repeat rate = 1
123 [6, 2, 2], // Latency = 2, Repeat rate = 2
128 [5, 2, 2], // Latency = 1, Repeat rate = 1
133 [6, 2, 2], // Latency = 2, Repeat rate = 2
[all …]
/external/webrtc/webrtc/modules/video_coding/codecs/test/
Dvideoprocessor_integrationtest.cc31 // Maximum number of rate updates (i.e., calls to encoder to change bitrate
32 // and/or frame rate) for the current tests.
58 // The sequence of bitrate and frame rate changes for the encoder, the frame
68 // Metrics for the rate control. The rate mismatch metrics are defined as
70 // rate update is made to the encoder, for the encoder to reach within
71 // |kPercTargetvsActualMismatch| of new target rate. The metrics are defined for
72 // each rate update sequence.
96 // (PSNR and SSIM) and rate control metrics are computed to verify that the
97 // quality and encoder response is acceptable. The rate control tests allow us
98 // to verify the behavior for changing bitrate, changing frame rate, frame
[all …]
/external/autotest/client/site_tests/audio_CRASFormatConversion/
Daudio_CRASFormatConversion.py25 def play_sine_tone(self, frequence, rate): argument
29 rate: the sampling rate.
33 filename='-', rate=rate, frequence=frequence, gain=-6),
36 cras_utils.playback_cmd(playback_file='-', rate=rate),
51 tones (the 440 and 523 Hz sine wave) at the specified sampling rate.
55 @param primary: The first sample rate, HW will be set to this.
56 @param secondary: The second sample rate, will be SRC'd to the first.
66 # Start with the primary sample rate, then add the secondary. This
67 # causes the secondary to be SRC'd to the primary rate.
77 cras_utils.capture(record_file, duration=1, rate=44100)
[all …]
/external/libavc/encoder/
Dih264e_modify_frm_rate.h27 * Functions declarations used to modify frame rate
54 * The input frame rate set in the encoder (per 1000 sec)
59 * Frame rate of current frame due to pull down
70 * if greater than input frame rate stays at input frame rate
86 * @brief Function to init pd frame rate memtab
89 * Function to init pull down frame rate memtab
92 * pull down frame rate context
112 * @brief Initializes the pull down frame rate state structure based on input
113 * frame rate
116 * Initializes the pull down frame rate state structure based on input frame rate
[all …]
Dih264e_modify_frm_rate.c27 * Functions used to modify frame rate
84 * @brief Function to init pd frame rate memtab
87 * Function to init pull down frame rate memtab
90 * pull down frame rate context
116 /* for src rate control state structure */ in ih264e_pd_frm_rate_get_init_free_memtab()
131 * @brief Initializes the pull down frame rate state structure based on input
132 * frame rate
135 * Initializes the pull down frame rate state structure based on input frame rate
138 * Pull down frame rate context
141 * Input frame rate in frame per 1000sec
[all …]
Dih264e_rate_control.h27 * This file contains function declarations of api functions for h264 rate
50 * This function initializes rate control context and variables
53 * This function initializes rate control type, source and target frame rate,
58 * Handle to rate control api
70 * Maximum frame rate
73 * Source frame rate
76 * Target frame rate
79 * Rate control type
82 * Average bit rate
85 * Peak bit rate
[all …]
/external/autotest/client/cros/audio/
Dsox_utils.py12 def _raw_format_args(channels, bits, rate): argument
16 args += ['-r', str(rate)]
20 filename, channels=2, bits=16, rate=48000, duration=None, frequence=440,
27 @param rate: The sampling rate.
33 args += _raw_format_args(channels, bits, rate)
49 def noise_profile_cmd(input, output, channels=1, bits=16, rate=48000): argument
56 @param rate: The sampling rate.
59 args += _raw_format_args(channels, bits, rate)
70 input, output, noise_profile, channels=1, bits=16, rate=48000): argument
78 @param rate: The sampling rate.
[all …]
/external/iproute2/misc/
Difstat.c63 double rate[MAXS]; member
139 memset(&n->rate, 0, sizeof(n->rate)); in get_nlmsg()
213 unsigned rate; in load_raw_table() local
224 if (sscanf(p, "%u", &rate) != 1) in load_raw_table()
226 n->rate[i] = rate; in load_raw_table()
257 double *rates = n->rate; in dump_raw_db()
265 rates = h1->rate; in dump_raw_db()
345 fprintf(fp, "%8s/%-6s ", "RX Pkts", "Rate"); in print_head()
346 fprintf(fp, "%8s/%-6s ", "TX Pkts", "Rate"); in print_head()
347 fprintf(fp, "%8s/%-6s ", "RX Data", "Rate"); in print_head()
[all …]
Drtacct.c70 double rate[256*4]; member
132 static void format_rate(FILE *fp, double rate) in format_rate() argument
136 if (rate > 1024*1024) { in format_rate()
137 sprintf(temp, "%uM", (unsigned)rint(rate/(1024*1024))); in format_rate()
139 } else if (rate > 1024) { in format_rate()
140 sprintf(temp, "%uK", (unsigned)rint(rate/1024)); in format_rate()
143 fprintf(fp, " %-10u", (unsigned)rate); in format_rate()
185 double *rate; in dump_abs_db() local
191 rate = &kern_db->rate[realm*4]; in dump_abs_db()
194 !val[0] && !rate[0] && in dump_abs_db()
[all …]
/external/guava/guava/src/com/google/common/util/concurrent/
DRateLimiter.java36 * A rate limiter. Conceptually, a rate limiter distributes permits at a
37 * configurable rate. Each {@link #acquire()} blocks if necessary until a permit is
40 * <p>Rate limiters are often used to restrict the rate at which some
43 * accesses instead of the rate (note though that concurrency and rate are closely related,
46 * <p>A {@code RateLimiter} is defined primarily by the rate at which permits
48 * fixed rate, defined in terms of permits per second. Permits will be distributed
50 * that the configured rate is maintained.
54 * it hits the stable rate.
59 * final RateLimiter rateLimiter = RateLimiter.create(2.0); // rate is "2 permits per second"
70 * a rate of 5000 permits per second:
[all …]
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_payload_registry.cc44 const uint32_t rate, in RegisterReceivePayload() argument
90 channels, rate)) { in RegisterReceivePayload()
91 rtp_payload_strategy_->UpdatePayloadRate(payload, rate); in RegisterReceivePayload()
102 payload_name, payload_name_length, frequency, channels, rate); in RegisterReceivePayload()
106 payload_name, payload_type, frequency, channels, rate); in RegisterReceivePayload()
135 // There can't be several codecs with the same rate, frequency and channels
143 const uint32_t rate) { in DeregisterAudioCodecOrRedTypeRegardlessOfPayloadType() argument
153 // If audio, check frequency and rate. in DeregisterAudioCodecOrRedTypeRegardlessOfPayloadType()
156 channels, rate)) { in DeregisterAudioCodecOrRedTypeRegardlessOfPayloadType()
175 const uint32_t rate, in ReceivePayloadType() argument
[all …]
/external/iptables/extensions/
Dlibxt_rateest.man1 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/webrtc/modules/audio_coding/codecs/isac/main/include/
Disac.h32 * - 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
194 * This function decodes an ISAC frame. At 16 kHz sampling rate, the length
196 * 30 or 60 ms respectively. At 32 kHz sampling rate, the length of the
246 * This function sets the limit on the short-term average bit-rate and the
248 * rate, an average bit-rate between 10000 to 32000 bps is valid and a
[all …]
/external/iproute2/man/man8/
Dtc-htb.821 .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 …]
/external/webrtc/webrtc/modules/rtp_rtcp/test/testAPI/
Dtest_api_audio.cc68 const uint32_t rate) override { in OnInitializeDecoder() argument
70 EXPECT_EQ(test_rate, rate) << in OnInitializeDecoder()
71 "The rate should be 64K for this payloadType"; in OnInitializeDecoder()
191 (voice_codec.rate < 0) ? 0 : voice_codec.rate)); in TEST_F()
193 voice_codec.rate = test_rate; in TEST_F()
199 (voice_codec.rate < 0) ? 0 : voice_codec.rate)); in TEST_F()
224 (voice_codec.rate < 0) ? 0 : voice_codec.rate)); in TEST_F()
226 voice_codec.rate = test_rate; in TEST_F()
232 (voice_codec.rate < 0) ? 0 : voice_codec.rate)); in TEST_F()
251 (voice_codec.rate < 0) ? 0 : voice_codec.rate)); in TEST_F()
[all …]
/external/webrtc/webrtc/modules/video_coding/
Dqm_select.cc234 // |user_frame_rate| is the target frame rate for VPM frame dropper. in UpdateCodecParameters()
239 // Update rate data after every encoded frame.
263 // Sum the target bitrate: this is the encoder rate from previous update in UpdateRates()
271 // Sum the sequence rate mismatch: in UpdateRates()
272 // Mismatch here is based on the difference between the target rate in UpdateRates()
273 // used (in previous ~1sec) and the average actual encoding rate measured in UpdateRates()
279 // To check for consistent under(+)/over_shooting(-) of target rate. in UpdateRates()
282 // Update with the current new target and frame rate: in UpdateRates()
295 // Select the resolution factors: frame size and frame rate change (qm scales).
302 // temporal/frame rate reduction by 1/2 and 2/3.
[all …]

12345678910>>...62