/system/media/audio_utils/ |
resampler.c | 32 uint32_t in_sample_rate; // input sampling rate in Hz 33 uint32_t out_sample_rate; // output sampling rate in Hz 88 // update and cache the number of frames needed at the input sampling rate to produce 89 // the number of frames requested at the output sampling rate 101 // the output sampling rate
|
/external/aac/libAACenc/src/ |
aacenc.h | 122 AAC_ENC_UNSUPPORTED_BITRATE_MODE = 0x3028, /*!< Unsupported bit rate mode (CBR or VBR). */ 129 AAC_ENC_UNSUPPORTED_SAMPLINGRATE = 0x3100, /*!< Sample rate of audio input is not supported. */ 183 INT sampleRate; /* encoder sample rate */ 184 INT bitRate; /* encoder bit rate in bits/sec */ 190 INT averageBits; /* encoder bit rate in bits/superframe */ 201 INT anc_Rate; /* ancillary rate, 0 (disabled), -1 (default) else desired rate */ 207 UINT sbrRatio; /* sbr sampling rate ratio: dual- or single-rate */ 226 * \brief Limit given bit rate to a valid valu [all...] |
/external/wpa_supplicant_8/src/ap/ |
hw_features.c | 61 "Fetching hardware channel/rate support not " 148 wpa_printf(MSG_ERROR, "Failed to allocate memory for rate " 154 struct hostapd_rate_data *rate; local 161 rate = &iface->current_rates[iface->num_rates]; 162 rate->rate = mode->rates[i]; 163 if (hostapd_rate_found(basic_rates, rate->rate)) { 164 rate->flags |= HOSTAPD_RATE_BASIC; 167 wpa_printf(MSG_DEBUG, "RATE[%d] rate=%d flags=0x%x" [all...] |
/frameworks/base/media/java/android/media/audiofx/ |
Visualizer.java | 51 * The rate at which the listener capture method is called as well as the type of data returned is 293 * Returns the maximum capture rate for the callback capture method. This is the maximum value 294 * for the rate parameter of the 296 * @return the maximum capture rate expressed in milliHertz 408 * Returns the sampling rate of the captured audio. 409 * @return the sampling rate in milliHertz. 445 * the sampling rate returned by {@link #getSamplingRate()}. The capture returns the real and 552 * @param samplingRate sampling rate of the audio visualized. 563 * @param samplingRate sampling rate of the audio visualized. 569 * Registers an OnDataCaptureListener interface and specifies the rate at which the captur [all...] |
/external/chromium_org/net/quic/congestion_control/ |
inter_arrival_sender.cc | 203 DVLOG(1) << "Probe result; new rate:" 246 // Calculate new pace rate. 314 // Calculate new pace rate. 394 // We have drained more than the elapsed time... go back to our old rate. 405 // We drained faster than our old send rate, go back to our old rate. 408 // Use our drain rate and our kMinBitrateReduction to go to our 413 DVLOG(1) << "Draining calculation; current rate:" 415 << "draining rate:"
|
/external/chromium_org/third_party/opus/src/silk/ |
main.h | 52 opus_int fs_kHz, /* I Sample rate (kHz) */ 62 opus_int fs_kHz, /* I Samples rate (kHz) */ 131 /* Control internal sampling rate */ 216 opus_int32 *rate_dist_Q14, /* O best weighted quant error + mu * rate */ 221 const opus_int mu_Q9, /* I tradeoff betw. weighted error and rate */ 242 const opus_int Lambda_Q10, /* I Rate/distortion tradeoff */ 261 const opus_int Lambda_Q10, /* I Rate/distortion tradeoff */ 304 const opus_int NLSF_mu_Q20, /* I Rate weight for the RD optimization */ 356 /* Set decoder sampling rate */
|
/external/qemu/ |
shaper.c | 42 * rate to a given constant MAX_RATE expressed as bits/second. this means 51 * there are different (queue/timer/rate) values for the input and output 103 double max_rate; /* max rate expressed in bytes/second */ 104 double inv_rate; /* inverse of max rate */ 184 double rate ) 186 /* send all current packets when changing the rate */ 195 shaper->max_rate = rate; 196 if (rate > 1.) { 197 shaper->inv_rate = (8.*SHAPER_CLOCK_UNIT)/rate; /* qemu_get_clock returns time in ms */
|
/hardware/ti/omap3/omx/video/src/openmax_il/video_encode/inc/ |
OMX_VideoEnc_DSP.h | 216 OMX_U32 refFrameRate; /* Reference or input frame rate*1000 */ 217 OMX_U32 targetFrameRate; /* Target frame rate * 1000 */ 218 OMX_U32 targetBitRate; /* Target bit rate in bits per second */ 255 OMX_U32 perceptualQuant ; /* Enable Perceptual Quantization a.k.a. Perceptual Rate Control*/ 271 OMX_U32 sliceGroupChangeRate ; /* Slice Group Change Rate: Only valid when sliceGroupMapType 405 * IVIDEO_DEFAULT => Default rate control of encoder 406 * IVIDEO_LOW_DELAY => CBR rate control for video conferencing 407 * IVIDEO_STORAGE => VBR rate control for local storage (DVD) recording 408 * IVIDEO_TWOPASS => two pass rate control for non real time applications
|
/external/libvorbis/lib/ |
vorbisenc.c | 272 g->coupling_pointlimit[0][i]=kHz*1000./vi->rate*ci->blocksizes[0]; 273 g->coupling_pointlimit[1][i]=kHz*1000./vi->rate*ci->blocksizes[1]; 277 g->sliding_lowpass[0][i]=kHz*1000./vi->rate*ci->blocksizes[0]; 278 g->sliding_lowpass[1][i]=kHz*1000./vi->rate*ci->blocksizes[1]; 284 g->coupling_pointlimit[0][i]=kHz*1000./vi->rate*ci->blocksizes[0]; 285 g->coupling_pointlimit[1][i]=kHz*1000./vi->rate*ci->blocksizes[1]; 291 g->sliding_lowpass[0][i]=kHz*1000./vi->rate*ci->blocksizes[0]; 292 g->sliding_lowpass[1][i]=kHz*1000./vi->rate*ci->blocksizes[1]; 521 double nyq=vi->rate/2.; 863 long rate){ [all...] |
/external/bluetooth/bluedroid/audio_a2dp_hw/ |
audio_a2dp_hw.c | 88 uint32_t rate; member in struct:a2dp_config 179 return bytes*(1000000/(chan_count*2))/cfg.rate; 320 out->cfg.rate = AUDIO_STREAM_DEFAULT_RATE; 497 DEBUG("rate %d", out->cfg.rate); 499 return out->cfg.rate; 502 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) 506 DEBUG("out_set_sample_rate : %d", rate); 508 if (rate != AUDIO_STREAM_DEFAULT_RATE) 510 ERROR("only rate %d supported", AUDIO_STREAM_DEFAULT_RATE) [all...] |
/hardware/invensense/60xx/mlsdk/mllite/ |
mldl.c | 446 * @brief configures the output sampling rate on the MPU. 452 * The output sampling rate is determined by the divider and the low 454 * 'MPUFILTER_256HZ_NOLPF2', then the sample rate going into the 459 * set to 7, then the sample rate is as follows: 460 * sample rate = internal sample rate / div = 1kHz / 8 = 125Hz (or 8ms). 463 * the internal low pass filter and internal analog sampling rate. The 464 * latter, in turn, affects the final output sampling rate according to the 465 * sample rate divider settig. 466 * 0 -> 256 Hz cutoff BW, 8 kHz analog sample rate, [all...] |
/hardware/ti/omap3/omx/system/src/openmax_il/perf/src/ |
perf_rt.c | 76 /* allocate rate tracking structures */ 146 /* VP_T - display rate */ 151 /* VD_T - decode rate */ 156 /* VE_T - encode rate */ 161 /* CAMT - capture rate */ 320 /* get the temporal rate */ 334 /* calculate the average of the temporal rate */ 405 /* for each rate, reset skip count as well as tn0 */ 423 /* complete any temporary rate measurements */ 459 /* see if we care about this buffer in the rate calculation * 470 int rate = (me->detailed == 2) || local [all...] |
/external/chromium_org/chrome/browser/speech/extension_api/ |
tts_extension_api.cc | 184 double rate = 1.0; local 187 options->GetDouble(constants::kRateKey, &rate)); 188 if (rate < 0.1 || rate > 10.0) { 263 continuous_params.rate = rate;
|
/external/chromium_org/tools/stats_viewer/ |
stats_table.cs | 103 // A rate.
400 // Example: A counter + a timer == a rate!
405 StatsCounterRate rate = new StatsCounterRate(old_counter as StatsCounter,
408 counters_.Add(rate);
412 StatsCounterRate rate = new StatsCounterRate(counter as StatsCounter,
415 counters_.Add(rate);
|
/external/svox/pico/compat/jni/ |
tts.h | 33 #define ANDROID_TTS_ENGINE_PROPERTY_RATE "rate" 108 // @param [in] uint32_t - Track sampling rate in Hz 226 // @param[inout] rate in: the desired audio sample rate 227 // out: the sample rate used by the TTS engine 291 // o rate,
|
/frameworks/av/media/libmedia/ |
Visualizer.cpp | 94 uint32_t rate) 96 if (rate > CAPTURE_RATE_MAX) { 113 mCaptureRate = rate; 120 mCaptureThread = new CaptureThread(*this, rate, ((flags & CAPTURE_CALL_JAVA) != 0)); 122 ALOGV("setCaptureCallBack() rate: %d thread %p flags 0x%08x", 123 rate, mCaptureThread.get(), mCaptureFlags);
|
/hardware/qcom/audio/legacy/alsa_sound/ |
ALSAStreamOps.cpp | 96 uint32_t *rate, 134 if (rate && *rate > 0) { 135 if (mHandle->sampleRate != *rate) 137 } else if (rate) { 138 *rate = mHandle->sampleRate;
|
/external/chromium_org/media/audio/win/ |
audio_unified_win.cc | 29 // Compute a rate compensation which always attracts us back to a specified 67 // using the current sample rate |fs| as scale factor. 76 // Example: |ts_milliseconds| equals 10, sample rate is 48000 and frame size 127 VLOG(1) << "Sample rate : " << params_.sample_rate(); 249 LOG(ERROR) << "Requested sample-rate: " << params_.sample_rate() 250 << " must match the hardware sample-rate: " 281 // Check if FIFO and resampling is required to match the input rate to the 282 // output rate. If so, a special thread loop, optimized for this case, will 590 // Create the multi channel resampler using the initial sample rate ratio. 660 // rate and the current position in the stream. Allocate it before w [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/include/ |
mp4enc_api.h | 154 /** @brief Sets the number of ticks in time increment resolution between 2 source frames (equivalent to source frame rate). */ 163 /** @brief Specifies target frame rates in frames per second, frameRate[n] represents the n-th layer's target frame rate.*/ 166 /** @brief Specifies target bit rates in bits per second unit, bitRate[n] represents the n-th layer's target bit rate. */ 179 /** @brief Sets rate control algorithm, one of (CONSTANT_Q, CBR_1, or VBR_1). 181 * CBR_1 (constant bit rate) controls the output at a desired bit rate 182 * VBR_1 (variable bit rate) gives better picture quality at the expense of bit rate fluctuation 183 * Note: type=CONSTANT_Q produces sequences with arbitrary bit rate. 192 /** @brief Specifies whether frame skipping is permitted or not. When rate control type is set to CONSTANT_ [all...] |
/external/aac/libSBRenc/include/ |
sbr_encoder.h | 170 INT downSampleFactor; /*!< Sampling rate relation between the SBR and the core encoder. */ 287 * \param bitRate The desired target bit rate 289 * \param coreSampleRate The sample rate of the core coder 291 * \return Closest working bit rate to bitRate value 297 * \brief Check whether downsampled SBR single rate is possible 315 * \param downSampleFactor Input: Relation between SBR and core coder sampling rate; 320 * \param headerPeriod Repetition rate of the SBR header: 322 * - (1-10) corresponds to header repetition rate in frames.
|
/external/chromium/chrome/browser/chromeos/input_method/ |
xkeyboard.h | 57 // Sets the auto-repeat rate of the keyboard, initial delay in ms, and repeat 59 bool SetAutoRepeatRate(const AutoRepeatRate& rate);
|
/external/chromium/chrome/browser/policy/ |
cloud_policy_subsystem.cc | 27 // Default refresh rate. 30 // Refresh rate sanity interval bounds.
|
/external/chromium/net/base/ |
dns_reload_timer.cc | 23 // lookups fail and to rate limit the reloading to once per second per 29 // Keep a timer per calling thread to rate limit the calling of res_ninit.
|
/external/chromium/third_party/libjingle/source/talk/xmpp/ |
xmpptask.h | 110 // Returns true if the task is under the specified rate limit and updates the 111 // rate limit accordingly
|
/external/chromium_org/cc/debug/ |
frame_rate_counter.cc | 29 // TODO(brianderson): Determine this threshold based on monitor refresh rate, 121 // mode in order to represent the true frame rate in spite of the fact that
|