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

Unified Diff: media/capture/video/video_capture_device.h

Issue 1267883002: Pass GpuMemoryBuffer backed VideoFrame from browser to renderer processes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gmbtracker-multiple
Patch Set: Rebase Created 5 years, 4 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 | « media/capture/video/fake_video_capture_device_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/capture/video/video_capture_device.h
diff --git a/media/capture/video/video_capture_device.h b/media/capture/video/video_capture_device.h
index ea219ff38ec7f509350c1e50ebf7a5288920635c..eabefabd51efd239588b2cb3792f1a32503f3062 100644
--- a/media/capture/video/video_capture_device.h
+++ b/media/capture/video/video_capture_device.h
@@ -181,7 +181,8 @@ class MEDIA_EXPORT VideoCaptureDevice {
public:
virtual ~Buffer() = 0;
virtual int id() const = 0;
- virtual size_t size() const = 0;
+ virtual gfx::Size dimensions() const = 0;
+ virtual size_t mapped_size() const = 0;
virtual void* data(int plane) = 0;
void* data() { return data(0); }
virtual ClientBuffer AsClientBuffer(int plane) = 0;
« no previous file with comments | « media/capture/video/fake_video_capture_device_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698