Home
last modified time | relevance | path

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

/external/chromium_org/third_party/webrtc/modules/video_coding/main/source/
Dcodec_timer.cc31 int32_t VCMCodecTimer::StopTimer(int64_t startTimeMs, int64_t nowMs) in StopTimer() argument
33 const int32_t timeDiff = static_cast<int32_t>(nowMs - startTimeMs); in StopTimer()
34 MaxFilter(timeDiff, nowMs); in StopTimer()
51 void VCMCodecTimer::MaxFilter(int32_t decodeTime, int64_t nowMs) in MaxFilter() argument
55 UpdateMaxHistory(decodeTime, nowMs); in MaxFilter()
56 ProcessHistory(nowMs); in MaxFilter()
104 VCMCodecTimer::ProcessHistory(int64_t nowMs) in ProcessHistory() argument
117 if (nowMs - _history[i].timeMs > MAX_HISTORY_SIZE * SHORT_FILTER_MS) in ProcessHistory()
Dmedia_opt_util.cc642 VCMLossProtectionLogic::VCMLossProtectionLogic(int64_t nowMs): in VCMLossProtectionLogic() argument
663 Reset(nowMs); in VCMLossProtectionLogic()
792 VCMLossProtectionLogic::MaxFilteredLossPr(int64_t nowMs) const in MaxFilteredLossPr()
805 if (nowMs - _lossPrHistory[i].timeMs > in MaxFilteredLossPr()
821 int64_t nowMs, in FilteredLoss() argument
826 UpdateMaxLossHistory(lossPr255, nowMs); in FilteredLoss()
829 _lossPr255.Apply(static_cast<float> (nowMs - _lastPrUpdateT), in FilteredLoss()
831 _lastPrUpdateT = nowMs; in FilteredLoss()
843 filtered_loss = MaxFilteredLossPr(nowMs); in FilteredLoss()
863 VCMLossProtectionLogic::UpdatePacketsPerFrame(float nPackets, int64_t nowMs) in UpdatePacketsPerFrame() argument
[all …]
Dmedia_opt_util.h245 VCMLossProtectionLogic(int64_t nowMs);
296 void UpdatePacketsPerFrame(float nPackets, int64_t nowMs);
302 void UpdatePacketsPerFrameKey(float nPackets, int64_t nowMs);
359 uint8_t FilteredLoss(int64_t nowMs, FilterPacketLossMode filter_mode,
362 void Reset(int64_t nowMs);
369 uint8_t MaxFilteredLossPr(int64_t nowMs) const;
Dcodec_timer.h39 int32_t StopTimer(int64_t startTimeMs, int64_t nowMs);
49 void MaxFilter(int32_t newTime, int64_t nowMs);
50 void ProcessHistory(int64_t nowMs);
Dgeneric_decoder.cc146 int64_t nowMs) in Decode() argument
148 _frameInfos[_nextFrameInfoIdx].decodeStartTimeMs = nowMs; in Decode()
Dgeneric_decoder.h80 int32_t Decode(const VCMEncodedFrame& inputFrame, int64_t nowMs);
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/test/BWEStandAlone/
DTestLoadGenerator.cc380 const int64_t nowMs = TickTime::MillisecondTimestamp(); in ChangeFrameRate() local
381 if (nowMs < _frChangeTimeMs) in ChangeFrameRate()
393 _frChangeTimeMs = nowMs + static_cast<int64_t>(1000.0 * factor * in ChangeFrameRate()