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

Unified Diff: media/base/video_capture_types.h

Issue 2398813002: Cleanup of video capture into GpuMemoryBuffer (Closed)
Patch Set: 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
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..8f2582a311a9d9896e7d8a1c2b9c7b9736f02c2c 100644
--- a/media/base/video_capture_types.h
+++ b/media/base/video_capture_types.h
@@ -20,14 +20,11 @@ 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.
mcasas 2016/10/06 18:31:15 Yeah, depending on the plans, add a TODO() to exte
emircan 2016/10/07 17:40:12 Added a TODO for chfremer.
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.

Powered by Google App Engine
This is Rietveld 408576698