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

Unified Diff: webrtc/video_frame.h

Issue 2444383009: Delete deprecated method VideoFrame::CreateFrame. (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_send_stream_tests.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 857eaa05400d4f672f50b04a84851700febe1b90..ff120a6f4c2a1515434023713de598cae5dec3d1 100644
--- a/webrtc/video_frame.h
+++ b/webrtc/video_frame.h
@@ -44,32 +44,6 @@ class VideoFrame {
int64_t render_time_ms,
VideoRotation rotation);
- // CreateFrame: Sets the frame's members and buffers. If required size is
- // bigger than allocated one, new buffers of adequate size will be allocated.
-
- // TODO(nisse): Deprecated. Should be deleted in the cricket::VideoFrame and
- // webrtc::VideoFrame merge. Instead, create a VideoFrameBuffer and pass to
- // the constructor. E.g, use I420Buffer::Copy(WrappedI420Buffer(...)).
- void CreateFrame(const uint8_t* buffer_y,
- const uint8_t* buffer_u,
- const uint8_t* buffer_v,
- int width,
- int height,
- int stride_y,
- int stride_u,
- int stride_v,
- VideoRotation rotation);
-
- // CreateFrame: Sets the frame's members and buffers. If required size is
- // bigger than allocated one, new buffers of adequate size will be allocated.
- // |buffer| must be a packed I420 buffer.
-
- // TODO(nisse): Deprecated, see above method for advice.
- void CreateFrame(const uint8_t* buffer,
- int width,
- int height,
- VideoRotation rotation);
-
// Creates a shallow copy of |videoFrame|, i.e, the this object will retain a
// reference to the video buffer also retained by |videoFrame|.
// TODO(nisse): Deprecated. Should be deleted in the cricket::VideoFrame and
« no previous file with comments | « webrtc/video/video_send_stream_tests.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698