/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...] |
/frameworks/wilhelm/src/itf/ |
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;
|
IPlaybackRate.c | 22 static SLresult IPlaybackRate_SetRate(SLPlaybackRateItf self, SLpermille rate) 28 if (!(thiz->mMinRate <= rate && rate <= thiz->mMaxRate)) { 36 result = android_audioPlayer_setPlaybackRateAndConstraints(ap, rate, thiz->mProperties); 44 thiz->mRate = rate; 62 SLpermille rate = thiz->mRate; local 64 *pRate = rate; 128 SLpermille rate, SLuint32 *pCapabilities) 138 if (!(thiz->mMinRate <= rate && rate <= thiz->mMaxRate)) [all...] |
/external/google-benchmark/src/ |
console_reporter.cc | 83 std::string rate; local 85 rate = StrCat(" ", HumanReadableNumber(result.bytes_per_second), "B/s"); 111 13, rate.c_str(),
|
/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...] |
/external/ppp/pppd/plugins/pppoatm/ |
text2qos.c | 30 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;
|
/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/chromium-trace/catapult/third_party/coverage/coverage/ |
xmlreport.py | 27 def rate(hit, num): function 104 xpackage.setAttribute("line-rate", rate(lhits, lnum)) 106 branch_rate = rate(bhits, bnum) 109 xpackage.setAttribute("branch-rate", branch_rate) 117 xcoverage.setAttribute("line-rate", rate(lhits_tot, lnum_tot)) 119 branch_rate = rate(bhits_tot, bnum_tot) 122 xcoverage.setAttribute("branch-rate", branch_rate) 203 xclass.setAttribute("line-rate", rate(class_hits, class_lines) [all...] |
/external/iproute2/tc/ |
q_choke.c | 41 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);
|
q_red.c | 42 unsigned rate = 0; local 89 if (get_rate(&rate, *argv)) { 126 if (!rate) { 127 get_rate(&rate, "10Mbit"); 142 if ((parm = tc_red_eval_idle_damping(opt.Wlog, avpkt, rate, sbuf)) < 0) {
|
q_gred.c | 129 unsigned rate = 0; local 205 if (get_rate(&rate, *argv)) { 235 if (!rate) { 236 get_rate(&rate, "10Mbit"); 252 if ((parm = tc_red_eval_idle_damping(opt.Wlog, avpkt, rate, sbuf)) < 0)
|
q_fq.c | 56 fprintf(stderr, " [ maxrate RATE ] [ buckets NUMBER ]\n"); 218 unsigned int rate, quantum; local 266 rate = rta_getattr_u32(tb[TCA_FQ_FLOW_MAX_RATE]); 268 if (rate != ~0U) 269 fprintf(f, "maxrate %s ", sprint_rate(rate, b1)); 273 rate = rta_getattr_u32(tb[TCA_FQ_FLOW_DEFAULT_RATE]); 275 if (rate != 0) 276 fprintf(f, "defrate %s ", sprint_rate(rate, b1));
|
q_hfsc.c | 54 "SC := [ [ umax BYTE ] dmax SEC ] rate BPS\n" 58 " rate : rate\n" 340 unsigned int umax = 0, dmax = 0, rate = 0; local 360 if (matches(*argv, "rate") == 0) { 362 if (get_rate(&rate, *argv) < 0) { 363 explain1("rate"); 374 if (dmax != 0 && ceil(1.0 * umax * TIME_UNITS_PER_SEC / dmax) > rate) { 381 sc->m2 = rate; 385 * is at dmax - umax / rate [all...] |
/external/iw/ |
ibss.c | 30 float rate; local 139 rate = strtod(value, &end); 140 rates[n_rates] = rate * 2; 144 rate*2 != rates[n_rates]) 157 /* multicast rate */ 158 if (argc > 1 && strcmp(argv[0], "mcast-rate") == 0) { 162 rate = strtod(argv[0], &end); 166 NLA_PUT_U32(msg, NL80211_ATTR_MCAST_RATE, (int)(rate * 10)); 198 " [basic-rates <rate in Mbps,rate2,...>] [mcast-rate <rate in Mbps>] [all...] |
/external/speex/include/speex/ |
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/libopus/celt/ |
opus_custom_demo.c | 51 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/ |
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/opencv/cv/src/ |
_cv.h | 103 double *rate; member in struct:CvPyramid
|
/external/sonic/ |
main.c | 22 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,
|
/external/speex/libspeex/ |
vorbis_psy.h | 80 int rate; member in struct:__anon22692 91 VorbisPsy *vorbis_psy_init(int rate, int size);
|
/external/srtp/test/ |
rdbx_driver.c | 71 double rate; local 122 rate = rdbx_check_adds_per_second(1 << 18, 128); 123 printf("rdbx_check/replay_adds per second (ws=128): %e\n", rate); 124 rate = rdbx_check_adds_per_second(1 << 18, 1024); 125 printf("rdbx_check/replay_adds per second (ws=1024): %e\n", rate);
|
/external/webrtc/webrtc/modules/audio_coding/test/ |
Channel.cc | 389 printf("Average Rate.................. %.0f bits/sec\n", 394 "Maximum Instantaneous Rate.... %.0f bits/sec\n", 416 double rate; local 419 rate = ((double) _totalBytes * 8.0) / (double) (currTime - _beginTime); 421 return rate;
|
/external/wpa_supplicant_8/src/ap/ |
ap_list.c | 44 int rate = (ap->supported_rates[i] & 0x7f) * 5; local 45 if (rate == 60 || rate == 90 || rate > 110)
|
/bionic/libc/kernel/uapi/rdma/ |
ib_user_sa.h | 60 __u8 rate; member in struct:ib_user_path_rec
|
/device/google/contexthub/util/sensortest/ |
sensortest.cpp | 28 int32_t rate; member in struct:SensorConfig 125 .rate = atoi(argv[currArgumentIndex+2]), 133 .rate = atoi(argv[currArgumentIndex+2]), 158 .rate = atoi(argv[currArgumentIndex+2]), 166 .rate = atoi(argv[currArgumentIndex+2]), 217 mSensorConfigList[i].rate, mSensorConfigList[i].reportLatency) < 0) { 218 printf("Unable to register sensor %d with rate %d and report latency %d\n", mSensorConfigList[i].listIndex, 219 mSensorConfigList[i].rate, mSensorConfigList[i].reportLatency);
|