Home
last modified time | relevance | path

Searched refs:anchorClockTime (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/multimedia/av_codec/test/unittest/media_sink_test/
H A Dsync_manager_test.cpp316 int64_t anchorClockTime = 100; variable
322 …syncManager_->SimpleGetMediaTime(anchorClockTime, delayTime, nowClockTime, anchorMediaTime, playRa…
329 int64_t anchorClockTime = HST_TIME_NONE; variable
335 …syncManager_->SimpleGetMediaTime(anchorClockTime, delayTime, nowClockTime, anchorMediaTime, playRa…
342 int64_t anchorClockTime = 100; variable
348 …syncManager_->SimpleGetMediaTime(anchorClockTime, delayTime, nowClockTime, anchorMediaTime, playRa…
379 int64_t anchorClockTime = 100; variable
383 …int64_t result = mediaSyncManager.SimpleGetClockTime(anchorClockTime, nowMediaTime, anchorMediaTim…
391 int64_t anchorClockTime = HST_TIME_NONE; variable
395 …int64_t result = mediaSyncManager.SimpleGetClockTime(anchorClockTime, nowMediaTime, anchorMediaTim…
[all …]
/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()
339 int64_t MediaSyncManager::SimpleGetClockTime(int64_t anchorClockTime, int64_t nowMediaTime, int64_t… in SimpleGetClockTime() argument
345 …if (anchorClockTime == HST_TIME_NONE || nowMediaTime == HST_TIME_NONE || anchorMediaTime == HST_TI… in SimpleGetClockTime()
348 return anchorClockTime + (nowMediaTime - anchorMediaTime) / static_cast<double>(playRate); in SimpleGetClockTime()
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/modules/sink/
H A Dmedia_sync_manager.cpp356 int64_t MediaSyncManager::SimpleGetMediaTime(int64_t anchorClockTime, int64_t delayTime, int64_t no… in SimpleGetMediaTime() argument
362 if (anchorClockTime == HST_TIME_NONE || nowClockTime == HST_TIME_NONE in SimpleGetMediaTime()
369 int64_t MediaSyncManager::SimpleGetMediaTimeExactly(int64_t anchorClockTime, int64_t delayTime, int… 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()
462 int64_t MediaSyncManager::SimpleGetClockTime(int64_t anchorClockTime, int64_t nowMediaTime, in SimpleGetClockTime() argument
468 …if (anchorClockTime == HST_TIME_NONE || nowMediaTime == HST_TIME_NONE || anchorMediaTime == HST_TI… in SimpleGetClockTime()
471 return anchorClockTime + (nowMediaTime - anchorMediaTime) / static_cast<double>(playRate); in SimpleGetClockTime()
/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 …static int64_t SimpleGetMediaTimeExactly(int64_t anchorClockTime, int64_t delayTime, int64_t nowCl…
119 …static int64_t SimpleGetClockTime(int64_t anchorClockTime, int64_t nowMediaTime, int64_t anchorMed…
/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…
96 …static int64_t SimpleGetClockTime(int64_t anchorClockTime, int64_t nowMediaTime, int64_t anchorMed…