OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:delayUs
(Results
1 - 11
of
11
) sorted by null
/frameworks/av/media/libstagefright/http/
ClearMediaHTTP.cpp
123
int64_t
delayUs
= ALooper::GetNowUs() - startTimeUs;
125
addBandwidthMeasurement(numBytesRead,
delayUs
);
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/
FrequencyVerification.java
97
double
delayUs
= environment.getRequestedSamplingPeriodUs();
107
delayUs
= SensorCtsHelper.clamp(
delayUs
, minDelayUs, maxDelayUs);
108
double expectedHz = SensorCtsHelper.getFrequency(
delayUs
, TimeUnit.MICROSECONDS);
111
delayUs
= Math.max(minDelayUs,
delayUs
);
112
lowerExpectedHz = SensorCtsHelper.getFrequency(
delayUs
, TimeUnit.MICROSECONDS);
/frameworks/av/media/libstagefright/foundation/
ALooper.cpp
168
void ALooper::post(const sp<AMessage> &msg, int64_t
delayUs
) {
172
if (
delayUs
> 0) {
174
whenUs = (
delayUs
> INT64_MAX - nowUs ? INT64_MAX : nowUs +
delayUs
);
212
int64_t
delayUs
= whenUs - nowUs;
213
if (
delayUs
> INT64_MAX / 1000) {
214
delayUs
= INT64_MAX / 1000;
216
mQueueChangedCondition.waitRelative(mLock,
delayUs
* 1000ll);
/frameworks/av/cmds/stagefright/
SimplePlayer.cpp
636
int64_t
delayUs
= ALooper::GetNowUs() - startTimeUs;
640
if (
delayUs
> 2000ll) {
643
(long long)
delayUs
, numFramesAvailableToWrite, numFramesWritten);
/frameworks/av/media/libmediaplayer2/nuplayer2/
HTTPLiveSource2.cpp
269
int64_t timeUs, baseUs,
delayUs
;
272
delayUs
= baseUs + timeUs - ALooper::GetNowUs();
276
msg->post(
delayUs
> 0LL ?
delayUs
: 0LL);
279
if (
delayUs
< -1000000LL) { // 1 second
NuPlayer2Renderer.cpp
572
int64_t
delayUs
=
576
delayUs
/= mPlaybackSettings.mSpeed;
581
delayUs
/= 2;
585
ALOGD_IF(
delayUs
> maxDrainDelayUs, "postDrainAudioQueue long delay: %lld > %lld",
586
(long long)
delayUs
, (long long)maxDrainDelayUs);
588
postDrainAudioQueue_l(
delayUs
);
773
void NuPlayer2::Renderer::postDrainAudioQueue_l(int64_t
delayUs
) {
785
if (diffUs >
delayUs
) {
786
delayUs
= diffUs;
793
msg->post(
delayUs
);
[
all
...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
HTTPLiveSource.cpp
267
int64_t timeUs, baseUs,
delayUs
;
270
delayUs
= baseUs + timeUs - ALooper::GetNowUs();
274
msg->post(
delayUs
> 0LL ?
delayUs
: 0LL);
277
if (
delayUs
< -1000000LL) { // 1 second
NuPlayerRenderer.cpp
585
int64_t
delayUs
=
589
delayUs
/= mPlaybackRate;
594
delayUs
/= 2;
598
ALOGD_IF(
delayUs
> maxDrainDelayUs, "postDrainAudioQueue long delay: %lld > %lld",
599
(long long)
delayUs
, (long long)maxDrainDelayUs);
601
postDrainAudioQueue_l(
delayUs
);
786
void NuPlayer::Renderer::postDrainAudioQueue_l(int64_t
delayUs
) {
798
if (diffUs >
delayUs
) {
799
delayUs
= diffUs;
806
msg->post(
delayUs
);
[
all
...]
/frameworks/av/media/libstagefright/
NuCachedSource2.cpp
439
int64_t
delayUs
;
443
delayUs
= 3000000LL;
445
delayUs
= 0;
448
delayUs
= 100000LL;
451
(new AMessage(kWhatFetchMore, mReflector))->post(
delayUs
);
/frameworks/av/media/libstagefright/httplive/
LiveSession.cpp
59
void addBandwidthMeasurement(size_t numBytes, int64_t
delayUs
);
100
size_t numBytes, int64_t
delayUs
) {
106
entry.mDelayUs =
delayUs
;
108
mTotalTransferTimeUs +=
delayUs
;
539
sp<AMessage> &stopParams, int64_t
delayUs
, bool *needResumeUntil) {
560
if (
delayUs
> 0) {
561
lastDequeueMeta = source->getMetaAfterLastDequeued(
delayUs
);
845
int64_t
delayUs
=
851
if (checkSwitchProgress(stopParams,
delayUs
, &needResumeUntil)) {
[
all
...]
PlaylistFetcher.cpp
298
int64_t
delayUs
= mLastPlaylistFetchTimeUs + minPlaylistAgeUs - nowUs;
299
return
delayUs
> 0LL ?
delayUs
: 0LL;
501
void PlaylistFetcher::postMonitorQueue(int64_t
delayUs
, int64_t minDelayUs) {
506
if (
delayUs
> maxDelayUs) {
508
delayUs
= maxDelayUs;
512
msg->post(
delayUs
);
920
int64_t
delayUs
= bufferedDurationUs - kMinBufferedDurationUs + 1000000LL;
921
if (
delayUs
> targetDurationUs / 2) {
922
delayUs
= targetDurationUs / 2
[
all
...]
Completed in 370 milliseconds