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

Unified Diff: mojo/services/camera/public/interfaces/camera.mojom

Issue 1375733004: -Add a mojo service to get video frames from the camera through an android service (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: remove stale files. Created 5 years, 3 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: mojo/services/camera/public/interfaces/camera.mojom
diff --git a/mojo/services/camera_roll/public/interfaces/camera_roll.mojom b/mojo/services/camera/public/interfaces/camera.mojom
similarity index 88%
rename from mojo/services/camera_roll/public/interfaces/camera_roll.mojom
rename to mojo/services/camera/public/interfaces/camera.mojom
index 850da78f654a6594868e806bd4a30e7f7a782684..b5595cf0e04f1aa92cb05099aae04ca626304b11 100644
--- a/mojo/services/camera_roll/public/interfaces/camera_roll.mojom
+++ b/mojo/services/camera/public/interfaces/camera.mojom
@@ -28,3 +28,8 @@ interface CameraRollService {
// if such an index is out-of-bounds.
GetPhoto(uint32 index) => (Photo? photo);
};
+
+// |CameraService| provides access to the device's camera video stream.
+interface CameraVideoService {
alhaad1 2015/10/02 06:33:27 Could we call it just CameraService? There is noth
gautham 2015/10/02 22:29:11 Done.
+ GetVideoFrames() => (handle<data_pipe_consumer>? content);
alhaad1 2015/10/02 06:33:27 This could be GetLatestFrame? Also, do you think
gautham 2015/10/02 22:29:11 I'm hoping we'll fix the ImageDecoder to work with
+};

Powered by Google App Engine
This is Rietveld 408576698