/external/speex/libspeex/ |
H A D | vorbis_psy.h | 80 int rate; member in struct:__anon17190 91 VorbisPsy *vorbis_psy_init(int rate, int size);
|
H A D | speex_header.c | 72 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);
|
/external/tinyalsa/ |
H A D | tinyplay.c | 64 unsigned int rate, unsigned int bits, unsigned int period_size, 188 unsigned int rate, unsigned int bits, unsigned int period_size, 200 can_play = check_param(params, PCM_PARAM_RATE, rate, "Sample rate", "Hz"); 212 unsigned int rate, unsigned int bits, unsigned int period_size, 223 config.rate = rate; 234 if (!sample_is_playable(card, device, channels, rate, bits, period_size, period_count)) { 254 printf("Playing sample: %u ch, %u hz, %u bit\n", channels, rate, bits); 187 sample_is_playable(unsigned int card, unsigned int device, unsigned int channels, unsigned int rate, unsigned int bits, unsigned int period_size, unsigned int period_count) argument 211 play_sample(FILE *file, unsigned int card, unsigned int device, unsigned int channels, unsigned int rate, unsigned int bits, unsigned int period_size, unsigned int period_count) argument
|
/external/webrtc/webrtc/modules/audio_coding/codecs/g722/ |
H A D | g722_enc_dec.h | 139 int rate, 148 int rate,
|
/external/webrtc/webrtc/modules/audio_processing/transient/test/ |
H A D | readPCM.m | 10 %fs: The signal sample rate in Hertz.
|
/external/iproute2/tc/ |
H A D | tc_util.c | 195 int get_rate(unsigned *rate, const char *str) argument 216 *rate = bps; 218 if (*rate != floor(bps)) 223 int get_rate64(__u64 *rate, const char *str) argument 244 *rate = bps; 248 void print_rate(char *buf, int len, __u64 rate) argument 256 rate <<= 3; /* bytes/sec -> bits/sec */ 259 if (rate < kilo) 261 if (((rate % kilo) != 0) && rate < 100 269 sprint_rate(__u64 rate, char *buf) argument [all...] |
H A D | tc_core.c | 59 unsigned tc_calc_xmittime(__u64 rate, unsigned size) argument 61 return tc_core_time2tick(TIME_UNITS_PER_SEC*((double)size/(double)rate)); 64 unsigned tc_calc_xmitsize(__u64 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 105 /* Notice, the rate table calculated here, have gotten replaced in the 130 unsigned bps = r->rate;
|
H A D | q_fq.c | 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));
|
H A D | tc_util.h | 63 extern int get_rate(unsigned *rate, const char *str); 64 extern int get_rate64(__u64 *rate, const char *str); 70 extern void print_rate(char *buf, int len, __u64 rate); 76 extern char * sprint_rate(__u64 rate, char *buf);
|
/external/srtp/test/ |
H A D | 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/codecs/opus/ |
H A D | audio_encoder_opus_unittest.cc | 90 // Set the minimum rate. 93 // Set the maximum rate. 97 for (int rate = 1000; rate <= 32000; rate += 1000) { 98 encoder_->SetTargetBitrate(rate); 99 EXPECT_EQ(rate, encoder_->GetTargetBitrate()); 116 // Sets the packet loss rate to each number in the vector in turn, and verifies 117 // that the loss rate as reported by the encoder is |expected_return| for all
|
/external/libvpx/libvpx/vp9/encoder/ |
H A D | vp9_pickmode.c | 265 int rate; local 417 dc_quant >> (xd->bd - 5), &rate, &dist); 420 dc_quant >> 3, &rate, &dist); 424 dc_quant >> 3, &rate, &dist); 429 *out_rate_sum = rate >> 1; 439 ac_quant >> (xd->bd - 5), &rate, &dist); 442 ac_quant >> 3, &rate, &dist); 446 ac_quant >> 3, &rate, &dist); 449 *out_rate_sum += rate; 461 int rate; local 565 block_yrd(VP9_COMP *cpi, MACROBLOCK *x, int *rate, int64_t *dist, int *skippable, int64_t *sse, int plane, BLOCK_SIZE bsize, TX_SIZE tx_size) argument 578 block_yrd(VP9_COMP *cpi, MACROBLOCK *x, int *rate, int64_t *dist, int *skippable, int64_t *sse, int plane, BLOCK_SIZE bsize, TX_SIZE tx_size) argument 700 int rate; local 774 encode_breakout_test(VP9_COMP *cpi, MACROBLOCK *x, BLOCK_SIZE bsize, int mi_row, int mi_col, MV_REFERENCE_FRAME ref_frame, PREDICTION_MODE this_mode, unsigned int var_y, unsigned int sse_y, struct buf_2d yv12_mb[][MAX_MB_PLANE], int *rate, int64_t *dist) argument 877 int rate; member in struct:estimate_block_intra_args 895 int rate; local [all...] |
/external/chromium-trace/catapult/third_party/coverage/coverage/ |
H A D | 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", rat [all...] |
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
H A D | MovieHeaderBox.java | 40 private double rate = 1.0; field in class:MovieHeaderBox 76 return rate; 116 rate = IsoTypeReader.readFixedPoint1616(content); 148 result.append("rate=").append(getRate()); 176 IsoTypeWriter.writeFixedPont1616(byteBuffer, rate); 215 public void setRate(double rate) { argument 216 this.rate = rate;
|
/external/netperf/src/ |
H A D | netcpu_kstat.c | 41 idle. The rate at which this increments during a test is compared 259 rate[MAXTIMES], local 287 rate[i] = (float)0.0; 329 if (temp_rate > rate[i]) rate[i] = temp_rate; 331 fprintf(where,"\trate[%d] = %g\n",i,rate[i]); 334 if (local_maxrate < rate[i]) local_maxrate = rate[i];
|
H A D | netcpu_perfstat.c | 43 idle. The rate at which this increments during a test is compared 125 rate[MAXTIMES], local 166 rate[i] = (float)0.0; 254 if (temp_rate > rate[i]) rate[i] = temp_rate; 256 fprintf(where,"\trate[%d] = %g\n",i,rate[i]); 259 if (local_maxrate < rate[i]) local_maxrate = rate[i];
|
H A D | netcpu_pstat.c | 34 idle. The rate at which this increments during a test is compared 95 cpu rate to the calling routine. */ 108 rate[MAXTIMES], local 139 rate[i] = 0.0; 201 if (temp_rate > rate[i]) rate[i] = temp_rate; 203 fprintf(where,"\trate[%d] = %g\n",i,rate[i]); 206 if (local_maxrate < rate[i]) local_maxrate = rate[i];
|
/external/libnl/lib/route/sch/ |
H A D | tbf.c | 75 tbf->qt_mpu = opts.rate.mpu; 77 rtnl_copy_ratespec(&tbf->qt_rate, &opts.rate); 80 opts.rate.rate); 86 opts.peakrate.rate); 114 nl_dump(p, " rate %.2f%s/s (%.0f%s) limit %.2f%s", 131 nl_dump(p, "mpu %u rate-bucket-size %1.f%s " 132 "rate-cell-size %.1f%s\n", 147 nl_dump_line(p, " peak-rate %.2f%s/s (%.0f%s) " 175 rtnl_rcopy_ratespec(&opts.rate, 365 rtnl_qdisc_tbf_set_rate(struct rtnl_qdisc *qdisc, int rate, int bucket, int cell) argument 444 rtnl_qdisc_tbf_set_peakrate(struct rtnl_qdisc *qdisc, int rate, int bucket, int cell) argument [all...] |
/external/libopus/src/ |
H A D | opus_compare.c | 183 unsigned rate; local 198 rate=48000; 203 rate=atoi(_argv[2]); 204 if(rate!=8000&&rate!=12000&&rate!=16000&&rate!=24000&&rate!=48000){ 206 "Sampling rate must be 8000, 12000, 16000, 24000, or 48000\n"); 209 downsample=48000/rate; [all...] |
/external/autotest/client/cros/audio/ |
H A D | audio_helper.py | 474 input_audio, channel_index, channels=2, bits=16, rate=48000): 482 @param rate: The sampling rate. 489 input_audio, channels=channels, bits=bits, rate=rate) 494 channels=channels, bits=bits, rate=rate), 497 sox_utils.stat_cmd('-', channels=1, bits=bits, rate=rate), 504 def get_rms(input_audio, channels=1, bits=16, rate [all...] |
/external/autotest/client/cros/multimedia/ |
H A D | audio_facade_native.py | 34 channel=1, rate=48000), 36 channel=2, rate=48000)] 39 file_type='raw', sample_format='S16_LE', channel=2, rate=48000) 137 file_type, sample_format, channel, and rate. 142 rate: sampling rate. 182 rate: sampling rate. 335 rate: sampling rate [all...] |
/external/iproute2/misc/ |
H A D | nstat.c | 82 double rate; member in struct:nstat_ent 126 double rate; local 137 nr = sscanf(buf, "%s%llu%lg", idbuf, &val, &rate); 141 rate = 0; 148 n->rate = rate; 207 n->rate = 0; 289 if (!dump_zeros && !val && !n->rate) 307 fprintf(fp, "%-32s%-16llu%6.1f\n", n->id, val, n->rate); 344 if (!dump_zeros && !val && !n->rate) [all...] |
/external/iproute2/testsuite/tests/tc/ |
H A D | cls-testbed.t | 25 cbq bandwidth 100mbit rate 100mbit allot 1514 prio 3 \ 38 htb rate 100Mbit quantum 1514
|
/external/iptables/extensions/ |
H A D | libxt_limit.c | 28 "--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/linux/ |
H A D | fd.h | 31 rate, /* data rate. |= 0x40 for perpendicular */ member in struct:floppy_struct 34 #define FD_SIZECODE(floppy) (((((floppy)->rate&FD_SIZECODEMASK)>> 3)+ 2) %8) 35 #define FD_SECTSIZE(floppy) ( (floppy)->rate & FD_2M ? \ 39 spec1, /* stepping rate, head unload time */ 132 unsigned long max_dtr; /* Step rate, usec */ 136 unsigned long srt; /* Step rate, usec */ 358 unsigned char rate; member in struct:floppy_raw_cmd
|