HomeSort by relevance Sort by last modified time
    Searched refs:rate (Results 1 - 25 of 1247) 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;
  /external/libnl/lib/cli/qdisc/
htb.c 23 " --r2q=DIV Rate to quantum divisor (default: 10)\n"
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
90 long rate; local
    [all...]
  /system/chre/platform/slpi/tests/
platform_sensor_util_test.cc 28 uint16_t rate = intervalToSmgrSamplingRate(Nanoseconds(0)); local
29 EXPECT_EQ(rate, 0);
34 uint16_t rate = intervalToSmgrSamplingRate(kTenHertzInterval); local
35 EXPECT_EQ(rate, 50);
40 uint16_t rate = intervalToSmgrSamplingRate(kZeroPointFiveHertzInterval); local
41 EXPECT_EQ(rate, 2000);
45 uint32_t rate = intervalToSmgrQ16ReportRate(Nanoseconds(0)); local
46 EXPECT_EQ(rate, UINT32_MAX);
51 uint32_t rate = intervalToSmgrQ16ReportRate(kTenHertzInterval); local
52 EXPECT_EQ(rate, 0x10000 * 50)
57 uint32_t rate = intervalToSmgrQ16ReportRate(kZeroPointFiveHertzInterval); local
62 uint32_t rate = intervalToSmgrQ16ReportRate(Nanoseconds(1)); local
    [all...]
  /frameworks/base/services/tests/notification/src/com/android/server/notification/
RateEstimatorTest.java 48 final float rate = mEstimator.getRate(mTestStartTime - 1000L); local
49 assertFalse(Float.isInfinite(rate));
50 assertFalse(Float.isNaN(rate));
63 final float rate = mEstimator.getRate(mTestStartTime); local
64 assertFalse(Float.isInfinite(rate));
65 assertFalse(Float.isNaN(rate));
73 final float rate = mEstimator.getRate(nextEventTime); local
74 assertLessThan("Rate", rate, 20f);
82 final float rate = mEstimator.getRate(nextEventTime) local
91 final float rate = mEstimator.getRate(nextEventTime); local
100 final float rate = mEstimator.getRate(nextEventTime); local
110 final float rate = mEstimator.getRate(nextEventTime + 5000L); \/\/ two seconds later local
119 final float rate = mEstimator.getRate(nextEventTime); local
125 final float rate = mEstimator.getRate(mTestStartTime); local
132 final float rate = mEstimator.getRate(mTestStartTime+1); local
155 final float rate = mEstimator.update(time); local
    [all...]
  /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...]
  /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/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/autotest/client/site_tests/audio_Microphone/
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/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.cpp 23 slVisualizationCallback callback, void *pContext, SLmilliHertz rate)
27 if (!(0 < rate && rate <= 20000)) {
34 thiz->mRate = rate;
IRatePitch.cpp 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;
  /packages/services/Car/service/src/com/android/car/hal/
SensorBase.java 29 boolean requestSensorStart(int sensor, int rate);
  /frameworks/hardware/interfaces/sensorservice/1.0/
IDirectReportChannel.hal 31 * Configure sensor direct report on a direct channel: set rate to value
33 * shared memory region used for creating the channel; set rate to STOP will
37 * sensorHandle to -1 and rate to STOP.
40 * and rate is STOP, the call must stop of all active
42 * @param rate rate level value to set on the specified sensor.
46 * rate level is not supported by sensor, etc);
54 configure(int32_t sensorHandle, RateLevel rate)
  /packages/services/Car/service/src/com/android/car/
Listeners.java 24 * This class wraps a set of listeners of a given type of event, grouped by event-transmission rate.
35 /** rate requested from client */
38 ClientWithRate(ClientType client, int rate) {
40 mRate = rate;
62 void setRate(int rate) {
63 mRate = rate;
72 /** rate sent to car */
75 Listeners(int rate) {
76 mRate = rate;
83 void setRate(int rate) {
    [all...]
  /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
  /external/autotest/client/cros/audio/
audio_quality_measurement.py 174 def noised_sine_wave(frequency, rate, noise_level):
178 @param rate: Sampling rate.
185 for index in xrange(0, rate * 2):
186 sample = 2.0 * math.pi * frequency * float(index) / float(rate)
214 def noise_level(amplitude, frequency, rate, teager_value_of_input):
225 @param rate: Sampling rate.
238 standard_wave = noised_sine_wave(frequency, rate, standard_noise)
258 def hilbert_analysis(signal, rate, block_size)
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
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...]
  /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);

Completed in 848 milliseconds

1 2 3 4 5 6 7 8 91011>>