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

Unified Diff: media/base/video_capture_types.h

Issue 2398813002: Cleanup of video capture into GpuMemoryBuffer (Closed)
Patch Set: Rebase Created 4 years, 2 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/media_switches.cc ('k') | media/base/video_capture_types.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/video_capture_types.h
diff --git a/media/base/video_capture_types.h b/media/base/video_capture_types.h
index f7160eeea7f82a678572dc313fc21c8ea46f53eb..254083c6e2c2ea39e6c3084d1db79ae16a46bbf1 100644
--- a/media/base/video_capture_types.h
+++ b/media/base/video_capture_types.h
@@ -20,14 +20,12 @@ namespace media {
// shared with device manager.
typedef int VideoCaptureSessionId;
-// Storage type for the pixels. In principle, all combinations of Storage and
-// Format are possible, though some are very typical, such as texture + ARGB,
-// and others are only available if the platform allows it e.g. GpuMemoryBuffer.
+// Storage type for the pixels.
// TODO(mcasas): http://crbug.com/504160 Consider making this an enum class.
+// TODO(chfremer): Extend or remove this enum.
enum VideoPixelStorage {
PIXEL_STORAGE_CPU,
- PIXEL_STORAGE_GPUMEMORYBUFFER,
- PIXEL_STORAGE_MAX = PIXEL_STORAGE_GPUMEMORYBUFFER,
+ PIXEL_STORAGE_MAX = PIXEL_STORAGE_CPU,
};
// Policies for capture devices that have source content that varies in size.
« no previous file with comments | « media/base/media_switches.cc ('k') | media/base/video_capture_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698