/external/chromium_org/third_party/opus/src/tests/ |
test_opus_api.c | 289 int fp3s,rate; local 293 for(rate=0;rate<5;rate++) { 294 if((opus_rates[rate]*3/fp3s)!=opus_packet_get_samples_per_frame(packet,opus_rates[rate]))test_failed(); 1768 int rate,c,app,cfgs,err,useerr; local [all...] |
test_opus_encode.c | 241 int rate; local 245 rate=rates[j]+fast_rand()%rates[j]; 271 if(opus_encoder_ctl(enc, OPUS_SET_BITRATE(rate))!=OPUS_OK)test_failed(); 310 fprintf(stdout," Mode %s FB encode %s, %6d bps OK.\n",mstrings[modes[j]],rc==0?" VBR":rc==1?"CVBR":" CBR",rate); 327 int rate; local 333 rate=rates[j]+fast_rand()%rates[j]; 335 if(opus_multistream_encoder_ctl(MSenc, OPUS_SET_BITRATE(rate))!=OPUS_OK)test_failed(); 386 fprintf(stdout," Mode %s NB dual-mono MS encode %s, %6d bps OK.\n",mstrings[modes[j]],rc==0?" VBR":rc==1?"CVBR":" CBR",rate);
|
/external/chromium_org/third_party/speex/libspeex/ |
sb_celp.c | 1170 spx_int32_t i=10, rate, target; local 1221 spx_int32_t rate, target; local [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
bandwidth_estimator.c | 45 /* Received header rate. First value is for 30 ms packets and second for 60 ms */ 125 * This function updates bottle neck rate received from other side in payload 234 /* store far-side transmission rate */ 370 /* don't allow it to be less than frame rate - 10 ms */ 375 /* compute inverse receiving rate for last packet, in Q19 */ 396 /* Limit inv rate. Note that minBwInv > maxBwInv! */ 403 /* update bottle neck rate estimate */ 435 /* Q9 (only shift arrTimeDiff by 5 to simulate divide by 16 (need to revisit if change sampling rate) DH */ 488 /* Limit to minimum or maximum bottle neck rate (in Q30) */ 499 /* store far-side transmission rate */ 609 int32_t rate; local [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/source/ |
bandwidth_estimator.c | 158 // We have to adjust the header-rate if the first packet has a 167 /* compute far-side transmission rate */ 183 /* store far-side transmission rate */ 368 /* don't allow it to be less than frame rate - 10 ms */ 372 /* compute inverse receiving rate for last packet */ 380 // don't allow inv rate to be larger than MAX 385 /* update bottle neck rate estimate */ 435 /* limit minimum bottle neck rate */ 454 /* store far-side transmission rate */ 503 /* This function updates the send bottle neck rate */ 602 float rate; local [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/test/ |
simpleKenny.c | 59 double rate; local 140 printf("-rlim rateLim........ rate limit in bits/sec, \n"); 143 printf("-ave file............ record average rate of 3 sec intervales and *append* to 'file'.\n"); 161 fprintf(stderr,"\nfixed bottleneck rate of %d bits/s\n\n", bottleneck); 191 printf("cannot open file to write rate %s", averageFileName); 320 printf("cannot set the maximum rate %d.\n", rateLimit); 494 rate = ((double)totalbits * (sampFreqKHz)) / (double)totalsmpls; 498 printf("Sampling Rate......................... %d kHz\n", sampFreqKHz); 500 printf("Rate Limit............................ %d bits/sec \n", rateLimit); 516 rate); [all...] |
/external/fio/ |
stat.h | 194 uint32_t rate[DDIR_RWDIR_CNT]; member in struct:jobs_eta
|
/external/iproute2/misc/ |
ifstat.c | 60 double rate[MAXS]; member in struct:ifstat_ent 110 memset(&n->rate, 0, sizeof(n->rate)); 184 unsigned rate; local 195 if (sscanf(p, "%u", &rate) != 1) 197 n->rate[i] = rate; 221 double *rates = n->rate; 229 rates = h1->rate; 292 fprintf(fp, "%8s/%-6s ", "RX Pkts", "Rate"); [all...] |
nstat.c | 79 double rate; member in struct:nstat_ent 123 double rate; local 134 nr = sscanf(buf, "%s%llu%lg", idbuf, &val, &rate); 138 rate = 0; 146 n->rate = rate; 194 n->rate = 0; 265 if (!dump_zeros && !val && !n->rate) 279 fprintf(fp, "%-32s%-16llu%6.1f\n", n->id, val, n->rate); 303 if (!dump_zeros && !val && !n->rate) [all...] |
rtacct.c | 70 double rate[256*4]; member in struct:rtacct_data 133 void format_rate(FILE *fp, double rate) 137 if (rate > 1024*1024) { 138 sprintf(temp, "%uM", (unsigned)rint(rate/(1024*1024))); 140 } else if (rate > 1024) { 141 sprintf(temp, "%uK", (unsigned)rint(rate/1024)); 144 fprintf(fp, " %-10u", (unsigned)rate); 186 double *rate; local 192 rate = &kern_db->rate[realm*4] 248 double *rate; local [all...] |
/external/libopus/tests/ |
test_opus_api.c | 289 int fp3s,rate; local 293 for(rate=0;rate<5;rate++) { 294 if((opus_rates[rate]*3/fp3s)!=opus_packet_get_samples_per_frame(packet,opus_rates[rate]))test_failed(); 1768 int rate,c,app,cfgs,err,useerr; local [all...] |
test_opus_encode.c | 241 int rate; local 245 rate=rates[j]+fast_rand()%rates[j]; 271 if(opus_encoder_ctl(enc, OPUS_SET_BITRATE(rate))!=OPUS_OK)test_failed(); 310 fprintf(stdout," Mode %s FB encode %s, %6d bps OK.\n",mstrings[modes[j]],rc==0?" VBR":rc==1?"CVBR":" CBR",rate); 327 int rate; local 333 rate=rates[j]+fast_rand()%rates[j]; 335 if(opus_multistream_encoder_ctl(MSenc, OPUS_SET_BITRATE(rate))!=OPUS_OK)test_failed(); 386 fprintf(stdout," Mode %s NB dual-mono MS encode %s, %6d bps OK.\n",mstrings[modes[j]],rc==0?" VBR":rc==1?"CVBR":" CBR",rate);
|
/external/libvpx/libvpx/vp8/encoder/ |
encodemb.c | 204 int rate; member in struct:vp8_token_state 283 tokens[eob][0].rate = 0; 305 rate0 = tokens[next][0].rate; 306 rate1 = tokens[next][1].rate; 330 tokens[i][0].rate = base_bits + (best ? rate1 : rate0); 337 rate0 = tokens[next][0].rate; 338 rate1 = tokens[next][1].rate; 400 tokens[i][1].rate = base_bits + (best ? rate1 : rate0); 420 tokens[next][0].rate += mb->token_costs[type][band][0][t0]; 425 tokens[next][1].rate += mb->token_costs[type][band][0][t1] [all...] |
/external/speex/libspeex/ |
sb_celp.c | 1170 spx_int32_t i=10, rate, target; local 1221 spx_int32_t rate, target; local [all...] |
/external/tremolo/Tremolo/ |
codec_internal.h | 97 long rate; member in struct:__anon36177
|
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
bandwidth_estimator.c | 45 /* Received header rate. First value is for 30 ms packets and second for 60 ms */ 125 * This function updates bottle neck rate received from other side in payload 234 /* store far-side transmission rate */ 370 /* don't allow it to be less than frame rate - 10 ms */ 375 /* compute inverse receiving rate for last packet, in Q19 */ 396 /* Limit inv rate. Note that minBwInv > maxBwInv! */ 403 /* update bottle neck rate estimate */ 436 /* Q9 (only shift arrTimeDiff by 5 to simulate divide by 16 (need to revisit if change sampling rate) DH */ 489 /* Limit to minimum or maximum bottle neck rate (in Q30) */ 500 /* store far-side transmission rate */ 610 WebRtc_Word32 rate; local [all...] |
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
bandwidth_estimator.c | 158 // We have to adjust the header-rate if the first packet has a 167 /* compute far-side transmission rate */ 183 /* store far-side transmission rate */ 368 /* don't allow it to be less than frame rate - 10 ms */ 372 /* compute inverse receiving rate for last packet */ 380 // don't allow inv rate to be larger than MAX 385 /* update bottle neck rate estimate */ 435 /* limit minimum bottle neck rate */ 454 /* store far-side transmission rate */ 503 /* This function updates the send bottle neck rate */ 602 float rate; local [all...] |
/external/webrtc/src/modules/audio_processing/test/ |
unit_test.cc | 484 int rate[] = {16000, 44100, 48000}; local 485 for (size_t i = 0; i < sizeof(rate)/sizeof(*rate); i++) { 487 apm_->echo_cancellation()->set_device_sample_rate_hz(rate[i])); 488 EXPECT_EQ(rate[i], [all...] |
/frameworks/av/media/libmedia/ |
SoundPool.cpp | 242 int priority, int loop, float rate) 244 ALOGV("play sampleID=%d, leftVolume=%f, rightVolume=%f, priority=%d, loop=%d, rate=%f", 245 sampleID, leftVolume, rightVolume, priority, loop, rate); 276 channel->play(sample, channelID, leftVolume, rightVolume, priority, loop, rate); 403 void SoundPool::setRate(int channelID, float rate) 405 ALOGV("setRate(%d, %f)", channelID, rate); 409 channel->setRate(rate); 527 ALOGE("Sample rate (%u) out of range", sampleRate); 558 float rightVolume, int priority, int loop, float rate) 568 " priority=%d, loop=%d, rate=%f" 669 float rate; local [all...] |
/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
PlayerSession.java | 139 float rate = newState == PlaybackState.STATE_PLAYING ? 1 : 0; local 142 bob.setState(newState, position, rate, SystemClock.elapsedRealtime()); 186 float rate = 0; local 205 rate = 1; 213 bob.setState(pbState, position, rate, SystemClock.elapsedRealtime());
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
encodemb.c | 204 int rate; member in struct:vp8_token_state 283 tokens[eob][0].rate = 0; 305 rate0 = tokens[next][0].rate; 306 rate1 = tokens[next][1].rate; 330 tokens[i][0].rate = base_bits + (best ? rate1 : rate0); 337 rate0 = tokens[next][0].rate; 338 rate1 = tokens[next][1].rate; 400 tokens[i][1].rate = base_bits + (best ? rate1 : rate0); 420 tokens[next][0].rate += mb->token_costs[type][band][0][t0]; 425 tokens[next][1].rate += mb->token_costs[type][band][0][t1] [all...] |
/hardware/intel/common/utils/ISV/include/ |
isv_profile.h | 56 FRC_RATE rate; member in struct:_ISVFRCRate
|
/hardware/qcom/audio/legacy/libalsa-intf/ |
aplay.c | 59 {"Rate", 1, 0, 'R'}, 90 unsigned int requestedRate = pcm->rate; 115 param_set_int(params, SNDRV_PCM_HW_PARAM_RATE, pcm->rate); 164 static int play_file(unsigned rate, unsigned channels, int fd, 235 pcm->rate = rate; 472 int play_raw(const char *fg, int rate, int ch, const char *device, const char *fn) 495 return play_file(rate, ch, fd, flag, device, 0); 498 int play_wav(const char *fg, int rate, int ch, const char *device, const char *fn) 516 hdr.sample_rate = rate; 564 int rate = 44100; local [all...] |
arec.c | 63 {"Rate", 1, 0, 'R'}, 94 unsigned int requestedRate = pcm->rate; 118 param_set_int(params, SNDRV_PCM_HW_PARAM_RATE, pcm->rate); 178 int record_file(unsigned rate, unsigned channels, int fd, unsigned count, unsigned flags, const char *device) 208 pcm->rate = rate; 387 int rec_raw(const char *fg, const char *device, int rate, int ch, 408 count = rate * ch * 2; 414 ch, rate, 16, format); 421 return record_file(rate, ch, fd, count, flag, device) 513 int rate = 48000; local [all...] |
/device/htc/flounder/sensor_hub/libsensors/ |
CwMcuSensor.cpp | 414 int rate = 20, dev_num, enabled = 0, i; local [all...] |