Searched refs:nowClockTime (Results 1 - 5 of 5) sorted by relevance
/foundation/multimedia/av_codec/services/media_engine/modules/sink/ |
H A D | media_sync_manager.cpp | 364 int64_t MediaSyncManager::SimpleGetMediaTime(int64_t anchorClockTime, int64_t delayTime, int64_t nowClockTime, in SimpleGetMediaTime() argument 370 if (anchorClockTime == HST_TIME_NONE || nowClockTime == HST_TIME_NONE in SimpleGetMediaTime() 377 int64_t MediaSyncManager::SimpleGetMediaTimeExactly(int64_t anchorClockTime, int64_t delayTime, int64_t nowClockTime, in SimpleGetMediaTimeExactly() argument 383 if (anchorClockTime == HST_TIME_NONE || nowClockTime == HST_TIME_NONE in SimpleGetMediaTimeExactly() 387 return anchorMediaTime + (nowClockTime - anchorClockTime + delayTime) * static_cast<double>(playRate) - delayTime; in SimpleGetMediaTimeExactly()
|
/foundation/multimedia/av_codec/interfaces/inner_api/native/ |
H A D | media_sync_manager.h | 117 static int64_t SimpleGetMediaTime(int64_t anchorClockTime, int64_t delayTime, int64_t nowClockTime, 119 static int64_t SimpleGetMediaTimeExactly(int64_t anchorClockTime, int64_t delayTime, int64_t nowClockTime,
|
/foundation/multimedia/av_codec/test/unittest/media_sink_test/ |
H A D | sync_manager_test.cpp | 424 int64_t nowClockTime = 150;
in HWTEST_F() local 428 syncManager_->SimpleGetMediaTime(anchorClockTime, delayTime, nowClockTime, anchorMediaTime, playRate);
in HWTEST_F() 437 int64_t nowClockTime = 150;
in HWTEST_F() local 441 syncManager_->SimpleGetMediaTime(anchorClockTime, delayTime, nowClockTime, anchorMediaTime, playRate);
in HWTEST_F() 450 int64_t nowClockTime = 150;
in HWTEST_F() local 454 syncManager_->SimpleGetMediaTime(anchorClockTime, delayTime, nowClockTime, anchorMediaTime, playRate);
in HWTEST_F()
|
/foundation/multimedia/media_foundation/engine/pipeline/core/ |
H A D | media_sync_manager.cpp | 301 int64_t MediaSyncManager::SimpleGetMediaTime(int64_t anchorClockTime, int64_t nowClockTime, int64_t anchorMediaTime, in SimpleGetMediaTime() argument 307 if (anchorClockTime == HST_TIME_NONE || nowClockTime == HST_TIME_NONE || anchorMediaTime == HST_TIME_NONE) { in SimpleGetMediaTime() 310 return anchorMediaTime + (nowClockTime - anchorClockTime) * static_cast<double>(playRate); in SimpleGetMediaTime()
|
/foundation/multimedia/media_foundation/engine/include/pipeline/core/ |
H A D | media_sync_manager.h | 94 static int64_t SimpleGetMediaTime(int64_t anchorClockTime, int64_t nowClockTime, int64_t anchorMediaTime,
|
Completed in 4 milliseconds