#include "base/logging.h"
#include "base/test/simple_test_tick_clock.h"
#include "base/time/time.h"
#include "remoting/codec/video_encoder_vpx.h"
#include "remoting/proto/video.pb.h"
#include "remoting/test/cyclic_frame_generator.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/webrtc/modules/desktop_capture/desktop_frame.h"
namespace remoting {
namespace test {
constexpr auto kIntervalBetweenFrames = …;
struct CodecParams { … };
class CodecPerfTest : public testing::Test,
public testing::WithParamInterface<CodecParams> { … };
INSTANTIATE_TEST_SUITE_P(…);
INSTANTIATE_TEST_SUITE_P(…);
INSTANTIATE_TEST_SUITE_P(…);
TEST_P(CodecPerfTest, EncodeLatency) { … }
TEST_P(CodecPerfTest, MaxFramerate) { … }
}
}