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

Unified Diff: webrtc/test/frame_utils.h

Issue 1881953002: Delete method webrtc::VideoFrame::native_handle. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Delete the native_handle method. Created 4 years, 8 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
Index: webrtc/test/frame_utils.h
diff --git a/webrtc/test/frame_utils.h b/webrtc/test/frame_utils.h
index 668d9994ab74dc7ff55f254f7d61e5dcb97159aa..aef3c9ff2af201fb6dd272a75b6a8973ad6f4c20 100644
--- a/webrtc/test/frame_utils.h
+++ b/webrtc/test/frame_utils.h
@@ -20,10 +20,19 @@ namespace test {
bool EqualPlane(const uint8_t* data1,
const uint8_t* data2,
- int stride,
+ int stride1,
+ int stride2,
int width,
int height);
+static inline bool EqualPlane(const uint8_t* data1,
+ const uint8_t* data2,
+ int stride,
+ int width,
+ int height) {
+ return EqualPlane(data1, data2, stride, stride, width, height);
+}
+
bool FramesEqual(const webrtc::VideoFrame& f1, const webrtc::VideoFrame& f2);
bool FrameBufsEqual(const rtc::scoped_refptr<webrtc::VideoFrameBuffer>& f1,

Powered by Google App Engine
This is Rietveld 408576698