/external/webrtc/webrtc/base/ |
ratetracker_unittest.cc | 81 // Poll the tracker again immediately. The reported rate should stay the same. 94 // Send a bunch of data at a constant rate for 5.5 "seconds". 95 // We should report the rate properly. 107 // the reported rate should be reduced by half. 115 // Rate over the last half second should be zero.
|
/external/webrtc/webrtc/modules/audio_coding/codecs/ |
audio_encoder.h | 61 // Returns the input sample rate in Hz and the number of input channels. 66 // Returns the rate at which the RTP timestamps are updated. The default 125 // Tells the encoder about the highest sample rate the decoder is expected to 131 // Tells the encoder what the projected packet loss rate is. The rate is in
|
/external/webrtc/webrtc/modules/audio_coding/neteq/test/ |
neteq_opus_quality_test.cc | 27 // Define switch for bit rate. 31 printf("Invalid bit rate, should be between 6 and 510 kbps."); 35 DEFINE_int32(bit_rate_kbps, 32, "Target bit rate (kbps)."); 55 DEFINE_int32(maxplaybackrate, 48000, "Maximum playback rate (Hz)."); 71 // Define switch for reported packet loss rate.
|
/external/webrtc/webrtc/modules/video_capture/ |
video_capture.h | 60 // frame rate. 82 // Inform the encoder about the new target bit rate. 83 // - newBitRate : New target bit rate in Kbit/s. 84 // - frameRate : The target frame rate. 88 // (loss rate in percent = 100 * packetLoss / 255).
|
/external/webrtc/webrtc/modules/video_coding/ |
media_optimization_unittest.cc | 25 // a special case (e.g. frame rate in media optimization). 56 // Suspend the video when the rate is below 50 kbps and resume when it gets 75 // Set the target rate below the limit for muting. 145 // Using as much for codec bitrate as fec rate, new target rate should share
|
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/ |
LVM_Tables.c | 35 /* 22kHz sampling rate */ 97 /* 24kHz sampling rate */ 159 /* 32kHz sampling rate */ 221 /* 44kHz sampling rate */ 283 /* 48kHz sampling rate */
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
NuPlayerRenderer.h | 54 status_t setPlaybackSettings(const AudioPlaybackRate &rate /* sanitized */); 55 status_t getPlaybackSettings(AudioPlaybackRate *rate /* nonnull */); 156 float mPlaybackRate; // audio track rate 242 status_t onConfigPlayback(const AudioPlaybackRate &rate /* sanitized */); 243 status_t onGetPlaybackSettings(AudioPlaybackRate *rate /* nonnull */);
|
/frameworks/av/services/audioflinger/ |
AudioStreamOut.cpp | 68 // Scale from HAL sample rate to application rate. 97 // Adjust for standby using HAL rate frames. 102 // Scale from HAL sample rate to application rate.
|
/frameworks/base/media/java/android/media/ |
SoundPool.java | 68 * <p>The playback rate can also be changed. A playback rate of 1.0 causes 70 * to the hardware output frequency). A playback rate of 2.0 causes the 71 * sound to play at twice its original frequency, and a playback rate of 73 * rate range is 0.5 to 2.0.</p> 98 * adjusting the playback rate in real-time for doppler or synthesis 147 * @param srcQuality the sample-rate converter quality. Currently has no 321 * The playback rate allows the application to vary the playback 322 * rate (pitch) of the sound. A value of 1.0 means play back at 331 * @param rate playback rate (1.0 = normal playback, range 0.5 to 2.0 [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/ti/omap3/omx/system/src/openmax_il/perf/inc/ |
perf_rt.h | 48 /* rate parameters */ 52 /* data needed for frame rate calculations */ 60 if frame rate is less than 0.5fps and tn0 is less than 10 in the last phase, 119 /* rate data */ 122 struct PERF_RTdata_rate *dRate; /* rate data */
|
/hardware/ti/omap3/omx/system/src/openmax_il/perf/tests/ |
PERF.awk | 2 # measures the rate of the filtered traces. This can be used to measure 162 print "Rate is", result; 170 print "(Adjusted rate without pauses is", result, ")"; 172 print "(Not enough data to calculate adjusted rate without pauses)"; 176 print "Error: Not enough data to calculate rate";
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/alsa/ |
pcm_plugin.h | 41 #define SND_PCM_PLUGIN_RATE_MIN 4000 /**< minimal rate for the rate plugin */ 42 #define SND_PCM_PLUGIN_RATE_MAX 192000 /**< maximal rate for the rate plugin */ 156 * Rate plugin for linear formats
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/alsa/ |
pcm_plugin.h | 41 #define SND_PCM_PLUGIN_RATE_MIN 4000 /**< minimal rate for the rate plugin */ 42 #define SND_PCM_PLUGIN_RATE_MAX 192000 /**< maximal rate for the rate plugin */ 156 * Rate plugin for linear formats
|
/docs/source.android.com/src/devices/audio/ |
terminology.jd | 93 a sequence of bits at a very high sample rate (without the concept of samples). 143 Units for sample rate or frame rate. 148 Representation with greater bit-depth and sample rate than CDs (stereo 16-bit 169 The authoring process may reduce the bit depth or sample rate from that of the 219 audio signal is sampled at a regular interval, called the sample rate, then 237 <dt>sample rate or frame rate</dt> 239 Number of frames per second. While <em>frame rate</em> is more accurate, 240 <em>sample rate</em> is conventionally used to mean frame rate [all...] |
/external/libavc/encoder/ |
irc_rate_control_api.c | 89 /*for src rate control state structure*/ 135 Description : Initialise the rate control structure 139 u4_avg_bit_rate - bit rate to achieved across the entire 141 u4_peak_bit_rate - max possible drain rate 184 /*** Initialize the rate control modules ***/ 308 /* Initialize the mb level rate control module */ 556 /* Restricting the QP swing if the average bit rate has changed */ 719 Description : If the forward path and the backward path of rate control 729 Description : Updates the frame level information into the rate control [all...] |
/external/libevent/include/event2/ |
bufferevent.h | 601 Abstract type used to configure rate-limiting on a bufferevent or a group 607 A group of bufferevents which are configured to respect the same rate 612 /** Maximum configurable rate- or burst-limit. */ 616 Initialize and return a new object to configure the rate-limiting behavior 628 Note that all rate-limits hare are currently best-effort: future versions 644 Set the rate-limit of a the bufferevent 'bev' to the one specified in 645 'cfg'. If 'cfg' is NULL, disable any per-bufferevent rate-limiting on 648 Note that only some bufferevent types currently respect rate-limiting. 658 Create a new rate-limit group for bufferevents. A rate-limit grou [all...] |
/external/sonic/ |
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...] |
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...] |
/hardware/bsp/intel/peripheral/libupm/src/mpu9150/ |
mpu60x0.h | 87 REG_SMPLRT_DIV = 0x19, // sample rate divider 406 * the reduced access rate of i2c slaves relative to the sample 407 * rate. When a slave?s access rate is decreased relative to the 408 * Sample Rate, the slave is accessed every 685 * means, so if you see this behavior, reduce the rate at which 760 * set the sample rate divider. This register specifies the 761 * divider from the gyro output rate used to generate the Sample 762 * Rate. The sensor registor output, FIFO output, DMP sampling 763 * and motion detection are all based on the Sample Rate [all...] |
/hardware/qcom/audio/msm8909/hal/voice_extn/ |
compress_voip.c | 44 .rate = 8000, /* changed when the stream is opened */ 52 .rate = 16000, /* changed when the stream is opened */ 96 static int voip_set_rate(struct audio_device *adev, int rate); 215 static int voip_set_rate(struct audio_device *adev, int rate) 218 const char *mixer_ctl_name = "Voip Rate Config"; 221 ALOGD("%s: enter, rate=%d", __func__, rate); 223 set_values[0] = rate; 240 const char *mixer_ctl_name = "Voip Evrc Min Max Rate Config"; 428 int ret = 0, err, rate; local [all...] |
/cts/tests/video/src/android/video/cts/ |
CodecInfo.java | 34 * Utility class for getting codec information like bit rate, fps, and etc. 38 /** bit rate in bps */ 40 /** Frame rate */
|
/development/ndk/platforms/android-3/include/linux/ |
pkt_sched.h | 59 __u32 rate; member in struct:tc_ratespec 78 struct tc_ratespec rate; member in struct:tc_tbf_qopt 184 struct tc_ratespec rate; member in struct:tc_htb_opt
|
/device/google/contexthub/firmware/src/drivers/rohm_rpr0521/ |
rohm_rpr0521.c | 350 static bool sensorRateAls(uint32_t rate, uint64_t latency, void *cookie) 352 if (rate == SENSOR_RATE_ONCHANGE) 353 rate = ROHM_RPR0521_DEFAULT_RATE; 355 DEBUG_PRINT("sensorRateAls: rate=%ld Hz latency=%lld ns\n", rate/1024, latency); 357 return sensorSignalInternalEvt(mTask.alsHandle, SENSOR_INTERNAL_EVT_RATE_CHG, rate, latency); 400 static bool sensorRateProx(uint32_t rate, uint64_t latency, void *cookie) 402 if (rate == SENSOR_RATE_ONCHANGE) 403 rate = ROHM_RPR0521_DEFAULT_RATE; 405 DEBUG_PRINT("sensorRateProx: rate=%ld Hz latency=%lld ns\n", rate/1024, latency) [all...] |
/device/linaro/hikey/wpan/uim/ |
uim.h | 27 /* Paramaters to set the baud rate*/ 116 /* HCI Event structure to set the cusrom baud rate*/ 125 /* HCI Command structure to set the cusrom baud rate*/
|