Home
last modified time | relevance | path

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

/external/v4l2_codec2/tests/c2_e2e_test/jni/
Dcommon.cpp189 std::vector<double> moving_avgs = MovingAvgOverSum(); in CalculateFPS() local
190 std::sort(moving_avgs.begin(), moving_avgs.end()); in CalculateFPS()
192 int index = static_cast<int>(std::round(kRegardedPercentile * (moving_avgs.size() - 1) / 100)); in CalculateFPS()
195 moving_avgs[0], moving_avgs[index], moving_avgs[moving_avgs.size() - 1], in CalculateFPS()
198 return 1E6 / moving_avgs[index]; in CalculateFPS()
205 std::vector<double> moving_avgs; in MovingAvgOverSum() local
211 moving_avgs.push_back(avg); in MovingAvgOverSum()
212 return moving_avgs; in MovingAvgOverSum()
233 moving_avgs.push_back(cumulative_sum / num); in MovingAvgOverSum()
235 moving_avgs.push_back(frame_time_diffs_us_[bi - 1]); in MovingAvgOverSum()
[all …]