Index: webrtc/test/frame_utils.h |
diff --git a/webrtc/test/frame_utils.h b/webrtc/test/frame_utils.h |
index 42e2cba67e1f6c4e50a6fe7b9aa8bee10c20d200..668d9994ab74dc7ff55f254f7d61e5dcb97159aa 100644 |
--- a/webrtc/test/frame_utils.h |
+++ b/webrtc/test/frame_utils.h |
@@ -11,9 +11,11 @@ |
#define WEBRTC_TEST_FRAME_UTILS_H_ |
#include "webrtc/base/basictypes.h" |
+#include "webrtc/base/scoped_ref_ptr.h" |
namespace webrtc { |
class VideoFrame; |
+class VideoFrameBuffer; |
namespace test { |
bool EqualPlane(const uint8_t* data1, |
@@ -24,6 +26,9 @@ bool EqualPlane(const uint8_t* data1, |
bool FramesEqual(const webrtc::VideoFrame& f1, const webrtc::VideoFrame& f2); |
+bool FrameBufsEqual(const rtc::scoped_refptr<webrtc::VideoFrameBuffer>& f1, |
+ const rtc::scoped_refptr<webrtc::VideoFrameBuffer>& f2); |
+ |
} // namespace test |
} // namespace webrtc |