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

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

Issue 1090273006: Revert of VideoCapture: add support for GpuMemoryBuffer allocation and lifetime mgmt in VideoCaptureBufferPool (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/base/video_capture_types.cc ('k') | media/video/capture/fake_video_capture_device.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/video/capture/fake_video_capture_device.h
diff --git a/media/video/capture/fake_video_capture_device.h b/media/video/capture/fake_video_capture_device.h
index f4a19f9edb9c2c6611aa8d66cc15094f905ead7f..e785ce61202e3f829f23319465ba02df680ac828 100644
--- a/media/video/capture/fake_video_capture_device.h
+++ b/media/video/capture/fake_video_capture_device.h
@@ -23,9 +23,8 @@
public:
enum FakeVideoCaptureDeviceType {
USING_OWN_BUFFERS,
- USING_OWN_BUFFERS_TRIPLANAR,
- USING_CLIENT_BUFFERS_I420,
- USING_CLIENT_BUFFERS_GPU,
+ USING_CLIENT_BUFFERS,
+ USING_GPU_MEMORY_BUFFERS,
};
static int FakeCapturePeriodMs() { return kFakeCapturePeriodMs; }
@@ -42,7 +41,8 @@
static const int kFakeCapturePeriodMs = 50;
void CaptureUsingOwnBuffers();
- void CaptureUsingClientBuffers(VideoPixelFormat pixel_format);
+ void CaptureUsingClientBuffers();
+ void CaptureUsingGpuMemoryBuffers();
void BeepAndScheduleNextCapture(const base::Closure& next_capture);
// |thread_checker_| is used to check that all methods are called in the
« no previous file with comments | « media/base/video_capture_types.cc ('k') | media/video/capture/fake_video_capture_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698