Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/video_coding/
Dmedia_opt_util.cc471 VCMLossProtectionLogic::VCMLossProtectionLogic(int64_t nowMs) in VCMLossProtectionLogic() argument
489 Reset(nowMs); in VCMLossProtectionLogic()
551 uint8_t VCMLossProtectionLogic::MaxFilteredLossPr(int64_t nowMs) const { in MaxFilteredLossPr()
560 if (nowMs - _lossPrHistory[i].timeMs > in MaxFilteredLossPr()
573 uint8_t VCMLossProtectionLogic::FilteredLoss(int64_t nowMs, in FilteredLoss() argument
577 UpdateMaxLossHistory(lossPr255, nowMs); in FilteredLoss()
580 _lossPr255.Apply(static_cast<float>(nowMs - _lastPrUpdateT), in FilteredLoss()
582 _lastPrUpdateT = nowMs; in FilteredLoss()
594 filtered_loss = MaxFilteredLossPr(nowMs); in FilteredLoss()
610 int64_t nowMs) { in UpdatePacketsPerFrame() argument
[all …]
Dcodec_timer.cc36 void VCMCodecTimer::MaxFilter(int32_t decodeTime, int64_t nowMs) { in MaxFilter() argument
38 UpdateMaxHistory(decodeTime, nowMs); in MaxFilter()
39 ProcessHistory(nowMs); in MaxFilter()
72 void VCMCodecTimer::ProcessHistory(int64_t nowMs) { in ProcessHistory() argument
81 if (nowMs - _history[i].timeMs > MAX_HISTORY_SIZE * SHORT_FILTER_MS) { in ProcessHistory()
Dmedia_opt_util.h227 explicit VCMLossProtectionLogic(int64_t nowMs);
260 void UpdatePacketsPerFrame(float nPackets, int64_t nowMs);
266 void UpdatePacketsPerFrameKey(float nPackets, int64_t nowMs);
324 uint8_t FilteredLoss(int64_t nowMs,
328 void Reset(int64_t nowMs);
335 uint8_t MaxFilteredLossPr(int64_t nowMs) const;
Dcodec_timer.h36 void MaxFilter(int32_t newDecodeTimeMs, int64_t nowMs);
46 void ProcessHistory(int64_t nowMs);
Dgeneric_decoder.cc143 int32_t VCMGenericDecoder::Decode(const VCMEncodedFrame& frame, int64_t nowMs) { in Decode() argument
146 _frameInfos[_nextFrameInfoIdx].decodeStartTimeMs = nowMs; in Decode()
Dgeneric_decoder.h79 int32_t Decode(const VCMEncodedFrame& inputFrame, int64_t nowMs);
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
DPlotStatistics.java80 long nowMs = System.currentTimeMillis(); in annotatePlot() local
82 long msSinceUpdate = (nowMs - lastAnnotation); in annotatePlot()
90 lastAnnotation = nowMs; in annotatePlot()