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

Unified Diff: services/video_capture/public/interfaces/receiver.mojom

Issue 2818513003: [Mojo Video Capture] Adapt video_capture service to refactored video capture stack (Closed)
Patch Set: Fix compile errors Created 3 years, 8 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: services/video_capture/public/interfaces/receiver.mojom
diff --git a/services/video_capture/public/interfaces/receiver.mojom b/services/video_capture/public/interfaces/receiver.mojom
index 287c0579bc581bab9df5af3c2dc096780918fd28..6ec99df97cfb5d4d8371244c7728a20113e9044f 100644
--- a/services/video_capture/public/interfaces/receiver.mojom
+++ b/services/video_capture/public/interfaces/receiver.mojom
@@ -4,14 +4,22 @@
module video_capture.mojom;
+import "media/capture/mojo/video_capture_types.mojom";
import "media/mojo/interfaces/media_types.mojom";
+// Empty interface for encapsulating scoped access permission to a Buffer.
+interface ScopedAccessPermission {};
+
// Callback interface for receiving data and messages from a started
// video_capture.mojom.Device.
interface Receiver {
- OnIncomingCapturedVideoFrame(media.mojom.VideoFrame frame);
+ OnNewBufferHandle(int32 buffer_id, handle<shared_buffer> buffer_handle);
+ OnFrameReadyInBuffer(int32 buffer_id, int32 frame_feedback_id,
+ ScopedAccessPermission access_permission,
+ media.mojom.VideoFrameInfo frame_info);
+ OnBufferRetired(int32 buffer_id);
OnError();
OnLog(string message);
OnStarted();
- OnBufferDestroyed(int32 buffer_id_to_drop);
+ OnStartedUsingGpuDecode();
};
« no previous file with comments | « services/video_capture/public/interfaces/device.mojom ('k') | services/video_capture/receiver_mojo_to_media_adapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698