HomeSort by relevance Sort by last modified time
    Searched refs:rate (Results 201 - 225 of 773) sorted by null

1 2 3 4 5 6 7 891011>>

  /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());
  /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/iproute2/tc/
tc_util.h 64 extern int get_rate(unsigned *rate, const char *str);
70 extern void print_rate(char *buf, int len, __u32 rate);
75 extern char * sprint_rate(__u32 rate, char *buf);
q_hfsc.c 54 "SC := [ [ umax BYTE ] dmax SEC ] rate BPS\n"
58 " rate : rate\n"
340 unsigned int umax = 0, dmax = 0, rate = 0; local
360 if (matches(*argv, "rate") == 0) {
362 if (get_rate(&rate, *argv) < 0) {
363 explain1("rate");
374 if (dmax != 0 && ceil(1.0 * umax * TIME_UNITS_PER_SEC / dmax) > rate) {
381 sc->m2 = rate;
385 * is at dmax - umax / rate
    [all...]
q_cbq.c 29 fprintf(stderr, "Usage: ... cbq bandwidth BPS rate BPS maxburst PKTS [ avpkt BYTES ]\n");
31 fprintf(stderr, " [ allot BYTES ] [ mpu BYTES ] [ weight RATE ]\n");
67 matches(*argv, "rate") == 0) {
69 if (get_rate(&r.rate, *argv)) {
141 if (r.rate == 0) {
155 fprintf(stderr, "CBQ: failed to calculate rate table.\n");
162 lss.maxidle = tc_calc_xmittime(r.rate, avpkt);
206 if (matches(*argv, "rate") == 0) {
208 if (get_rate(&r.rate, *argv)) {
209 explain1("rate");
    [all...]
q_choke.c 41 unsigned rate = 0; local
59 if (get_rate(&rate, *argv)) {
106 if (!rate || !opt.limit) {
148 wlog = tc_red_eval_idle_damping(opt.Wlog, avpkt, rate, sbuf);
  /external/libopus/celt/
opus_custom_demo.c 51 opus_int32 frame_size, channels, rate; local
64 fprintf (stderr, "Usage: test_opus_custom <rate> <channels> <frame size> "
65 " <bytes per packet> [<complexity> [packet loss rate]] "
70 rate = (opus_int32)atol(argv[1]);
73 mode = opus_custom_mode_create(rate, frame_size, NULL);
  /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...]
  /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...]
  /external/iptables/extensions/
libxt_rateest.c 19 " --rateest1 name Rate estimator name\n"
20 " --rateest2 name Rate estimator name\n"
21 " --rateest-delta Compare difference(s) to given rate(s)\n"
26 " [!] --rateest-lt Match if rate is less than given rate/estimator\n"
27 " [!] --rateest-gt Match if rate is greater than given rate/estimator\n"
28 " [!] --rateest-eq Match if rate is equal to given rate/estimator\n");
88 rateest_get_rate(uint32_t *rate, const char *str
    [all...]
  /frameworks/av/media/libmediaplayerservice/
MediaPlayerService.h 115 virtual status_t setPlaybackRate(const AudioPlaybackRate& rate);
116 virtual status_t getPlaybackRate(AudioPlaybackRate* rate /* nonnull */);
149 uint32_t mSampleRateHz; // sample rate of the content, as set in open()
286 virtual status_t setPlaybackSettings(const AudioPlaybackRate& rate);
287 virtual status_t getPlaybackSettings(AudioPlaybackRate* rate /* nonnull */);
288 virtual status_t setSyncSettings(const AVSyncSettings& rate, float videoFpsHint);
289 virtual status_t getSyncSettings(AVSyncSettings* rate /* nonnull */,
  /cts/tests/tests/textureview/src/android/textureview/cts/
TextureViewTestActivity.java 58 /* Worst case is 2 * actual refresh rate, in case when the delay pushes the frame off
65 /* Need to give time based on (frame duration limited by refresh rate + delay given
78 float rate = display.getRefreshRate(); local
79 oneframeMs = roundUpFrame(mDelayMs, (int)(1000.0f / rate));
  /external/libopus/
celt_headers.mk 28 celt/rate.h \
  /external/webrtc/src/modules/audio_coding/codecs/isac/main/interface/
isac.h 35 * - samplingRate : sampling rate of the input/output audio.
56 * - samplingRate : sampling rate of the input/output audio.
109 * - CodingMode : 0 -> Bit rate and frame length are
114 * rate which is taken as the maximum
115 * short-term average bit rate.
131 * rate, or 320 if operating at 32 kHz sampling rate. The encoder buffers the
203 * This function decodes an ISAC frame. At 16 kHz sampling rate, the length
205 * 30 or 60 ms respectively. At 32 kHz sampling rate, the length of the
256 * This function sets the limit on the short-term average bit-rate and th
    [all...]
  /frameworks/av/include/media/
IMediaPlayer.h 63 virtual status_t setPlaybackSettings(const AudioPlaybackRate& rate) = 0;
64 virtual status_t getPlaybackSettings(AudioPlaybackRate* rate /* nonnull */) = 0;
  /frameworks/av/include/media/stagefright/
AudioPlayer.h 77 status_t setPlaybackRate(const AudioPlaybackRate &rate);
78 status_t getPlaybackRate(AudioPlaybackRate *rate /* nonnull */);
  /frameworks/av/media/libmediaplayerservice/nuplayer/
NuPlayer.cpp 339 status_t NuPlayer::setPlaybackSettings(const AudioPlaybackRate &rate) {
342 if ((rate.mSpeed != 0.f && rate.mSpeed < AUDIO_TIMESTRETCH_SPEED_MIN)
343 || rate.mSpeed > AUDIO_TIMESTRETCH_SPEED_MAX
344 || rate.mPitch < AUDIO_TIMESTRETCH_SPEED_MIN
345 || rate.mPitch > AUDIO_TIMESTRETCH_SPEED_MAX) {
349 writeToAMessage(msg, rate);
358 status_t NuPlayer::getPlaybackSettings(AudioPlaybackRate *rate /* nonnull */) {
365 readFromAMessage(response, rate);
713 AudioPlaybackRate rate /* sanitized */ local
734 float rate = getFrameRate(); local
752 AudioPlaybackRate rate = mPlaybackSettings; local
1328 float rate = getFrameRate(); local
1522 float rate = getFrameRate(); local
1805 int32_t rate; local
    [all...]
NuPlayerDriver.h 52 virtual status_t setPlaybackSettings(const AudioPlaybackRate &rate);
53 virtual status_t getPlaybackSettings(AudioPlaybackRate *rate);
NuPlayerRenderer.cpp 156 status_t NuPlayer::Renderer::setPlaybackSettings(const AudioPlaybackRate &rate) {
158 writeToAMessage(msg, rate);
167 status_t NuPlayer::Renderer::onConfigPlayback(const AudioPlaybackRate &rate /* sanitized */) {
168 if (rate.mSpeed == 0.f) {
173 AudioPlaybackRate newRate = rate;
180 status_t err = mAudioSink->setPlaybackRate(rate);
185 mPlaybackSettings = rate;
186 mPlaybackRate = rate.mSpeed;
191 status_t NuPlayer::Renderer::getPlaybackSettings(AudioPlaybackRate *rate /* nonnull */) {
198 readFromAMessage(response, rate);
505 AudioPlaybackRate rate; local
518 AudioPlaybackRate rate = AUDIO_PLAYBACK_RATE_DEFAULT; local
    [all...]
  /frameworks/base/core/java/android/view/
OrientationEventListener.java 63 * @param rate at which sensor events are processed (see also
68 public OrientationEventListener(Context context, int rate) {
70 mRate = rate;
  /system/bt/audio_a2dp_hw/
audio_a2dp_hw.c 91 uint32_t rate; member in struct:a2dp_config
189 return bytes*(1000000/(chan_count*2))/cfg.rate;
388 common->cfg.rate = sample_rate;
390 INFO("got config %d %d", common->cfg.format, common->cfg.rate);
613 DEBUG("rate %" PRIu32,out->common.cfg.rate);
615 return out->common.cfg.rate;
618 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate)
622 DEBUG("out_set_sample_rate : %" PRIu32, rate);
624 if (rate != AUDIO_STREAM_DEFAULT_RATE
    [all...]
  /external/wpa_supplicant_8/wpa_supplicant/
scan.c 1479 int rate = 0; local
1948 int rate; \/* max legacy rate in 500 kb\/s units *\/ local
    [all...]
  /cts/suite/audio_quality/lib/src/audio/
AudioRecordingLocal.cpp 49 config.rate = samplingRate;
  /cts/tests/tests/hardware/src/android/hardware/cts/
SensorIntegrationTests.java 54 * It is however, acceptable that when a client is activated at a higher sampling rate, it would
55 * cause other clients to receive data at a faster sampling rate. A client causing other clients
56 * to receive data at a lower sampling rate is, however, not acceptable.
262 int rate; local
265 rate = SensorManager.SENSOR_DELAY_FASTEST;
270 rate = maxSamplingRate * mGenerator.nextInt(10);
272 return rate;
  /external/libvorbis/examples/
vorbisfile_example.c 61 fprintf(stderr,"\nBitstream is %d channel, %ldHz\n",vi->channels,vi->rate);
81 /* we don't bother dealing with sample rate changes, etc, but

Completed in 613 milliseconds

1 2 3 4 5 6 7 891011>>