/external/webrtc/modules/video_coding/ |
D | histogram_unittest.cc | 20 TestHistogram() : histogram_(5, 10) {} in TestHistogram() 21 Histogram histogram_; member in webrtc::video_coding::TestHistogram 25 EXPECT_EQ(0ul, histogram_.NumValues()); in TEST_F() 26 histogram_.Add(0); in TEST_F() 27 EXPECT_EQ(1ul, histogram_.NumValues()); in TEST_F() 31 histogram_.Add(0); in TEST_F() 32 histogram_.Add(1); in TEST_F() 33 histogram_.Add(2); in TEST_F() 34 histogram_.Add(3); in TEST_F() 35 histogram_.Add(4); in TEST_F() [all …]
|
/external/webrtc/modules/audio_processing/aec3/ |
D | matched_filter_lag_aggregator.cc | 25 histogram_(max_filter_lag + 1, 0), in MatchedFilterLagAggregator() 35 std::fill(histogram_.begin(), histogram_.end(), 0); in Reset() 60 data_dumper_->DumpRaw("aec3_echo_path_delay_estimator_histogram", histogram_); in Aggregate() 63 RTC_DCHECK_GT(histogram_.size(), histogram_data_[histogram_data_index_]); in Aggregate() 65 --histogram_[histogram_data_[histogram_data_index_]]; in Aggregate() 70 RTC_DCHECK_GT(histogram_.size(), histogram_data_[histogram_data_index_]); in Aggregate() 72 ++histogram_[histogram_data_[histogram_data_index_]]; in Aggregate() 78 std::distance(histogram_.begin(), in Aggregate() 79 std::max_element(histogram_.begin(), histogram_.end())); in Aggregate() 83 histogram_[candidate] > thresholds_.converged; in Aggregate() [all …]
|
D | matched_filter_lag_aggregator.h | 45 std::vector<int> histogram_; variable
|
/external/webrtc/modules/audio_processing/agc/ |
D | agc.cc | 33 histogram_(LoudnessHistogram::Create(kNumAnalysisFrames)), in Agc() 45 histogram_->Update(rms[i], probabilities[i]); in Process() 55 if (histogram_->num_updates() < kNumAnalysisFrames) { in GetRmsErrorDb() 60 if (histogram_->AudioContent() < kNumAnalysisFrames * kActivityThreshold) { in GetRmsErrorDb() 65 double loudness = Linear2Loudness(histogram_->CurrentRms()); in GetRmsErrorDb() 67 histogram_->Reset(); in GetRmsErrorDb() 72 histogram_->Reset(); in Reset()
|
D | agc.h | 44 std::unique_ptr<LoudnessHistogram> histogram_; variable
|
/external/tensorflow/tensorflow/core/lib/histogram/ |
D | histogram.cc | 234 return histogram_.DecodeFromProto(proto); in DecodeFromProto() 239 histogram_.Clear(); in Clear() 244 histogram_.Add(value); in Add() 250 histogram_.EncodeToProto(proto, preserve_zero_buckets); in EncodeToProto() 255 return histogram_.Median(); in Median() 260 return histogram_.Percentile(p); in Percentile() 265 return histogram_.Average(); in Average() 270 return histogram_.StandardDeviation(); in StandardDeviation() 275 return histogram_.ToString(); in ToString()
|
D | histogram.h | 113 : histogram_(custom_bucket_limits) {} in ThreadSafeHistogram() 133 Histogram histogram_ TF_GUARDED_BY(mu_);
|
/external/libchrome/base/metrics/ |
D | single_sample_metrics.cc | 53 : histogram_(Histogram::FactoryGet(histogram_name, in DefaultSingleSampleMetric() 62 DCHECK(histogram_); in DefaultSingleSampleMetric() 67 if (sample_ < 0 || !histogram_) in ~DefaultSingleSampleMetric() 69 histogram_->Add(sample_); in ~DefaultSingleSampleMetric()
|
D | single_sample_metrics.h | 93 HistogramBase* const histogram_;
|
D | histogram.cc | 1033 : histogram_(static_cast<LinearHistogram*>( in ScaledLinearHistogram() 1040 DCHECK(histogram_); in ScaledLinearHistogram() 1046 remainders_.resize(histogram_->bucket_count(), 0); in ScaledLinearHistogram() 1059 static_cast<int32_t>(histogram_->bucket_count() - 1); in AddScaledCount() 1085 histogram_->AddCount(value, scaled_count); in AddScaledCount()
|
D | histogram.h | 481 LinearHistogram* histogram() { return histogram_; } in histogram() 486 LinearHistogram* const histogram_;
|
/external/tensorflow/tensorflow/core/lib/monitoring/ |
D | sampler.h | 61 : histogram_(bucket_limits) {} in SamplerCell() 72 histogram::ThreadSafeHistogram histogram_; 200 inline void SamplerCell::Add(const double sample) { histogram_.Add(sample); } in Add() 204 histogram_.EncodeToProto(&pb, true /* preserve_zero_buckets */); in value()
|
/external/webrtc/modules/audio_coding/neteq/ |
D | delay_manager.cc | 94 histogram_(std::move(histogram)), in DelayManager() 108 RTC_CHECK(histogram_); in DelayManager() 192 if (index < histogram_->NumBuckets()) { in Update() 194 histogram_->Add(index); in Update() 274 int bucket_index = histogram_->Quantile(limit_probability); in CalculateTargetLevel() 302 histogram_->Reset(); in Reset()
|
D | delay_manager.h | 110 Histogram* histogram() const { return histogram_.get(); } in histogram() 146 std::unique_ptr<Histogram> histogram_; variable
|
/external/grpc-grpc/test/cpp/qps/ |
D | client.h | 312 n->Swap(&histogram_); in BeginSwap() 318 hist->Merge(histogram_); in MergeStatsInto() 329 histogram_.Add(entry->value()); in UpdateHistogram() 369 Histogram histogram_; variable
|
/external/ImageMagick/Magick++/lib/Magick++/ |
D | STL.h | 2207 void colorHistogram( Container *histogram_, const Image image) in colorHistogram() argument 2218 histogram_->clear(); in colorHistogram() 2223 histogram_->insert( histogram_->end(), std::pair<const Color,size_t> in colorHistogram()
|