| Index: remoting/codec/codec_test.h
|
| diff --git a/remoting/codec/codec_test.h b/remoting/codec/codec_test.h
|
| index e7e055f12dafcbb24e0ae93801c7a7b3fa16f7f0..9c9ec7bf83b20c5d8ab2c9e500964f7f1e9b7962 100644
|
| --- a/remoting/codec/codec_test.h
|
| +++ b/remoting/codec/codec_test.h
|
| @@ -5,9 +5,12 @@
|
| #ifndef REMOTING_CODEC_CODEC_TEST_H_
|
| #define REMOTING_CODEC_CODEC_TEST_H_
|
|
|
| +#include <list>
|
| +
|
| #include "base/memory/ref_counted.h"
|
|
|
| namespace webrtc {
|
| +class DesktopFrame;
|
| class DesktopSize;
|
| }
|
|
|
| @@ -40,6 +43,16 @@ void TestVideoEncoderDecoderGradient(VideoEncoder* encoder,
|
| double max_error_limit,
|
| double mean_error_limit);
|
|
|
| +// Run sufficient encoding iterations to measure the FPS of the specified
|
| +// encoder. The caller may supply one or more DesktopFrames to encode, which
|
| +// will be cycled through until timing is complete. If the caller does not
|
| +// supply any frames then a single full-frame of randomized pixels is used.
|
| +float MeasureVideoEncoderFpsWithSize(VideoEncoder* encoder,
|
| + const webrtc::DesktopSize& size);
|
| +float MeasureVideoEncoderFpsWithFrames(
|
| + VideoEncoder* encoder,
|
| + const std::list<webrtc::DesktopFrame*>& frames);
|
| +
|
| } // namespace remoting
|
|
|
| #endif // REMOTING_CODEC_CODEC_TEST_H_
|
|
|