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

Unified Diff: webrtc/video_frame.h

Issue 2435963002: Reland of Delete webrtc::VideoFrame::CopyFrame. (Closed)
Patch Set: Created 4 years, 2 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/video/video_quality_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video_frame.h
diff --git a/webrtc/video_frame.h b/webrtc/video_frame.h
index 21654d95e4fe512df08f48c1ccf4a9992cb4b2cd..b01555e09288187723a5cf7570aea23be565dfee 100644
--- a/webrtc/video_frame.h
+++ b/webrtc/video_frame.h
@@ -69,13 +69,6 @@
int width,
int height,
VideoRotation rotation);
-
- // Deep copy frame: If required size is bigger than allocated one, new
- // buffers of adequate size will be allocated.
- // TODO(nisse): Should be deleted in the cricket::VideoFrame and
- // webrtc::VideoFrame merge. Instead, use I420Buffer::Copy to make a copy of
- // the pixel data, and use the constructor to wrap it into a VideoFrame.
- void CopyFrame(const VideoFrame& videoFrame);
// Creates a shallow copy of |videoFrame|, i.e, the this object will retain a
// reference to the video buffer also retained by |videoFrame|.
« no previous file with comments | « webrtc/video/video_quality_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698