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

Unified Diff: content/browser/renderer_host/media/video_capture_buffer_pool.h

Issue 1179323002: Video Capture: extract storage info from pixel format in VideoCaptureFormat. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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: content/browser/renderer_host/media/video_capture_buffer_pool.h
diff --git a/content/browser/renderer_host/media/video_capture_buffer_pool.h b/content/browser/renderer_host/media/video_capture_buffer_pool.h
index 88ac21f0c77d469058905449dea219f813823ff4..d8a5467a8dbc4b2ce2f8775921d5012bd5af0c14 100644
--- a/content/browser/renderer_host/media/video_capture_buffer_pool.h
+++ b/content/browser/renderer_host/media/video_capture_buffer_pool.h
@@ -83,6 +83,7 @@ class CONTENT_EXPORT VideoCaptureBufferPool
// new allocation at a larger size. If so, the ID of the destroyed buffer is
// returned via |buffer_id_to_drop|.
int ReserveForProducer(media::VideoPixelFormat format,
+ media::VideoPixelStorage storage,
const gfx::Size& dimensions,
int* buffer_id_to_drop);
@@ -157,6 +158,7 @@ class CONTENT_EXPORT VideoCaptureBufferPool
virtual ~VideoCaptureBufferPool();
int ReserveForProducerInternal(media::VideoPixelFormat format,
+ media::VideoPixelStorage storage,
const gfx::Size& dimensions,
int* tracker_id_to_drop);

Powered by Google App Engine
This is Rietveld 408576698