/bionic/libc/kernel/uapi/sound/ |
asoc.h | 180 __le32 rate; member in struct:snd_soc_tplg_stream
|
/development/ndk/platforms/android-3/include/linux/ |
fd.h | 30 rate, member in struct:floppy_struct 33 #define FD_SIZECODE(floppy) (((((floppy)->rate&FD_SIZECODEMASK)>> 3)+ 2) %8) 34 #define FD_SECTSIZE(floppy) ( (floppy)->rate & FD_2M ? 512 : 128 << FD_SIZECODE(floppy) ) 240 unsigned char rate; member in struct:floppy_raw_cmd
|
/device/google/contexthub/firmware/src/drivers/orientation/ |
orientation.c | 42 // needs to be greater than max raw sensor rate ratio 46 * FIFO_MARGIN: max raw sensor rate ratio is 8:1. 47 * If 2 batchs of high rate data comes before 1 low rate data, there can be at max 15 samples left 100 uint32_t rate; member in struct:FusionSensor 144 //should match "supported rates in length" and be the timer length for that rate in nanosecs 604 static bool fusionSetRate(uint32_t rate, uint64_t latency, void *cookie) 612 mSensor->rate = rate; 617 max_rate = max_rate > mTask.sensors[i].rate ? max_rate : mTask.sensors[i].rate [all...] |
/device/google/contexthub/firmware/src/ |
osApi.c | 145 uint32_t rate = va_arg(args, uint32_t); local 150 *retValP = sensorRequest(0, sensorHandle, rate, latency);
|
/external/autotest/client/profilers/powertop/src/ |
powertop.c | 490 double rate = 0; local 538 if (strstr(line, "present rate") && strstr(c, "mW")) 541 if (strstr(line, "present rate") && strstr(c, "mA")) 548 rate += watts_drawn + voltage * amperes_drawn; 555 if (prev_bat_cap - cap < 0.001 && rate < 0.001) 568 show_acpi_power_line(rate, cap, prev_bat_cap - cap, time(NULL) - prev_bat_time); 650 double rate = 0; local 737 rate += watts_drawn + voltage * amperes_drawn; 744 if (prev_bat_cap - cap < 0.001 && rate < 0.001) 757 show_acpi_power_line(rate, cap, prev_bat_cap - cap, time(NULL) - prev_bat_time) [all...] |
/external/fio/ |
backend.c | 142 * Check if we are above the minimum rate given. 150 unsigned long rate; local 173 * if rate blocks is set, sample is running 180 if (td->o.rate[ddir]) { 182 * check bandwidth specified rate 185 log_err("%s: min rate %u not met\n", td->o.name, 190 rate = ((bytes - td->rate_bytes[ddir]) * 1000) / spent; 192 rate = 0; 194 if (rate < ratemin || 196 log_err("%s: min rate %u not met, got [all...] |
stat.c | 1819 unsigned long spent, rate; local [all...] |
/external/fio/t/ |
btrace2fio.c | 745 printf("rate="); 747 unsigned long rate; local 749 rate = o_to_kb_rate(o, i); 752 if (rate) 753 printf("%luk", rate); 798 unsigned long rate; local 809 rate = 0; 818 rate += this_rate; 821 if (rate < rate_threshold) 1024 log_err("\t-r\tIgnore jobs with less than this KB/sec rate\n") [all...] |
/external/kernel-headers/original/uapi/sound/ |
asoc.h | 204 __le32 rate_min; /* min rate */ 205 __le32 rate_max; /* max rate */ 223 __le32 rate; /* SNDRV_PCM_RATE_* */ member in struct:snd_soc_tplg_stream
|
/external/opencv3/modules/imgproc/src/ |
pyramids.cpp | 1387 float rate = 2.f; local [all...] |
/external/sonic/ |
Sonic.java | 25 private float rate; field in class:Sonic 122 // Get the rate of the stream. 125 return rate; 128 // Set the playback rate of the stream. This scales pitch and speed at the same time. 130 float rate) 132 this.rate = rate; 207 rate = 1.0f; 214 // Get the sample rate of the stream. 220 // Set the sample rate of the stream. This will cause samples buffered in the stream to be lost [all...] |
sonic.c | 29 float rate; member in struct:sonicStreamStruct 117 /* Get the rate of the stream. */ 121 return stream->rate; 124 /* Set the playback rate of the stream. This scales pitch and speed at the same time. */ 127 float rate) 129 stream->rate = rate; 267 stream->rate = 1.0f; 275 /* Get the sample rate of the stream. */ 282 /* Set the sample rate of the stream. This will cause samples buffered in the stream t 552 float rate = stream->rate*stream->pitch; local 1052 float rate = stream->rate; local [all...] |
/external/speex/libspeex/ |
preprocess.c | 185 int sampling_rate; /**< Sampling rate of the input/output */ 575 float rate; local 586 /*rate=2.0f*Pframe*Pframe/(1+st->nb_loudness_adapt);*/ 587 rate = .03*Pframe*Pframe; 588 st->loudness = (1-rate)*st->loudness + (rate)*pow(AMP_SCALE*loudness, LOUDNESS_EXP); 589 st->loudness_accum = (1-rate)*st->loudness_accum + rate; [all...] |
/external/svox/pico/tts/ |
com_svox_picottsengine.cpp | 54 /* speaking rate */ 93 const char * picoSupportedProperties[] = { "language", "rate", "pitch", "volume" }; 113 int picoProp_currRate = PICO_DEF_RATE; /* current rate */ 538 if (picoProp_currRate != PICO_DEF_RATE) { /* non-default rate */ 1318 int rate; local [all...] |
/external/v8/src/ |
compiler.cc | 1090 HistogramTimer* rate = parse_info->is_eval() local [all...] |
/external/webrtc/webrtc/modules/rtp_rtcp/include/ |
rtp_rtcp_defines.h | 39 uint32_t rate; member in struct:webrtc::AudioPayload 214 const uint32_t rate) = 0; 337 const uint32_t rate) override {
|
/external/webrtc/webrtc/modules/video_coding/ |
jitter_buffer.cc | 416 float rate = 0.5f + ((incoming_frame_count_ * 1000.0f) / diff); local 417 if (rate < 1.0f) { 418 rate = 1.0f; 421 // Calculate frame rate 422 // Let r be rate. 427 *framerate = (incoming_frame_rate_ + static_cast<unsigned int>(rate)) / 2; 428 incoming_frame_rate_ = static_cast<unsigned int>(rate); 430 // Calculate bit rate [all...] |
/external/wpa_supplicant_8/src/ap/ |
ieee802_1x.c | 291 u8 rate = 0; local 294 if ((sta->supported_rates[i] & 0x7f) > rate) 295 rate = sta->supported_rates[i] & 0x7f; 297 return rate; [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
scan.c | 1541 int rate = 0; local 1997 int rate; \/* max legacy rate in 500 kb\/s units *\/ local [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
NuPlayerRenderer.cpp | 179 status_t NuPlayer::Renderer::setPlaybackSettings(const AudioPlaybackRate &rate) { 181 writeToAMessage(msg, rate); 190 status_t NuPlayer::Renderer::onConfigPlayback(const AudioPlaybackRate &rate /* sanitized */) { 191 if (rate.mSpeed == 0.f) { 196 AudioPlaybackRate newRate = rate; 203 status_t err = mAudioSink->setPlaybackRate(rate); 208 mPlaybackSettings = rate; 209 mPlaybackRate = rate.mSpeed; 214 status_t NuPlayer::Renderer::getPlaybackSettings(AudioPlaybackRate *rate /* nonnull */) { 221 readFromAMessage(response, rate); 572 AudioPlaybackRate rate; local 585 AudioPlaybackRate rate = AUDIO_PLAYBACK_RATE_DEFAULT; local [all...] |
/frameworks/av/media/libstagefright/ |
AVIExtractor.cpp | 613 uint32_t rate = U32LE_AT(&data[20]); local 655 track->mRate = rate; [all...] |
/frameworks/base/core/jni/ |
android_media_AudioTrack.cpp | 817 AudioPlaybackRate rate = lpTrack->getPlaybackRate(); local 820 rate.mSpeed = pbp.audioRate.mSpeed; 824 rate.mPitch = pbp.audioRate.mPitch; 828 rate.mFallbackMode = pbp.audioRate.mFallbackMode; 832 rate.mStretchMode = pbp.audioRate.mStretchMode; 836 if (lpTrack->setPlaybackRate(rate) != OK) { [all...] |
/hardware/bsp/intel/peripheral/audio/generic/ |
audio_hal.c | 352 uint32_t rate = proxy_get_sample_rate(&((struct stream_out*)stream)->proxy); local 353 ALOGV("out_get_sample_rate() = %d", rate); 354 return rate; 357 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) 639 /* Rate */ 641 proxy_config.rate = config->sample_rate = profile_get_default_sample_rate(out->profile); 643 proxy_config.rate = config->sample_rate; 645 ALOGE("%s: The requested sample rate (%d) is not valid", __func__, config->sample_rate); 646 proxy_config.rate = config->sample_rate = profile_get_default_sample_rate(out->profile); 732 /* TODO This needs to be calculated based on format/channels/rate */ 741 uint32_t rate = proxy_get_sample_rate(&((const struct stream_in *)stream)->proxy); local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
pickinter.c | 148 int rate; local 159 rate = mode_costs[mode]; 164 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion); 168 *bestrate = rate; 184 int *Rate, 230 *Rate = cost; 589 int rate; local 806 pick_intra4x4mby_modes(x, &rate, &distortion2); 814 rate2 += rate; 1255 int rate, best_rate = 0, distortion, best_sse = 0; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
vp9_block.h | 49 int rate; member in struct:__anon30232
|