Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(612)

Unified Diff: webrtc/test/frame_utils.h

Issue 1822283002: New method I420Buffer::Copy. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Address compare nit. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/common_video/video_frame_buffer.cc ('k') | webrtc/test/frame_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « webrtc/common_video/video_frame_buffer.cc ('k') | webrtc/test/frame_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698