Home
last modified time | relevance | path

Searched refs:nowClockTime (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/multimedia/av_codec/test/unittest/media_sink_test/
H A Dsync_manager_test.cpp318 int64_t nowClockTime = 150; variable
322 …syncManager_->SimpleGetMediaTime(anchorClockTime, delayTime, nowClockTime, anchorMediaTime, playRa…
331 int64_t nowClockTime = 150; variable
335 …syncManager_->SimpleGetMediaTime(anchorClockTime, delayTime, nowClockTime, anchorMediaTime, playRa…
344 int64_t nowClockTime = 150; variable
348 …syncManager_->SimpleGetMediaTime(anchorClockTime, delayTime, nowClockTime, anchorMediaTime, playRa…
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/modules/sink/
H A Daudio_sink.cpp467 int64_t nowClockTime = 0; in DrainOutputBuffer() local
468 GetSyncCenterClockTime(nowClockTime); in DrainOutputBuffer()
470 …stAnchorClockTime_, bufferDurationSinceLastAnchor_, plugin_->GetWriteDurationMs(), nowClockTime }); in DrainOutputBuffer()
534 auto currentMediaTime = latency_ + lastDrainTimeGroup_.nowClockTime; in CalcLag()
563 lastDrainTimeGroup_.nowClockTime = 0; in Reset()
579 lastDrainTimeGroup_.nowClockTime = group.nowClockTime; in UpdateDrainTimeGroup()
H A Dmedia_sync_manager.cpp356 …iaSyncManager::SimpleGetMediaTime(int64_t anchorClockTime, int64_t delayTime, int64_t nowClockTime, in SimpleGetMediaTime() argument
362 if (anchorClockTime == HST_TIME_NONE || nowClockTime == HST_TIME_NONE in SimpleGetMediaTime()
369 …anager::SimpleGetMediaTimeExactly(int64_t anchorClockTime, int64_t delayTime, int64_t nowClockTime, in SimpleGetMediaTimeExactly() argument
375 if (anchorClockTime == HST_TIME_NONE || nowClockTime == HST_TIME_NONE in SimpleGetMediaTimeExactly()
379 …return anchorMediaTime + (nowClockTime - anchorClockTime + delayTime) * static_cast<double>(playRa… in SimpleGetMediaTimeExactly()
/ohos5.0/foundation/multimedia/av_codec/interfaces/inner_api/native/
H A Dmedia_sync_manager.h115 …static int64_t SimpleGetMediaTime(int64_t anchorClockTime, int64_t delayTime, int64_t nowClockTime,
117 …int64_t SimpleGetMediaTimeExactly(int64_t anchorClockTime, int64_t delayTime, int64_t nowClockTime,
H A Daudio_sink.h118 int64_t nowClockTime = 0; member
125 nowClockTime(clockTime) {} in AudioDrainTimeGroup()
/ohos5.0/foundation/multimedia/media_foundation/engine/pipeline/core/
H A Dmedia_sync_manager.cpp301 int64_t MediaSyncManager::SimpleGetMediaTime(int64_t anchorClockTime, int64_t nowClockTime, int64_t… in SimpleGetMediaTime() argument
307 …if (anchorClockTime == HST_TIME_NONE || nowClockTime == HST_TIME_NONE || anchorMediaTime == HST_TI… in SimpleGetMediaTime()
310 return anchorMediaTime + (nowClockTime - anchorClockTime) * static_cast<double>(playRate); in SimpleGetMediaTime()
/ohos5.0/foundation/multimedia/media_foundation/engine/include/pipeline/core/
H A Dmedia_sync_manager.h94 …static int64_t SimpleGetMediaTime(int64_t anchorClockTime, int64_t nowClockTime, int64_t anchorMed…