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

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

Issue 1831523004: Move InitToBlack and Reset methods from cricket::VideoFrame to its subclass cricket::WebRtcVideoFra… (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase. Created 4 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 | « no previous file | 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.h
diff --git a/webrtc/media/base/videoframe.h b/webrtc/media/base/videoframe.h
index df5352b14953166fa02896a28a11fd3f41ac901b..6045bc08b4704982788c93656db9c688a3ae9405 100644
--- a/webrtc/media/base/videoframe.h
+++ b/webrtc/media/base/videoframe.h
@@ -24,25 +24,6 @@ class VideoFrame {
VideoFrame() {}
virtual ~VideoFrame() {}
- virtual bool InitToBlack(int w, int h, int64_t time_stamp) = 0;
-
- // Creates a frame from a raw sample with FourCC |format| and size |w| x |h|.
- // |h| can be negative indicating a vertically flipped image.
- // |dw| is destination width; can be less than |w| if cropping is desired.
- // |dh| is destination height, like |dw|, but must be a positive number.
- // Returns whether the function succeeded or failed.
-
- virtual bool Reset(uint32_t fourcc,
- int w,
- int h,
- int dw,
- int dh,
- uint8_t* sample,
- size_t sample_size,
- int64_t time_stamp,
- webrtc::VideoRotation rotation,
- bool apply_rotation) = 0;
-
// Basic accessors.
// Note this is the width and height without rotation applied.
virtual int width() const = 0;
« no previous file with comments | « no previous file | webrtc/media/base/videoframe_unittest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698