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

Unified Diff: content/renderer/media/video_capture_message_filter.h

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/renderer/media/video_capture_message_filter.h
diff --git a/content/renderer/media/video_capture_message_filter.h b/content/renderer/media/video_capture_message_filter.h
index 04211a87171d28423e7f0dfa40ab9b1784cdb01d..bd216dc3f2c404b306071f3acf6aea194322f668 100644
--- a/content/renderer/media/video_capture_message_filter.h
+++ b/content/renderer/media/video_capture_message_filter.h
@@ -42,6 +42,7 @@ class CONTENT_EXPORT VideoCaptureMessageFilter : public IPC::MessageFilter {
virtual void OnBufferCreated2(
const std::vector<gfx::GpuMemoryBufferHandle>& handles,
const gfx::Size& size,
+ media::VideoPixelFormat format,
int buffer_id) = 0;
virtual void OnBufferDestroyed(int buffer_id) = 0;
@@ -106,11 +107,11 @@ class CONTENT_EXPORT VideoCaptureMessageFilter : public IPC::MessageFilter {
int buffer_id);
// Receive a newly created GpuMemoryBuffer backed buffer from browser process.
- void OnBufferCreated2(
- int device_id,
- const std::vector<gfx::GpuMemoryBufferHandle>& handles,
- const gfx::Size& size,
- int buffer_id);
+ void OnBufferCreated2(int device_id,
+ const std::vector<gfx::GpuMemoryBufferHandle>& handles,
+ const gfx::Size& size,
+ media::VideoPixelFormat format,
+ int buffer_id);
// Release a buffer received by OnBufferCreated.
void OnBufferDestroyed(int device_id,
« no previous file with comments | « content/renderer/media/video_capture_impl.cc ('k') | content/renderer/media/video_capture_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698