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

Unified Diff: webrtc/common_video/include/video_frame_buffer.h

Issue 2914463002: Add separate base classes for I420 and I444 buffers (Closed)
Patch Set: Created 3 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
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 7e2fcf99e1f8ddbee9bd5a0e757816719311f05d..6b578bce491191117141a565902fa4f96d70b99f 100644
--- a/webrtc/common_video/include/video_frame_buffer.h
+++ b/webrtc/common_video/include/video_frame_buffer.h
@@ -45,7 +45,7 @@ class NativeHandleBuffer : public VideoFrameBuffer {
const int height_;
};
-class WrappedI420Buffer : public PlanarYuvBuffer {
+class WrappedI420Buffer : public I420BufferInterface {
public:
WrappedI420Buffer(int width,
int height,
@@ -56,8 +56,6 @@ class WrappedI420Buffer : public PlanarYuvBuffer {
const uint8_t* v_plane,
int v_stride,
const rtc::Callback0<void>& no_longer_used);
- Type type() const override;
-
int width() const override;
int height() const override;

Powered by Google App Engine
This is Rietveld 408576698