Home
last modified time | relevance | path

Searched refs:nowCt (Results 1 - 5 of 5) sorted by relevance

/foundation/multimedia/av_codec/services/media_engine/modules/sink/
H A Dvideo_sink.cpp66 void VideoSink::UpdateTimeAnchorIfNeeded(int64_t nowCt, int64_t waitTime, in UpdateTimeAnchorIfNeeded() argument
78 syncCenter->UpdateTimeAnchor(nowCt + waitTime, latency, iMediaTime, this); in UpdateTimeAnchorIfNeeded()
87 int64_t nowCt = syncCenter->GetClockTimeNow(); in UpdateTimeAnchorActually() local
91 syncCenter->UpdateTimeAnchor(nowCt, latency, iMediaTime, this); in UpdateTimeAnchorActually()
101 int64_t nowCt = syncCenter ? syncCenter->GetClockTimeNow() : 0; in DoSyncWrite() local
105 firstFrameNowct_ = nowCt; in DoSyncWrite()
110 UpdateTimeAnchorIfNeeded(nowCt, waitTime, buffer); in DoSyncWrite()
184 auto nowCt = syncCenter->GetClockTimeNow(); in CheckBufferLatenessMayWait() local
188 auto diff = nowCt + (int64_t) latency - ct4Buffer + fixDelay_; // anhor diff in CheckBufferLatenessMayWait()
189 auto diff2 = (nowCt in CheckBufferLatenessMayWait()
[all...]
H A Daudio_sink.cpp523 int64_t nowCt = syncCenter->GetClockTimeNow(); in UpdateTimeAnchorIfNeeded() local
526 (nowCt - lastAnchorClockTime_ >= ANCHOR_UPDATE_PERIOD_US); in UpdateTimeAnchorIfNeeded()
533 underrunDetector_.DetectAudioUnderrun(nowCt, latency); in UpdateTimeAnchorIfNeeded()
535 syncCenter->UpdateTimeAnchor(nowCt, latency + fixDelay_, iMediaTime, this); in UpdateTimeAnchorIfNeeded()
540 " us, nowCt: " PUBLIC_LOG_D64 " us", in UpdateTimeAnchorIfNeeded()
541 fixDelay_, latency, buffer->pts_ - firstPts_, buffer->pts_, nowCt); in UpdateTimeAnchorIfNeeded()
543 lastAnchorClockTime_ = nowCt; in UpdateTimeAnchorIfNeeded()
/foundation/multimedia/media_foundation/engine/pipeline/filters/sink/audio_sink/
H A Daudio_sink_filter.cpp343 int64_t nowCt = 0; in DoSyncWrite() local
346 nowCt = syncCenter->GetClockTimeNow(); in DoSyncWrite()
348 if (lastReportedClockTime_ == HST_TIME_NONE || lastReportedClockTime_ + reportAnchorDuration_ <= nowCt || in DoSyncWrite()
355 render = syncCenter->UpdateTimeAnchor(nowCt + latency, buffer->pts, this); in DoSyncWrite()
357 lastReportedClockTime_ = nowCt; in DoSyncWrite()
/foundation/multimedia/media_foundation/engine/pipeline/filters/sink/video_sink/
H A Dvideo_sink_filter.cpp475 auto nowCt = syncCenter->GetClockTimeNow(); in CheckBufferLatenessMayWait() local
478 auto diff = nowCt + (int64_t) latency - ct4Buffer; in CheckBufferLatenessMayWait()
504 int64_t nowCt = 0; in DoSyncWrite() local
507 nowCt = syncCenter->GetClockTimeNow(); in DoSyncWrite()
514 render = syncCenter->UpdateTimeAnchor(nowCt + latency, buffer->pts, this); in DoSyncWrite()
/foundation/multimedia/av_codec/interfaces/inner_api/native/
H A Dvideo_sink.h46 void UpdateTimeAnchorIfNeeded(int64_t nowCt, int64_t waitTime,

Completed in 8 milliseconds