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

Unified Diff: media/capture/video/video_capture_device_client.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/capture/video/video_capture_device_client.h
diff --git a/media/capture/video/video_capture_device_client.h b/media/capture/video/video_capture_device_client.h
index 821c58dbbd0097a7eaccb2f41e43ba238ccc2ee2..fa9777afdc676f0f932907aaa81f885a01f20f4d 100644
--- a/media/capture/video/video_capture_device_client.h
+++ b/media/capture/video/video_capture_device_client.h
@@ -85,10 +85,8 @@ class CAPTURE_EXPORT VideoCaptureDeviceClient
// Returns an nullptr if allocation fails.
//
// When requested |storage| is PIXEL_STORAGE_CPU, a single shared memory
- // chunk is reserved; whereas for PIXEL_STORAGE_GPUMEMORYBUFFER, three
- // GpuMemoryBuffers in R_8 format representing I420 planes are reserved. The
- // output buffers stay reserved and mapped for use until the Buffer objects
- // are destroyed or returned.
+ // chunk is reserved. The output buffers stay reserved and mapped for use
+ // until the Buffer objects are destroyed or returned.
std::unique_ptr<Buffer> ReserveI420OutputBuffer(
const gfx::Size& dimensions,
media::VideoPixelStorage storage,

Powered by Google App Engine
This is Rietveld 408576698