Searched defs:rate (Results 1 - 25 of 147) sorted by relevance

123456

/external/libvorbis/lib/
H A Dbarkmel.c22 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/tinycompress/
H A Dutils.c64 unsigned int compress_get_alsa_rate(unsigned int rate) argument
66 switch (rate) {
/external/iproute2/tc/
H A Dtc_cbq.c27 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 Dq_choke.c41 unsigned rate = 0; local
59 if (get_rate(&rate, *argv)) {
106 if (!rate || !opt.limit) {
148 wlog = tc_red_eval_idle_damping(opt.Wlog, avpkt, rate, sbuf);
H A Dq_gred.c125 unsigned rate = 0; local
201 if (get_rate(&rate, *argv)) {
217 if (rate == 0)
218 get_rate(&rate, "10Mbit");
244 if ((wlog = tc_red_eval_idle_damping(opt.Wlog, avpkt, rate, sbuf)) < 0)
H A Dq_red.c42 unsigned rate = 0; local
89 if (get_rate(&rate, *argv)) {
112 if (rate == 0)
113 get_rate(&rate, "10Mbit");
141 if ((wlog = tc_red_eval_idle_damping(opt.Wlog, avpkt, rate, sbuf)) < 0) {
H A Dtc_core.c59 unsigned tc_calc_xmittime(unsigned rate, unsigned size) argument
61 return tc_core_time2tick(TIME_UNITS_PER_SEC*((double)size/rate));
64 unsigned tc_calc_xmitsize(unsigned rate, unsigned ticks) argument
66 return ((double)rate*tc_core_tick2time(ticks))/TIME_UNITS_PER_SEC;
75 * before doing the rate table lookup, as this gives better precision
115 unsigned bps = r->rate;
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/basis/
H A DNoiseAggregator.java35 * A simple aggregator basis. Takes two basis functions and a rate and return
43 private final float rate; field in class:NoiseAggregator
47 public NoiseAggregator(final Basis a, final Basis b, final float rate) { argument
50 this.rate = rate;
61 return this.a.value(x, y, z) * (1 - this.rate) + this.rate * this.b.value(x, y, z);
/external/jmonkeyengine/engine/src/test/jme3test/audio/
H A DTestDoppler.java51 private float rate = -0.05f; field in class:TestDoppler
86 angle += tpf * rate;
90 rate = -rate;
93 rate = -rate;
/external/jmonkeyengine/engine/src/test/jme3test/model/anim/
H A DTestOgreComplexAnim.java54 private float rate = 1; field in class:TestOgreComplexAnim
121 angle += tpf * rate;
124 rate = -1;
127 rate = 1;
/external/jmonkeyengine/engine/src/test/jme3test/model/shape/
H A DTestExpandingTorus.java15 private float rate = 1; field in class:TestExpandingTorus
37 rate = -rate;
40 rate = -rate;
42 outerRadius += rate * tpf;
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowSensorManager.java25 public boolean registerListener(SensorEventListener listener, Sensor sensor, int rate) { argument
/external/sonic/
H A DMain.java25 float rate,
40 sonic.setRate(rate);
65 float rate = 1.0f;
79 runSonic(stream, line, speed, pitch, rate, volume, emulateChordPitch, quality,
20 runSonic( AudioInputStream audioStream, SourceDataLine line, float speed, float pitch, float rate, float volume, boolean emulateChordPitch, int quality, int sampleRate, int numChannels) argument
H A Dmain.c22 float rate,
35 sonicSetRate(stream, rate);
65 " -r rate -- Set playback rate. 2.0 means 2X faster, and 2X pitch.\n"
79 float rate = 1.0f; local
102 rate = atof(argv[xArg]);
103 printf("Setting rate to %0.2fX\n", rate);
134 runSonic(inFile, outFile, speed, pitch, rate, volume, emulateChordPitch, quality,
17 runSonic( waveFile inFile, waveFile outFile, float speed, float pitch, float rate, float volume, int emulateChordPitch, int quality, int sampleRate, int numChannels) argument
/external/speex/include/speex/
H A Dspeex_header.h64 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/speex/libspeex/
H A Dspeex_header.c72 int rate;
86 EXPORT void speex_init_header(SpeexHeader *header, int rate, int nb_channels, const SpeexMode *m) argument
105 header->rate = rate;
131 ENDIAN_SWITCH(le_header->rate);
171 ENDIAN_SWITCH(le_header->rate);
H A Dvorbis_psy.h80 int rate; member in struct:__anon14339
91 VorbisPsy *vorbis_psy_init(int rate, int size);
/external/libopus/celt/
H A Dopus_custom_demo.c51 opus_int32 frame_size, channels, rate; local
64 fprintf (stderr, "Usage: test_opus_custom <rate> <channels> <frame size> "
65 " <bytes per packet> [<complexity> [packet loss rate]] "
70 rate = (opus_int32)atol(argv[1]);
73 mode = opus_custom_mode_create(rate, frame_size, NULL);
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
H A DProgressiveDownloadInformationBox.java55 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/opencv/cv/src/
H A D_cv.h103 double *rate; member in struct:CvPyramid
/external/ppp/pppd/plugins/pppoatm/
H A Dtext2qos.c30 unsigned int rate,fract; local
37 rate = strtoul(*text,&end,10);
47 if (rate > UINT_MAX/1000) return RATE_ERROR;
48 rate *= 1000;
63 rate += fract;
69 rate = (rate+(up ? 8*ATM_CELL_PAYLOAD-1 : 0))/8/
74 if (rate > INT_MAX) return RATE_ERROR;
76 return rate;
/external/webrtc/src/common_audio/vad/
H A Dvad_unittest.cc39 // Returns true if the rate and frame length combination is valid.
40 bool ValidRatesAndFrameLengths(int16_t rate, int16_t frame_length) { argument
41 if (rate == 8000) {
46 } else if (rate == 16000) {
52 if (rate == 32000) {
135 // Invalid sampling rate
142 // Loop through sampling rate and frame length combinations
/external/iptables/extensions/
H A Dlibxt_limit.c28 "--limit avg max average match rate: default "XT_LIMIT_AVG"\n"
44 int parse_rate(const char *rate, uint32_t *val) argument
50 delim = strchr(rate, '/');
66 r = atoi(rate);
73 * The rate maps to infinity. (1/day is the minimum they can
76 xtables_error(PARAMETER_PROBLEM, "Rate too fast \"%s\"\n", rate);
92 "Sorry: burst too large for that avg rate.\n");
104 "bad rate \"%s\"'", cb->arg);
/external/kernel-headers/original/uapi/rdma/
H A Dib_user_sa.h70 __u8 rate; member in struct:ib_user_path_rec
/external/netperf/
H A Dnetcpu_perfstat.c43 idle. The rate at which this increments during a test is compared
125 rate[MAXTIMES], local
166 rate[i] = (float)0.0;
250 if (temp_rate > rate[i]) rate[i] = temp_rate;
252 fprintf(where,"\trate[%d] = %g\n",i,rate[i]);
255 if (local_maxrate < rate[i]) local_maxrate = rate[i];

Completed in 747 milliseconds

123456