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

Unified Diff: content/browser/renderer_host/media/video_capture_host.cc

Issue 2398463003: 16 bit capture and GPU&CPU memory buffer support.
Patch Set: fixes. 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: content/browser/renderer_host/media/video_capture_host.cc
diff --git a/content/browser/renderer_host/media/video_capture_host.cc b/content/browser/renderer_host/media/video_capture_host.cc
index 1b2757f0bdc651a7133590459af1ac643e97af4e..225d65887a7550c64b11d076bfd45ec4dbff53ee 100644
--- a/content/browser/renderer_host/media/video_capture_host.cc
+++ b/content/browser/renderer_host/media/video_capture_host.cc
@@ -71,12 +71,14 @@ void VideoCaptureHost::OnBufferCreated2(
VideoCaptureControllerID controller_id,
const std::vector<gfx::GpuMemoryBufferHandle>& handles,
const gfx::Size& size,
+ media::VideoPixelFormat format,
int buffer_id) {
DCHECK_CURRENTLY_ON(BrowserThread::IO);
if (entries_.find(controller_id) == entries_.end())
return;
- Send(new VideoCaptureMsg_NewBuffer2(controller_id, handles, size, buffer_id));
+ Send(new VideoCaptureMsg_NewBuffer2(controller_id, handles, size, format,
+ buffer_id));
}
void VideoCaptureHost::OnBufferDestroyed(VideoCaptureControllerID controller_id,
« no previous file with comments | « content/browser/renderer_host/media/video_capture_host.h ('k') | content/browser/renderer_host/media/video_capture_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698