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

Unified Diff: webrtc/common_video/include/video_frame_buffer.h

Issue 2528143002: Delete deprecated versions of Copy, ScaleFrom and CropAndScaleFrom. (Closed)
Patch Set: Rebased Created 4 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/common_video/include/video_frame_buffer.h
diff --git a/webrtc/common_video/include/video_frame_buffer.h b/webrtc/common_video/include/video_frame_buffer.h
index 2d5949fbc4e10275b34b5f326a6d86c6c3ce4c54..4f8468a07b9527b745652efcb791ceac77b36b49 100644
--- a/webrtc/common_video/include/video_frame_buffer.h
+++ b/webrtc/common_video/include/video_frame_buffer.h
@@ -125,26 +125,6 @@ class I420Buffer : public VideoFrameBuffer {
// Scale all of |src| to the size of |this| buffer, with no cropping.
void ScaleFrom(const VideoFrameBuffer& src);
- // Deprecated methods, using smart pointer references.
- // TODO(nisse): Delete once downstream applications are updated.
- static rtc::scoped_refptr<I420Buffer> Copy(
- const rtc::scoped_refptr<VideoFrameBuffer>& buffer) {
- return Copy(*buffer);
- }
- void CropAndScaleFrom(const rtc::scoped_refptr<VideoFrameBuffer>& src,
- int offset_x,
- int offset_y,
- int crop_width,
- int crop_height) {
- CropAndScaleFrom(*src, offset_x, offset_y, crop_width, crop_height);
- }
- void CropAndScaleFrom(const rtc::scoped_refptr<VideoFrameBuffer>& src) {
- CropAndScaleFrom(*src);
- }
- void ScaleFrom(const rtc::scoped_refptr<VideoFrameBuffer>& src) {
- ScaleFrom(*src);
- }
-
protected:
I420Buffer(int width, int height);
I420Buffer(int width, int height, int stride_y, int stride_u, int stride_v);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698