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

Unified Diff: webrtc/media/base/videoframe.cc

Issue 1843413002: Delete unused cricket::VideoFrame methods MakeExclusive and CopyToFrame. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: 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/media/base/videoframe.h ('k') | webrtc/media/base/videoframe_unittest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/media/base/videoframe.cc
diff --git a/webrtc/media/base/videoframe.cc b/webrtc/media/base/videoframe.cc
index c50d31fe6cd9cbdabd448ae64239408e32200fdb..3fe19e1b2828f556fe8aba689472b51863fe7285 100644
--- a/webrtc/media/base/videoframe.cc
+++ b/webrtc/media/base/videoframe.cc
@@ -46,16 +46,6 @@ bool VideoFrame::CopyToPlanes(uint8_t* dst_y,
src_width, src_height) == 0;
}
-void VideoFrame::CopyToFrame(VideoFrame* dst) const {
- if (!dst) {
- LOG(LS_ERROR) << "NULL dst pointer.";
- return;
- }
-
- CopyToPlanes(dst->GetYPlane(), dst->GetUPlane(), dst->GetVPlane(),
- dst->GetYPitch(), dst->GetUPitch(), dst->GetVPitch());
-}
-
size_t VideoFrame::ConvertToRgbBuffer(uint32_t to_fourcc,
uint8_t* buffer,
size_t size,
« no previous file with comments | « webrtc/media/base/videoframe.h ('k') | webrtc/media/base/videoframe_unittest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698