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

Unified Diff: webrtc/api/video/i420_buffer.h

Issue 2854873003: Reland of Delete deprecated and transitional stuff related to video frame refactoring. (Closed)
Patch Set: Created 3 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
« no previous file with comments | « webrtc/api/mediastreaminterface.h ('k') | webrtc/api/video/i420_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/video/i420_buffer.h
diff --git a/webrtc/api/video/i420_buffer.h b/webrtc/api/video/i420_buffer.h
index 388a3dd76903ad9e8f24a7d841f6220c2d994a21..507bd0571b303f0238a7f2b03631336aaf5f8e82 100644
--- a/webrtc/api/video/i420_buffer.h
+++ b/webrtc/api/video/i420_buffer.h
@@ -53,9 +53,6 @@
// are resolved in a better way. Or in the mean time, use SetBlack.
void InitializeData();
- // TODO(nisse): Deprecated, use static method instead.
- void SetToBlack() { SetBlack(this); }
-
int width() const override;
int height() const override;
const uint8_t* DataY() const override;
@@ -88,14 +85,6 @@
// Scale all of |src| to the size of |this| buffer, with no cropping.
void ScaleFrom(const VideoFrameBuffer& src);
- // TODO(nisse): Deprecated, delete once downstream applications are updated.
- // Returns a rotated versions of |src|. Native buffers are not
- // supported. The reason this function doesn't return an I420Buffer,
- // is that it returns |src| unchanged in case |rotation| is zero.
- static rtc::scoped_refptr<VideoFrameBuffer> Rotate(
- rtc::scoped_refptr<VideoFrameBuffer> src,
- VideoRotation rotation);
-
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 | « webrtc/api/mediastreaminterface.h ('k') | webrtc/api/video/i420_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698