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

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

Issue 1685713003: Remove V4L2CaptureDelegate{Single,Multi}Plane, VCD::Client::OnIncomingCapturedYuvData() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: perkj@ comments and reverted change to WeakPtr Created 4 years, 10 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/BUILD.gn ('k') | media/capture/video/fake_video_capture_device.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/capture/video/fake_video_capture_device.h
diff --git a/media/capture/video/fake_video_capture_device.h b/media/capture/video/fake_video_capture_device.h
index f6cc44b0f78092561f8d27c641851f3a1e21a805..0112642198bdff9a0920597e92cbb98590552e73 100644
--- a/media/capture/video/fake_video_capture_device.h
+++ b/media/capture/video/fake_video_capture_device.h
@@ -16,7 +16,6 @@
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
-#include "base/threading/thread.h"
#include "base/threading/thread_checker.h"
#include "base/time/time.h"
#include "media/capture/video/video_capture_device.h"
@@ -30,15 +29,7 @@ class MEDIA_EXPORT FakeVideoCaptureDevice : public VideoCaptureDevice {
CLIENT_BUFFERS,
};
- enum class BufferPlanarity {
- PACKED,
- TRIPLANAR,
- };
-
- FakeVideoCaptureDevice(BufferOwnership buffer_ownership,
- BufferPlanarity planarity);
FakeVideoCaptureDevice(BufferOwnership buffer_ownership,
- BufferPlanarity planarity,
float fake_capture_rate);
~FakeVideoCaptureDevice() override;
@@ -59,7 +50,6 @@ class MEDIA_EXPORT FakeVideoCaptureDevice : public VideoCaptureDevice {
base::ThreadChecker thread_checker_;
const BufferOwnership buffer_ownership_;
- const BufferPlanarity planarity_;
// Frame rate of the fake video device.
const float fake_capture_rate_;
« no previous file with comments | « media/BUILD.gn ('k') | media/capture/video/fake_video_capture_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698