| Index: webrtc/test/frame_utils.h
|
| diff --git a/webrtc/test/statistics.h b/webrtc/test/frame_utils.h
|
| similarity index 55%
|
| copy from webrtc/test/statistics.h
|
| copy to webrtc/test/frame_utils.h
|
| index d4a111e0615e8928305532c0aafbdec3660a875f..42e2cba67e1f6c4e50a6fe7b9aa8bee10c20d200 100644
|
| --- a/webrtc/test/statistics.h
|
| +++ b/webrtc/test/frame_utils.h
|
| @@ -7,30 +7,24 @@
|
| * in the file PATENTS. All contributing project authors may
|
| * be found in the AUTHORS file in the root of the source tree.
|
| */
|
| -#ifndef WEBRTC_TEST_STATISTICS_H_
|
| -#define WEBRTC_TEST_STATISTICS_H_
|
| +#ifndef WEBRTC_TEST_FRAME_UTILS_H_
|
| +#define WEBRTC_TEST_FRAME_UTILS_H_
|
|
|
| -#include "webrtc/typedefs.h"
|
| +#include "webrtc/base/basictypes.h"
|
|
|
| namespace webrtc {
|
| +class VideoFrame;
|
| namespace test {
|
|
|
| -class Statistics {
|
| - public:
|
| - Statistics();
|
| +bool EqualPlane(const uint8_t* data1,
|
| + const uint8_t* data2,
|
| + int stride,
|
| + int width,
|
| + int height);
|
|
|
| - void AddSample(double sample);
|
| +bool FramesEqual(const webrtc::VideoFrame& f1, const webrtc::VideoFrame& f2);
|
|
|
| - double Mean() const;
|
| - double Variance() const;
|
| - double StandardDeviation() const;
|
| -
|
| - private:
|
| - double sum_;
|
| - double sum_squared_;
|
| - uint64_t count_;
|
| -};
|
| } // namespace test
|
| } // namespace webrtc
|
|
|
| -#endif // WEBRTC_TEST_STATISTICS_H_
|
| +#endif // WEBRTC_TEST_FRAME_UTILS_H_
|
|
|