Searched refs:kNumAnalysisFrames (Results 1 – 3 of 3) sorted by relevance
23 constexpr int kNumAnalysisFrames = 100; variable44 for (int i = 0; i < kNumAnalysisFrames - 1; ++i) { in TEST()118 for (int i = 0; i < kNumAnalysisFrames; ++i) { in TEST()125 for (int i = 0; i < kActivityThreshold * kNumAnalysisFrames - 1; ++i) { in TEST()141 for (int i = 0; i < kNumAnalysisFrames; ++i) { in TEST()148 for (int i = 0; i < (1.0f - kActivityThreshold) * kNumAnalysisFrames - 1; in TEST()164 for (int i = 0; i < kNumAnalysisFrames - 1; ++i) { in TEST()179 for (int i = 0; i < kNumAnalysisFrames - 1; ++i) { in TEST()193 for (int i = 0; i < kNumAnalysisFrames - 1; ++i) { in TEST()211 for (int i = 0; i < kNumAnalysisFrames - 1; ++i) { in TEST()[all …]
21 constexpr int kNumAnalysisFrames = 100; variable30 probabilities_(kNumAnalysisFrames) { in SpeechProbabilityBuffer()62 if (++buffer_index_ >= kNumAnalysisFrames) { in Update()75 (buffer_index_ > 0) ? (buffer_index_ - 1) : (kNumAnalysisFrames - 1); in RemoveTransient()82 index = (index > 0) ? (index - 1) : (kNumAnalysisFrames - 1); in RemoveTransient()90 if (sum_probabilities_ < kActivityThreshold * kNumAnalysisFrames) { in IsActiveSegment()
25 constexpr int kNumAnalysisFrames = 100; variable35 histogram_(LoudnessHistogram::Create(kNumAnalysisFrames)), in Agc()59 if (histogram_->num_updates() < kNumAnalysisFrames) { in GetRmsErrorDb()64 if (histogram_->AudioContent() < kNumAnalysisFrames * kActivityThreshold) { in GetRmsErrorDb()