Fix some missed stdlib includes
Ran into these when trying a newer libstdc++ Bug: None Change-Id: Ie3ce0ae1ae1e6da1a15476fbf942b48b37adc9fa Reviewed-on: https://webrtc-review.googlesource.com/23501 Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Commit-Queue: Oleh Prypin <oprypin@webrtc.org> Cr-Commit-Position: refs/heads/master@{#20701}
This commit is contained in:
@ -8,6 +8,7 @@
|
||||
* be found in the AUTHORS file in the root of the source tree.
|
||||
*/
|
||||
|
||||
#include <cmath>
|
||||
#include <limits>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
@ -11,6 +11,7 @@
|
||||
#ifndef MODULES_VIDEO_CODING_CODECS_TEST_VIDEOPROCESSOR_INTEGRATIONTEST_H_
|
||||
#define MODULES_VIDEO_CODING_CODECS_TEST_VIDEOPROCESSOR_INTEGRATIONTEST_H_
|
||||
|
||||
#include <cmath>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@ -130,10 +131,11 @@ class VideoProcessorIntegrationTest : public testing::Test {
|
||||
return 100 * sum_delta_framesize_mismatch_layer[i] / num_frames_layer[i];
|
||||
}
|
||||
int BitrateMismatchPercent(float target_kbps) const {
|
||||
return 100 * fabs(kbps - target_kbps) / target_kbps;
|
||||
return 100 * std::fabs(kbps - target_kbps) / target_kbps;
|
||||
}
|
||||
int BitrateMismatchPercent(int i, float target_kbps_layer) const {
|
||||
return 100 * fabs(kbps_layer[i] - target_kbps_layer) / target_kbps_layer;
|
||||
return 100 * std::fabs(kbps_layer[i] - target_kbps_layer) /
|
||||
target_kbps_layer;
|
||||
}
|
||||
int num_frames = 0;
|
||||
int num_frames_layer[kMaxNumTemporalLayers] = {0};
|
||||
|
@ -11,6 +11,7 @@
|
||||
#include "rtc_tools/event_log_visualizer/analyzer.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include <limits>
|
||||
#include <map>
|
||||
#include <sstream>
|
||||
|
Reference in New Issue
Block a user