/foundation/multimedia/av_codec/services/media_engine/modules/sink/ |
H A D | media_sync_manager.cpp | 73 if (currentAbsMediaTime_ == HST_TIME_NONE || currentAnchorClockTime_ == HST_TIME_NONE in SetPlaybackRate() 74 || currentAnchorMediaTime_ == HST_TIME_NONE || delayTime_ == HST_TIME_NONE) { in SetPlaybackRate() 102 HST_TIME_NONE, HST_TIME_NONE)); in SetMediaTimeStartEnd() 129 if (minRangeStartOfMediaTime_ == HST_TIME_NONE || startMediaTime < minRangeStartOfMediaTime_) { in SetMediaTimeRangeStart() 143 if (maxRangeEndOfMediaTime_ == HST_TIME_NONE || endMediaTime > maxRangeEndOfMediaTime_) { in SetMediaTimeRangeEnd() 174 if (clockState_ == State::PAUSED && pausedExactAbsMediaTime_ != HST_TIME_NONE in Resume() 175 && pausedExactMediaTime_ != HST_TIME_NONE in Resume() [all...] |
H A D | video_sink.cpp | 133 lastTimeStamp_ = HST_TIME_NONE; in ResetSyncInfo() 134 lastBufferTime_ = HST_TIME_NONE; in ResetSyncInfo() 136 lastPts_ = HST_TIME_NONE; in ResetSyncInfo() 137 lastClockTime_ = HST_TIME_NONE; in ResetSyncInfo() 171 FALSE_RETURN_V(ct4Buffer != Plugins::HST_TIME_NONE, 0); in CheckBufferLatenessMayWait() 173 if (lastBufferTime_ != HST_TIME_NONE && seekFlag_ == false) { in CheckBufferLatenessMayWait() 229 if (firstPts_ == HST_TIME_NONE) { in SetFirstPts() 230 if (syncCenter && syncCenter->GetMediaStartPts() != HST_TIME_NONE) { in SetFirstPts()
|
H A D | audio_sink.cpp | 404 if (!isApe_ || seekTimeUs_ == HST_TIME_NONE) { in DropApeBuffer() 412 seekTimeUs_ = HST_TIME_NONE; in DropApeBuffer() 468 lastAnchorClockTime_ = HST_TIME_NONE; in ResetSyncInfo() 475 lastClkTime_ = HST_TIME_NONE; in Reset() 476 lastLatency_ = HST_TIME_NONE; in Reset() 477 lastBufferDuration_ = HST_TIME_NONE; in Reset() 499 if (lastClkTime_ == HST_TIME_NONE) { in DetectAudioUnderrun() 525 (lastAnchorClockTime_ == HST_TIME_NONE) || in UpdateTimeAnchorIfNeeded() 551 if (firstPts_ == HST_TIME_NONE) { in DoSyncWrite() 552 if (syncCenter && syncCenter->GetMediaStartPts() != HST_TIME_NONE) { in DoSyncWrite() [all...] |
/foundation/multimedia/av_codec/interfaces/inner_api/native/ |
H A D | media_sync_manager.h | 140 int64_t currentAnchorClockTime_ {HST_TIME_NONE}; 141 int64_t currentAnchorMediaTime_ {HST_TIME_NONE}; 142 int64_t currentAbsMediaTime_ {HST_TIME_NONE}; 143 int64_t pausedMediaTime_ {HST_TIME_NONE}; 144 int64_t pausedExactMediaTime_ {HST_TIME_NONE}; 145 int64_t pausedAbsMediaTime_ {HST_TIME_NONE}; 146 int64_t pausedExactAbsMediaTime_ {HST_TIME_NONE}; 147 int64_t pausedClockTime_ {HST_TIME_NONE}; 148 int64_t firstMediaTimeAfterSeek_ {HST_TIME_NONE}; 149 int64_t startingTimeMediaUs_ {HST_TIME_NONE}; [all...] |
H A D | audio_sink.h | 109 int64_t lastClkTime_ {HST_TIME_NONE}; 110 int64_t lastLatency_ {HST_TIME_NONE}; 111 int64_t lastBufferDuration_ {HST_TIME_NONE}; 119 int64_t firstAudioAnchorTimeMediaUs_ {HST_TIME_NONE}; 120 int64_t nextAudioClockUpdateTimeUs_ {HST_TIME_NONE}; 121 int64_t lastAnchorClockTime_ {HST_TIME_NONE}; 122 int64_t latestBufferPts_ {HST_TIME_NONE}; 130 int64_t firstPts_ {HST_TIME_NONE}; 164 std::atomic<int64_t> seekTimeUs_ {HST_TIME_NONE};
|
H A D | video_sink.h | 54 int64_t lastTimeStamp_ {HST_TIME_NONE}; 55 int64_t lastBufferTime_ {HST_TIME_NONE}; 64 int64_t firstPts_ {HST_TIME_NONE};
|
H A D | subtitle_sink.h | 75 int64_t lastReportedClockTime_ {HST_TIME_NONE}; 76 int64_t latestBufferPts_ {HST_TIME_NONE};
|
H A D | audio_decoder_filter.h | 119 int64_t latestBufferTime_{HST_TIME_NONE}; 120 int64_t latestPausedTime_{HST_TIME_NONE};
|
H A D | decoder_surface_filter.h | 145 int64_t latestBufferTime_{HST_TIME_NONE}; 146 int64_t latestPausedTime_{HST_TIME_NONE};
|
/foundation/multimedia/media_foundation/engine/pipeline/core/ |
H A D | media_sync_manager.cpp | 72 if (currentAnchorClockTime_ == HST_TIME_NONE || currentAnchorMediaTime_ == HST_TIME_NONE) { in SetPlaybackRate() 96 std::tuple<int32_t, int64_t, int64_t>(trackId, HST_TIME_NONE, HST_TIME_NONE)); in SetMediaTimeStartEnd() 119 if (minRangeStartOfMediaTime_ == HST_TIME_NONE || startMediaTime < minRangeStartOfMediaTime_) { in SetMediaTimeRangeStart() 128 if (maxRangeEndOfMediaTime_ == HST_TIME_NONE || endMediaTime > maxRangeEndOfMediaTime_) { in SetMediaTimeRangeEnd() 159 if (clockState_ == State::PAUSED && pausedMediaTime_ != HST_TIME_NONE && alreadySetSyncersShouldWait_) { in Resume() 161 pausedMediaTime_ = HST_TIME_NONE; in Resume() 162 pausedClockTime_ = HST_TIME_NONE; in Resume() 177 return HST_TIME_NONE; in GetSystemClock() [all...] |
/foundation/multimedia/media_foundation/engine/include/pipeline/core/ |
H A D | media_sync_manager.h | 111 int64_t currentAnchorClockTime_ {HST_TIME_NONE}; 112 int64_t currentAnchorMediaTime_ {HST_TIME_NONE}; 113 int64_t pausedMediaTime_ {HST_TIME_NONE}; 114 int64_t pausedClockTime_ {HST_TIME_NONE}; 120 int64_t seekingMediaTime_ {HST_TIME_NONE}; 124 int64_t minRangeStartOfMediaTime_ {HST_TIME_NONE}; 125 int64_t maxRangeEndOfMediaTime_ {HST_TIME_NONE};
|
/foundation/multimedia/media_foundation/engine/pipeline/filters/common/buffer_calibration/ |
H A D | strict_monotonic_pts_cal.h | 30 if (startTime_ != HST_TIME_NONE) { 54 lastPts_ = HST_TIME_NONE; 61 int64_t lastPts_ {HST_TIME_NONE};
|
H A D | pts_calibration_strategy.h | 30 startTime_ = HST_TIME_NONE; in Reset() 51 int64_t startTime_ {HST_TIME_NONE};
|
/foundation/multimedia/av_codec/test/unittest/media_sink_test/ |
H A D | sync_manager_test.cpp | 199 EXPECT_EQ(syncManager_->pausedMediaTime_, HST_TIME_NONE);
in HWTEST_F() 200 EXPECT_EQ(syncManager_->pausedExactMediaTime_, HST_TIME_NONE);
in HWTEST_F() 201 EXPECT_EQ(syncManager_->pausedClockTime_, HST_TIME_NONE);
in HWTEST_F() 202 EXPECT_EQ(syncManager_->pausedAbsMediaTime_, HST_TIME_NONE);
in HWTEST_F() 203 EXPECT_EQ(syncManager_->pausedExactAbsMediaTime_, HST_TIME_NONE);
in HWTEST_F() 227 // Scenario1: Seek when minRangeStartOfMediaTime_ is HST_TIME_NONE
230 syncManager_->minRangeStartOfMediaTime_ = HST_TIME_NONE;
in HWTEST_F() 235 // Scenario2: Seek when maxRangeEndOfMediaTime_ is HST_TIME_NONE
239 syncManager_->maxRangeEndOfMediaTime_ = HST_TIME_NONE;
in HWTEST_F() 258 EXPECT_EQ(syncManager_->firstMediaTimeAfterSeek_, HST_TIME_NONE);
in HWTEST_F() [all...] |
H A D | video_sink_test.cpp | 78 videoSink_->SetFirstPts(HST_TIME_NONE);
in HWTEST_F() 114 videoSink_->SetFirstPts(HST_TIME_NONE);
in HWTEST_F() 149 videoSink_->SetFirstPts(HST_TIME_NONE);
in HWTEST_F() 179 syncCenter->returnInt64Queue_.push(Plugins::HST_TIME_NONE);
in HWTEST_F() 235 // Scenario1: Test when firstPts_ is HST_TIME_NONE, SetFirstPts should set firstPts_ to pts.
243 // Scenario2: Test when firstPts_ is not HST_TIME_NONE, SetFirstPts should not change firstPts_.
|
/foundation/multimedia/media_foundation/engine/include/pipeline/filters/source/audio_capture/ |
H A D | audio_capture_filter.h | 102 int64_t latestBufferTime_ {HST_TIME_NONE}; 103 int64_t latestPausedTime_ {HST_TIME_NONE};
|
/foundation/multimedia/media_foundation/engine/include/pipeline/filters/sink/audio_sink/ |
H A D | audio_sink_filter.h | 82 int64_t latestBufferPts_ {HST_TIME_NONE}; 99 int64_t lastReportedClockTime_ {HST_TIME_NONE};
|
/foundation/multimedia/media_foundation/engine/include/plugin/common/ |
H A D | plugin_time.h | 22 #define HST_TIME_NONE ((int64_t)-1) macro
|
/foundation/multimedia/media_foundation/src/common/ |
H A D | plugin_time.h | 22 #define HST_TIME_NONE ((int64_t)-1) macro
|
/foundation/multimedia/media_foundation/engine/pipeline/filters/sink/audio_sink/ |
H A D | audio_sink_filter.cpp | 348 if (lastReportedClockTime_ == HST_TIME_NONE || lastReportedClockTime_ + reportAnchorDuration_ <= nowCt || in DoSyncWrite() 374 lastReportedClockTime_ = HST_TIME_NONE; in ResetSyncInfo() 375 latestBufferPts_ = HST_TIME_NONE; in ResetSyncInfo() 376 latestBufferDuration_ = HST_TIME_NONE; in ResetSyncInfo()
|
/foundation/multimedia/media_foundation/interface/inner_api/plugin/ |
H A D | plugin_time.h | 22 constexpr int HST_TIME_NONE = (int64_t)-1; member
|
/foundation/multimedia/av_codec/interfaces/plugin/ |
H A D | source_plugin.h | 194 duration = Plugins::HST_TIME_NONE; in GetDuration()
|
/foundation/multimedia/media_foundation/engine/pipeline/filters/source/audio_capture/ |
H A D | audio_capture_filter.cpp | 320 latestBufferTime_ = HST_TIME_NONE; in Stop() 321 latestPausedTime_ = HST_TIME_NONE; in Stop() 400 if (latestPausedTime_ != HST_TIME_NONE && latestBufferTime_ > latestPausedTime_) { in ReadLoop()
|
/foundation/multimedia/av_codec/services/media_engine/filters/ |
H A D | audio_decoder_filter.cpp | 188 latestBufferTime_ = HST_TIME_NONE; in DoStop() 189 latestPausedTime_ = HST_TIME_NONE; in DoStop()
|
/foundation/multimedia/av_codec/services/media_engine/modules/source/ |
H A D | source.cpp | 462 FALSE_RETURN_V_MSG_W(seekToTimeFlag_, Plugins::HST_TIME_NONE, "Source GetDuration return -1 for isHls false."); in GetDuration() 465 FALSE_RETURN_V_MSG_W(ret == Status::OK, Plugins::HST_TIME_NONE, "Source GetDuration from source plugin failed."); in GetDuration()
|