/external/webrtc/common_video/ |
D | frame_rate_estimator_unittest.cc | 24 FrameRateEstimatorTest() : clock_(123), estimator_(kDefaultWindow) {} in FrameRateEstimatorTest() 28 FrameRateEstimator estimator_; member in webrtc::FrameRateEstimatorTest 32 EXPECT_FALSE(estimator_.GetAverageFps()); in TEST_F() 33 estimator_.OnFrame(clock_.CurrentTime()); in TEST_F() 34 EXPECT_FALSE(estimator_.GetAverageFps()); in TEST_F() 36 EXPECT_FALSE(estimator_.GetAverageFps()); in TEST_F() 41 estimator_.OnFrame(clock_.CurrentTime()); in TEST_F() 42 estimator_.OnFrame(clock_.CurrentTime()); in TEST_F() 43 EXPECT_FALSE(estimator_.GetAverageFps()); in TEST_F() 48 estimator_.OnFrame(clock_.CurrentTime()); in TEST_F() [all …]
|
/external/webrtc/modules/rtp_rtcp/source/ |
D | remote_ntp_time_estimator_unittest.cc | 33 estimator_(new RemoteNtpTimeEstimator(&local_clock_)) {} in RemoteNtpTimeEstimatorTest() 75 EXPECT_EQ(expected_result, estimator_->UpdateRtcpTimestamp( in UpdateRtcpTimestamp() 88 std::unique_ptr<RemoteNtpTimeEstimator> estimator_; member in webrtc::RemoteNtpTimeEstimatorTest 106 EXPECT_EQ(kNotEnoughRtcpSr, estimator_->Estimate(rtp_timestamp)); in TEST_F() 107 EXPECT_EQ(absl::nullopt, estimator_->EstimateRemoteToLocalClockOffsetMs()); in TEST_F() 114 EXPECT_EQ(capture_ntp_time_ms, estimator_->Estimate(rtp_timestamp)); in TEST_F() 116 estimator_->EstimateRemoteToLocalClockOffsetMs()); in TEST_F() 130 EXPECT_EQ(capture_ntp_time_ms, estimator_->Estimate(rtp_timestamp)); in TEST_F() 132 estimator_->EstimateRemoteToLocalClockOffsetMs()); in TEST_F() 146 EXPECT_EQ(capture_ntp_time_ms, estimator_->Estimate(rtp_timestamp)); in TEST_F() [all …]
|
/external/webrtc/modules/video_coding/ |
D | jitter_estimator_tests.cc | 33 estimator_ = std::make_unique<VCMJitterEstimator>(&fake_clock_); in SetUp() 41 std::unique_ptr<VCMJitterEstimator> estimator_; member in webrtc::TestVCMJitterEstimator 67 estimator_->UpdateEstimate(gen.Delay(), gen.FrameSize()); in TEST_F() 70 EXPECT_EQ(estimator_->GetJitterEstimate(0, absl::nullopt), 0); in TEST_F() 83 estimator_->UpdateEstimate(gen.Delay(), gen.FrameSize()); in TEST_F() 86 EXPECT_GT(estimator_->GetJitterEstimate(0, absl::nullopt), 0); in TEST_F() 136 estimator_->UpdateEstimate(gen.Delay(), gen.FrameSize()); in TEST_F() 138 estimator_->FrameNacked(); // To test rtt_mult. in TEST_F() 139 estimator_->UpdateRtt(kRttMs); // To test rtt_mult. in TEST_F() 141 static_cast<uint32_t>(estimator_->GetJitterEstimate( in TEST_F()
|
/external/tensorflow/tensorflow/core/grappler/clusters/ |
D | virtual_cluster.cc | 41 estimator_ = absl::make_unique<AnalyticalCostEstimator>( in VirtualCluster() 87 TF_RETURN_IF_ERROR(estimator_->Initialize(item)); in Run() 89 estimator_->PredictCosts(item.graph, metadata, /*cost=*/nullptr)); in Run() 93 estimator_->GetScheduler()->GetPeakMemoryUsage(); in Run()
|
D | virtual_cluster.h | 56 std::unique_ptr<AnalyticalCostEstimator> estimator_;
|
/external/webrtc/modules/remote_bitrate_estimator/ |
D | remote_bitrate_estimator_abs_send_time.cc | 99 estimator_(), in RemoteBitrateEstimatorAbsSendTime() 289 RTC_DCHECK(estimator_.get()); in IncomingPacketInfo() 323 estimator_->Update(t_delta, ts_delta_ms, size_delta, detector_.State(), in IncomingPacketInfo() 325 detector_.Detect(estimator_->offset(), ts_delta_ms, in IncomingPacketInfo() 326 estimator_->num_of_deltas(), arrival_time_ms); in IncomingPacketInfo() 386 estimator_.reset(new OveruseEstimator(OverUseDetectorOptions())); in TimeoutStreams()
|
D | remote_bitrate_estimator_abs_send_time.h | 129 std::unique_ptr<OveruseEstimator> estimator_; variable
|
/external/tensorflow/tensorflow/core/grappler/costs/ |
D | op_level_cost_estimator_test.cc | 516 return estimator_.PredictCosts(op_context); in PredictCosts() 521 return estimator_.CountMatMulOperations(op_info, found_unknown_shapes); in CountMatMulOperations() 526 return estimator_.CountBatchMatMulOperations(op_info, found_unknown_shapes); in CountBatchMatMulOperations() 532 return estimator_.CountBatchMatMulOperations(op_info, batch_mat_mul, in CountBatchMatMulOperations() 537 estimator_.compute_memory_overlap_ = value; in SetComputeMemoryOverlap() 584 OpLevelCostEstimator estimator_; member in tensorflow::grappler::OpLevelCostEstimatorTest 640 auto cost = estimator_.PredictCosts(op_context); in TEST_F() 665 auto cost = estimator_.PredictCosts(op_context); in TEST_F() 686 auto cost = estimator_.PredictCosts(op_context); in TEST_F() 708 auto cost = estimator_.PredictCosts(op_context); in TEST_F() [all …]
|
/external/openscreen/cast/streaming/ |
D | bandwidth_estimator_unittest.cc | 39 : estimator_(kMaxPacketsPerTimeslice, kTimesliceDuration, kStartTime) {} in BandwidthEstimatorTest() 41 BandwidthEstimator* estimator() { return &estimator_; } in estimator() 49 BandwidthEstimator estimator_; member in openscreen::cast::__anon25d13d240111::BandwidthEstimatorTest
|