HomeSort by relevance Sort by last modified time
    Searched refs:rate (Results 1 - 25 of 926) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/libvorbis/lib/
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,i,rate/2 / (i/2),toBARK(rate/2 /(i/2)),toBARK(rate/2))
    [all...]
  /external/iproute2/tc/
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,
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, *argv))
    [all...]
tc_cbq.c 27 unsigned tc_cbq_calc_maxidle(unsigned bndw, unsigned rate, unsigned avpkt,
35 if (bndw != rate && maxburst) {
36 double vxmt = (double)avpkt/rate - xmt;
44 unsigned tc_cbq_calc_offtime(unsigned bndw, unsigned rate, unsigned avpkt,
48 double offtime = (double)avpkt/rate - (double)avpkt/bndw;
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/
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...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/notification/
RateEstimatorTest.java 41 final float rate = mEstimator.getRate(mTestStartTime - 1000L); local
42 assertFalse(Float.isInfinite(rate));
43 assertFalse(Float.isNaN(rate));
56 final float rate = mEstimator.getRate(mTestStartTime); local
57 assertFalse(Float.isInfinite(rate));
58 assertFalse(Float.isNaN(rate));
66 final float rate = mEstimator.getRate(nextEventTime); local
67 assertLessThan("Rate", rate, 20f);
75 final float rate = mEstimator.getRate(nextEventTime) local
84 final float rate = mEstimator.getRate(nextEventTime); local
93 final float rate = mEstimator.getRate(nextEventTime); local
103 final float rate = mEstimator.getRate(nextEventTime + 5000L); \/\/ two seconds later local
112 final float rate = mEstimator.getRate(nextEventTime); local
118 final float rate = mEstimator.getRate(mTestStartTime); local
125 final float rate = mEstimator.getRate(mTestStartTime+1); local
148 final float rate = mEstimator.update(time); local
    [all...]
  /external/opencv3/3rdparty/include/ffmpeg_/libavutil/
timecode.h 44 AVRational rate; ///< frame rate in rational form member in struct:__anon20033
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...]
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);
  /frameworks/base/services/core/java/com/android/server/notification/
RateEstimator.java 21 * Exponentially weighted moving average estimator for event rate.
38 float rate; local
40 // No last event time, rate is zero.
41 rate = 0f;
45 rate = (float) (1.0 / mInterarrivalTime);
48 return rate;
51 /** @return the estimated rate if there were a new event right now. */
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
ProgressiveDownloadInformationBox.java 55 long rate; field in class:ProgressiveDownloadInformationBox.Entry
58 public Entry(long rate, long initialDelay) {
59 this.rate = rate;
64 return rate;
67 public void setRate(long rate) {
68 this.rate = rate;
82 "rate=" + rate
    [all...]
  /external/tinycompress/
utils.c 64 unsigned int compress_get_alsa_rate(unsigned int rate)
66 switch (rate) {
  /frameworks/base/media/java/android/media/
MediaTimestamp.java 21 * and the system time. It contains the media clock rate, together with the media timestamp
55 * Get the rate of the media clock in relation to the system time.
73 MediaTimestamp(long mediaUs, long systemNs, float rate) {
76 clockRate = rate;
  /external/webrtc/webrtc/modules/rtp_rtcp/source/mock/
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/
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 The sampling rate of the source audio
    [all...]
  /frameworks/base/core/java/android/view/
OrientationListener.java 53 * @param rate at which sensor events are processed (see also
58 public OrientationListener(Context context, int rate) {
59 mOrientationEventLis = new OrientationEventListenerInternal(context, rate);
67 OrientationEventListenerInternal(Context context, int rate) {
68 super(context, rate);
  /frameworks/wilhelm/src/itf/
IVisualization.c 23 slVisualizationCallback callback, void *pContext, SLmilliHertz rate)
27 if (!(0 < rate && rate <= 20000)) {
34 thiz->mRate = rate;
IRatePitch.c 22 static SLresult IRatePitch_SetRate(SLRatePitchItf self, SLpermille rate)
27 if (!(thiz->mMinRate <= rate && rate <= thiz->mMaxRate)) {
31 thiz->mRate = rate;
49 SLpermille rate = thiz->mRate; local
51 *pRate = rate;
  /external/webrtc/webrtc/modules/audio_coding/acm2/
acm_codec_database.cc 33 bool IsISACRateValid(int rate) {
34 return (rate == -1) || ((rate <= 56000) && (rate >= 10000));
38 bool IsILBCRateValid(int rate, int frame_size_samples) {
40 (rate == 13300)) {
43 (rate == 15200)) {
51 bool IsOpusRateValid(int rate) {
52 return (rate >= 6000) && (rate <= 510000)
    [all...]
  /external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/test/QA/
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
  /frameworks/base/media/jni/
android_media_MediaSync.h 45 status_t setPlaybackParams(const AudioPlaybackRate& rate);
46 void getPlaybackParams(AudioPlaybackRate* rate /* nonnull */);
49 status_t setVideoFrameRateHint(float rate);
  /prebuilts/gdb/darwin-x86/lib/python2.7/
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 = get_short_le(h[20:22]
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/
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 = get_short_le(h[20:22]
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
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 = get_short_le(h[20:22]
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
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 = get_short_le(h[20:22]
    [all...]

Completed in 1299 milliseconds

1 2 3 4 5 6 7 8 91011>>