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

Unified Diff: media/capture/mojo/image_capture.mojom

Issue 2806743003: Image Capture: split {white_balance,exposure,focus}_modes into current_ and supported_ (Closed)
Patch Set: reillyg@ comment and fix in v4l2_capture_delegate.cc 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
« no previous file with comments | « no previous file | media/capture/video/android/video_capture_device_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/capture/mojo/image_capture.mojom
diff --git a/media/capture/mojo/image_capture.mojom b/media/capture/mojo/image_capture.mojom
index dbbc451b93c51d599f1489c9dfded1f6a0a08966..6bbf692ff5d02ce1ca4341900473ebe71dcd7e28 100644
--- a/media/capture/mojo/image_capture.mojom
+++ b/media/capture/mojo/image_capture.mojom
@@ -14,7 +14,7 @@ struct Range {
double step;
};
-// https://w3c.github.io/mediacapture-image/#mediasettingsrange-section
+// https://w3c.github.io/mediacapture-image/#meteringmode-section
enum MeteringMode { NONE, MANUAL, SINGLE_SHOT, CONTINUOUS };
// https://w3c.github.io/mediacapture-image/#redeyereduction-section
@@ -26,9 +26,12 @@ enum FillLightMode { OFF, AUTO, FLASH };
// Equivalent to idl's MediaTrackCapabilities plus PhotoCapabilities.
struct PhotoCapabilities {
// https://w3c.github.io/mediacapture-image/#mediatrackcapabilities-section
- MeteringMode white_balance_mode;
- MeteringMode exposure_mode;
- MeteringMode focus_mode;
+ array<MeteringMode> supported_white_balance_modes;
+ MeteringMode current_white_balance_mode;
+ array<MeteringMode> supported_exposure_modes;
+ MeteringMode current_exposure_mode;
+ array<MeteringMode> supported_focus_modes;
+ MeteringMode current_focus_mode;
array<Point2D> points_of_interest;
Range exposure_compensation;
« no previous file with comments | « no previous file | media/capture/video/android/video_capture_device_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698