Index: webrtc/api/video/i420_buffer.h |
diff --git a/webrtc/api/video/i420_buffer.h b/webrtc/api/video/i420_buffer.h |
index 20a84a1a53edae15ed9296717906abf6e8a3d197..2c4987024808208ea1c6ae7c5ab511f713fb9de2 100644 |
--- a/webrtc/api/video/i420_buffer.h |
+++ b/webrtc/api/video/i420_buffer.h |
@@ -30,7 +30,7 @@ class I420Buffer : public PlanarYuvBuffer { |
int stride_v); |
// Create a new buffer and copy the pixel data. |
- static rtc::scoped_refptr<I420Buffer> Copy(const VideoFrameBuffer& buffer); |
+ static rtc::scoped_refptr<I420Buffer> Copy(const PlanarYuvBuffer& buffer); |
static rtc::scoped_refptr<I420Buffer> Copy( |
int width, int height, |
@@ -39,7 +39,7 @@ class I420Buffer : public PlanarYuvBuffer { |
const uint8_t* data_v, int stride_v); |
// Returns a rotated copy of |src|. |
- static rtc::scoped_refptr<I420Buffer> Rotate(const VideoFrameBuffer& src, |
+ static rtc::scoped_refptr<I420Buffer> Rotate(const PlanarYuvBuffer& src, |
VideoRotation rotation); |
// Sets the buffer to all black. |
@@ -70,7 +70,7 @@ class I420Buffer : public PlanarYuvBuffer { |
// Scale the cropped area of |src| to the size of |this| buffer, and |
// write the result into |this|. |
- void CropAndScaleFrom(const VideoFrameBuffer& src, |
+ void CropAndScaleFrom(const PlanarYuvBuffer& src, |
int offset_x, |
int offset_y, |
int crop_width, |
@@ -78,10 +78,10 @@ class I420Buffer : public PlanarYuvBuffer { |
// The common case of a center crop, when needed to adjust the |
// aspect ratio without distorting the image. |
- void CropAndScaleFrom(const VideoFrameBuffer& src); |
+ void CropAndScaleFrom(const PlanarYuvBuffer& src); |
// Scale all of |src| to the size of |this| buffer, with no cropping. |
- void ScaleFrom(const VideoFrameBuffer& src); |
+ void ScaleFrom(const PlanarYuvBuffer& src); |
protected: |
I420Buffer(int width, int height); |