Home
last modified time | relevance | path

Searched refs:histogram_ (Results 1 – 16 of 16) sorted by relevance

/external/webrtc/modules/video_coding/
Dhistogram_unittest.cc20 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/
Dmatched_filter_lag_aggregator.cc25 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 …]
Dmatched_filter_lag_aggregator.h45 std::vector<int> histogram_; variable
/external/webrtc/modules/audio_processing/agc/
Dagc.cc33 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()
Dagc.h44 std::unique_ptr<LoudnessHistogram> histogram_; variable
/external/tensorflow/tensorflow/core/lib/histogram/
Dhistogram.cc234 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()
Dhistogram.h113 : histogram_(custom_bucket_limits) {} in ThreadSafeHistogram()
133 Histogram histogram_ TF_GUARDED_BY(mu_);
/external/libchrome/base/metrics/
Dsingle_sample_metrics.cc53 : 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()
Dsingle_sample_metrics.h93 HistogramBase* const histogram_;
Dhistogram.cc1033 : 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()
Dhistogram.h481 LinearHistogram* histogram() { return histogram_; } in histogram()
486 LinearHistogram* const histogram_;
/external/tensorflow/tensorflow/core/lib/monitoring/
Dsampler.h61 : 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/
Ddelay_manager.cc94 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()
Ddelay_manager.h110 Histogram* histogram() const { return histogram_.get(); } in histogram()
146 std::unique_ptr<Histogram> histogram_; variable
/external/grpc-grpc/test/cpp/qps/
Dclient.h312 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++/
DSTL.h2207 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()