/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 | 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/autotest/client/site_tests/audio_Microphone/ |
H A D | audio_Microphone.py | 20 self, filesize, duration, channels, rate, bits=16): 21 expected = duration * channels * (bits / 8) * rate 26 def verify_alsa_capture(self, channels, rate, bits=16): 30 bits=bits, rate=rate) 33 DURATION, channels, rate, bits) 36 def verify_cras_capture(self, channels, rate): 40 rate=rate) 43 DURATION, channels, 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/opencv3/3rdparty/include/ffmpeg_/libavutil/ |
H A D | timecode.h | 44 AVRational rate; ///< frame rate in rational form member in struct:__anon14528 45 unsigned fps; ///< frame per second; must be consistent with the rate field 113 * @param rate frame rate in rational form 119 int av_timecode_init(AVTimecode *tc, AVRational rate, int flags, int frame_start, void *log_ctx); 127 * @param rate frame rate in rational form 131 int av_timecode_init_from_string(AVTimecode *tc, AVRational rate, const char *str, void *log_ctx); 134 * Check if the timecode feature is available for the given frame rate [all...] |
H A D | parseutils.h | 52 #define av_parse_ratio_quiet(rate, str, max) \ 53 av_parse_ratio(rate, str, max, AV_LOG_MAX_OFFSET, NULL) 69 * Parse str and store the detected values in *rate. 71 * @param[in,out] rate pointer to the AVRational which will contain the detected 72 * frame rate 74 * rate_num / rate_den, a float number or a valid video rate abbreviation 77 int av_parse_video_rate(AVRational *rate, const char *str);
|
/external/tinycompress/ |
H A D | utils.c | 64 unsigned int compress_get_alsa_rate(unsigned int rate) argument 66 switch (rate) {
|
/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/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/autotest/client/site_tests/audio_CRASFormatConversion/ |
H A D | audio_CRASFormatConversion.py | 25 def play_sine_tone(self, frequence, rate): 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, wil [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 | sox_utils.py | 12 def _raw_format_args(channels, bits, rate): 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): 56 @param rate: The sampling rate. 59 args += _raw_format_args(channels, bits, rate) [all...] |
H A D | audio_analysis_unittest.py | 17 rate = 48000 23 samples = length_in_secs * rate 25 x = numpy.linspace(0.0, (samples - 1) * 1.0 / rate, samples) 28 results = audio_analysis.spectral_analysis(y, rate) 60 rate = 48000 62 samples = length_in_secs * rate 66 results = audio_analysis.spectral_analysis(noise, rate) 91 self.rate = 48000 94 self.samples = length_in_secs * self.rate 96 0.0, (self.samples - 1) * 1.0 / self.rate, sel [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 | 25 extern void vp8_pick_intra_mode(MACROBLOCK *x, int *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/libnl/lib/route/sch/ |
H A D | htb.c | 117 rtnl_copy_ratespec(&d->ch_rate, &opts.rate); 119 d->ch_rbuffer = rtnl_tc_calc_bufsize(opts.buffer, opts.rate.rate); 120 d->ch_cbuffer = rtnl_tc_calc_bufsize(opts.cbuffer, opts.ceil.rate); 122 d->ch_overhead = (opts.rate.mpu >> 8) & 0xff; 123 d->ch_mpu = opts.rate.mpu & 0xff; 172 nl_dump(p, " rate %.2f%s/s (%.0f%s) log %u", 255 static uint8_t compute_cell(uint32_t rate, uint32_t mtu) argument 293 rtnl_rcopy_ratespec(&opts.rate, &d->ch_rate); 295 if (opts.rate 411 rtnl_htb_set_rate(struct rtnl_class *class, uint32_t rate) argument [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...] |