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 dfffb9a0d6cae74c0eb9a844d7789f0fbd96ffcc..cf314fe9327dce39ef9a1d8fa5d9ca14d460bedd 100644 |
--- a/webrtc/common_video/include/video_frame_buffer.h |
+++ b/webrtc/common_video/include/video_frame_buffer.h |
@@ -88,6 +88,13 @@ class I420Buffer : public VideoFrameBuffer { |
I420Buffer(int width, int height); |
I420Buffer(int width, int height, int stride_y, int stride_u, int stride_v); |
+ static rtc::scoped_refptr<I420Buffer> Create(int width, int height); |
+ static rtc::scoped_refptr<I420Buffer> Create(int width, |
+ int height, |
+ int stride_y, |
+ int stride_u, |
+ int stride_v); |
+ |
// Sets all three planes to all zeros. Used to work around for |
// quirks in memory checkers |
// (https://bugs.chromium.org/p/libyuv/issues/detail?id=377) and |