Searched refs:anchorMediaTime (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/foundation/multimedia/av_codec/test/unittest/media_sink_test/ |
H A D | sync_manager_test.cpp | 319 int64_t anchorMediaTime = 200; variable 322 …syncManager_->SimpleGetMediaTime(anchorClockTime, delayTime, nowClockTime, anchorMediaTime, playRa… 332 int64_t anchorMediaTime = 200; variable 335 …syncManager_->SimpleGetMediaTime(anchorClockTime, delayTime, nowClockTime, anchorMediaTime, playRa… 345 int64_t anchorMediaTime = 200; variable 348 …syncManager_->SimpleGetMediaTime(anchorClockTime, delayTime, nowClockTime, anchorMediaTime, playRa… 349 ASSERT_EQ(result, anchorMediaTime); 381 int64_t anchorMediaTime = 150; variable 383 …lt = mediaSyncManager.SimpleGetClockTime(anchorClockTime, nowMediaTime, anchorMediaTime, playRate); 393 int64_t anchorMediaTime = 150; variable [all …]
|
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/modules/sink/ |
H A D | media_sync_manager.cpp | 357 int64_t anchorMediaTime, float playRate) in SimpleGetMediaTime() argument 363 || anchorMediaTime == HST_TIME_NONE || delayTime== HST_TIME_NONE) { in SimpleGetMediaTime() 366 return anchorMediaTime; in SimpleGetMediaTime() 370 int64_t anchorMediaTime, float playRate) in SimpleGetMediaTimeExactly() argument 376 || anchorMediaTime == HST_TIME_NONE || delayTime== HST_TIME_NONE) { in SimpleGetMediaTimeExactly() 379 …return anchorMediaTime + (nowClockTime - anchorClockTime + delayTime) * static_cast<double>(playRa… in SimpleGetMediaTimeExactly() 463 int64_t anchorMediaTime, float playRate) 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/media_foundation/engine/pipeline/core/ |
H A D | media_sync_manager.cpp | 301 …Manager::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_TI… in SimpleGetMediaTime() 310 return anchorMediaTime + (nowClockTime - anchorClockTime) * static_cast<double>(playRate); in SimpleGetMediaTime() 339 …Manager::SimpleGetClockTime(int64_t anchorClockTime, int64_t nowMediaTime, int64_t anchorMediaTime, 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/interfaces/inner_api/native/ |
H A D | media_sync_manager.h | 116 int64_t anchorMediaTime, float playRate); 118 int64_t anchorMediaTime, float playRate); 119 … int64_t SimpleGetClockTime(int64_t anchorClockTime, int64_t nowMediaTime, int64_t anchorMediaTime,
|
/ohos5.0/foundation/multimedia/media_foundation/engine/include/pipeline/core/ |
H A D | media_sync_manager.h | 94 … int64_t SimpleGetMediaTime(int64_t anchorClockTime, int64_t nowClockTime, int64_t anchorMediaTime, 96 … int64_t SimpleGetClockTime(int64_t anchorClockTime, int64_t nowMediaTime, int64_t anchorMediaTime,
|