/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 | m_police.c | 37 fprintf(stderr, "Usage: ... police rate BPS burst BYTES[/BYTES] [ mtu BYTES[/BYTES] ]\n"); 191 } else if (strcmp(*argv, "rate") == 0) { 193 if (p.rate.rate) { 194 fprintf(stderr, "Double \"rate\" spec\n"); 197 if (get_rate(&p.rate.rate, *argv)) { 198 explain1("rate"); 213 if (p.peakrate.rate) { 217 if (get_rate(&p.peakrate.rate, *arg [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;
|
H A D | tc_core.h | 21 unsigned tc_calc_xmittime(__u64 rate, unsigned size); 22 unsigned tc_calc_xmitsize(__u64 rate, unsigned ticks);
|
/external/libnl/lib/cli/qdisc/ |
H A D | htb.c | 75 " --rate=RATE Rate limit.\n" 76 " --ceil=RATE Rate limit while borrowing (default: equal to --rate).\n" 78 " --quantum=SIZE Amount of bytes to serve at once (default: rate/r2q).\n" 79 " --burst=SIZE Max charge size of rate burst buffer (default: auto).\n" 80 " --cburst=SIZE Max charge size of ceil rate burst buffer (default: auto)\n" 83 " # Attach class 1:1 to htb qdisc 1: and rate limit it to 20mbit\n" 84 " nl-class-add --dev=eth1 --parent=1: --classid=1:1 htb --rate=20mbit\n"); 90 long rate; local 104 { "rate", 1, 0, ARG_RATE }, 123 rate [all...] |
/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/tinycompress/ |
H A D | utils.c | 64 unsigned int compress_get_alsa_rate(unsigned int rate) argument 66 switch (rate) {
|
/external/autotest/client/site_tests/audio_Microphone/ |
H A D | audio_Microphone.py | 21 self, filesize, duration, channels, rate, bits=16): 22 expected = duration * channels * (bits / 8) * rate 27 def verify_alsa_capture(self, channels, rate, bits=16): 31 bits=bits, rate=rate) 34 DURATION, channels, rate, bits) 37 def verify_cras_capture(self, channels, rate): 41 rate=rate) 44 DURATION, channels, rate) [all...] |
/external/python/cpython2/Lib/test/ |
H A D | 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...] |
H A D | test_linuxaudiodev.py | 35 size, enc, rate, nchannels, extra = sunaudio.gethdr(fp) 52 self.dev.setparameters(rate, 16, nchannels, fmt) 59 rate = 8000 64 self.assertEqual(err.args[0], "expected rate >= 0, not -1") 66 self.dev.setparameters(rate, -2, nchannels, fmt) 70 self.dev.setparameters(rate, size, 3, fmt) 74 self.dev.setparameters(rate, size, nchannels, 177) 78 self.dev.setparameters(rate, size, nchannels, linuxaudiodev.AFMT_U16_LE) 83 self.dev.setparameters(rate, 16, nchannels, fmt)
|
/external/webrtc/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/autotest/client/site_tests/audio_CRASFormatConversion/ |
H A D | audio_CRASFormatConversion.py | 22 """Checks that sample rate conversion works in CRAS.""" 27 def play_sine_tone(self, frequency, rate): 31 @param rate: the sampling rate. 35 filename='-', rate=rate, frequencies=frequency, gain=-6), 38 cras_utils.playback_cmd(playback_file='-', rate=rate), 62 tones (the 440 and 523 Hz sine wave) at the specified sampling rate. 66 @param primary: The first sample rate, H [all...] |
/external/webrtc/webrtc/modules/audio_coding/acm2/ |
H A D | acm_codec_database.cc | 33 bool IsISACRateValid(int rate) { argument 34 return (rate == -1) || ((rate <= 56000) && (rate >= 10000)); 38 bool IsILBCRateValid(int rate, int frame_size_samples) { argument 40 (rate == 13300)) { 43 (rate == 15200)) { 51 bool IsOpusRateValid(int rate) { argument 52 return (rate >= 6000) && (rate < [all...] |
/external/webrtc/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/autotest/client/cros/audio/ |
H A D | audio_quality_measurement.py | 181 def noised_sine_wave(frequency, rate, noise_level): 185 @param rate: Sampling rate. 192 for index in xrange(0, rate * 2): 193 sample = 2.0 * math.pi * frequency * float(index) / float(rate) 221 def noise_level(amplitude, frequency, rate, teager_value_of_input): 232 @param rate: Sampling rate. 245 standard_wave = noised_sine_wave(frequency, rate, standard_noise) 265 def hilbert_analysis(signal, rate, block_siz [all...] |
H A D | sox_utils.py | 13 def _raw_format_args(channels, bits, rate): 18 @param rate: Sampling rate. 24 args += _format_args(channels, bits, rate) 28 def _format_args(channels, bits, rate): 33 @param rate: Sampling rate. 38 return ['-c', str(channels), '-b', str(bits), '-r', str(rate)] 42 filename, channels=2, bits=16, rate=48000, duration=None, frequencies=440, 49 @param rate [all...] |
/external/python/cpython2/Lib/ |
H A D | 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 [all...] |
/external/speex/include/speex/ |
H A D | 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);
|
/external/webrtc/webrtc/modules/rtp_rtcp/test/testAPI/ |
H A D | test_api_audio.cc | 68 const uint32_t rate) override { 70 EXPECT_EQ(test_rate, rate) << 71 "The rate should be 64K for this payloadType"; 191 (voice_codec.rate < 0) ? 0 : voice_codec.rate)); 193 voice_codec.rate = test_rate; 199 (voice_codec.rate < 0) ? 0 : voice_codec.rate)); 224 (voice_codec.rate < 0) ? 0 : voice_codec.rate)); [all...] |
/external/iproute2/misc/ |
H A D | rtacct.c | 70 double rate[256*4]; member in struct:rtacct_data 132 static void format_rate(FILE *fp, double rate) argument 136 if (rate > 1024*1024) { 137 sprintf(temp, "%uM", (unsigned)rint(rate/(1024*1024))); 139 } else if (rate > 1024) { 140 sprintf(temp, "%uK", (unsigned)rint(rate/1024)); 143 fprintf(fp, " %-10u", (unsigned)rate); 185 double *rate; local 191 rate = &kern_db->rate[real 247 double *rate; local [all...] |
/external/libvpx/libvpx/vp8/encoder/ |
H A D | pickinter.h | 24 extern void vp8_pick_intra_mode(MACROBLOCK *x, int *rate);
|
/external/syslinux/gpxe/src/include/gpxe/ |
H A D | rc80211.h | 16 void rc80211_update_rx ( struct net80211_device *dev, int retry, u16 rate );
|
/external/webrtc/webrtc/common_audio/vad/include/ |
H A D | webrtc_vad.h | 48 // consequence also the missed detection rate goes up. 73 // Checks for valid combinations of |rate| and |frame_length|. We support 10, 76 // - rate [i] : Sampling frequency (Hz). 80 int WebRtcVad_ValidRateAndFrameLength(int rate, size_t frame_length);
|
/external/esd/include/ |
H A D | esd.h | 22 /* default sample rate for the EsounD server */ 65 ESD_PROTO_SERVER_INFO, /* get server info (ver, sample rate, format) */ 129 /* rate, format = (bits | channels | stream | func) */ 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, 151 /* int esd_monitor_stream_fallback( 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, 201 int rate; /* sample rate */ member in struct:esd_server_info 212 int rate; /* sample rate */ member in struct:esd_player_info 227 int rate; /* sample rate */ member in struct:esd_sample_info [all...] |
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
H A D | rtp_payload_registry.cc | 44 const uint32_t rate, 90 channels, rate)) { 91 rtp_payload_strategy_->UpdatePayloadRate(payload, rate); 102 payload_name, payload_name_length, frequency, channels, rate); 106 payload_name, payload_type, frequency, channels, rate); 135 // There can't be several codecs with the same rate, frequency and channels 143 const uint32_t rate) { 153 // If audio, check frequency and rate. 156 channels, rate)) { 175 const uint32_t rate, 39 RegisterReceivePayload( const char payload_name[RTP_PAYLOAD_NAME_SIZE], const int8_t payload_type, const uint32_t frequency, const size_t channels, const uint32_t rate, bool* created_new_payload) argument 138 DeregisterAudioCodecOrRedTypeRegardlessOfPayloadType( const char payload_name[RTP_PAYLOAD_NAME_SIZE], const size_t payload_name_length, const uint32_t frequency, const size_t channels, const uint32_t rate) argument 171 ReceivePayloadType( const char payload_name[RTP_PAYLOAD_NAME_SIZE], const uint32_t frequency, const size_t channels, const uint32_t rate, int8_t* payload_type) const argument [all...] |