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

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

Issue 2009193002: Delete IsMutable and IsExclusive methods. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Delete redundant RefCountedObject wrapping. Created 4 years, 7 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/media/base/videoframe.h ('k') | webrtc/media/base/videoframefactory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/media/base/videoframe.cc
diff --git a/webrtc/media/base/videoframe.cc b/webrtc/media/base/videoframe.cc
index d5c24adf3cb3fd2a6b20286fa7c34f36a65f341a..e876d74e31e5252958ac6aa6e4555e824f401e94 100644
--- a/webrtc/media/base/videoframe.cc
+++ b/webrtc/media/base/videoframe.cc
@@ -148,17 +148,6 @@ void VideoFrame::StretchToFrame(VideoFrame* dst,
dst->set_rotation(rotation());
}
-VideoFrame* VideoFrame::Stretch(size_t dst_width, size_t dst_height,
- bool interpolate, bool vert_crop) const {
- VideoFrame* dest = CreateEmptyFrame(static_cast<int>(dst_width),
- static_cast<int>(dst_height),
- GetTimeStamp());
- if (dest) {
- StretchToFrame(dest, interpolate, vert_crop);
- }
- return dest;
-}
-
bool VideoFrame::SetToBlack() {
return libyuv::I420Rect(video_frame_buffer()->MutableDataY(),
video_frame_buffer()->StrideY(),
« no previous file with comments | « webrtc/media/base/videoframe.h ('k') | webrtc/media/base/videoframefactory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698