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

Unified Diff: media/capture/video/android/java/src/org/chromium/media/VideoCapture.java

Issue 2482983002: MediaSettingsRange: s/long/double/ in MediaSettingsRange.idl and PhotoCapabilities.idl (Closed)
Patch Set: s/float/double/ in fake_video_capture_device.* Created 4 years, 1 month 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: media/capture/video/android/java/src/org/chromium/media/VideoCapture.java
diff --git a/media/capture/video/android/java/src/org/chromium/media/VideoCapture.java b/media/capture/video/android/java/src/org/chromium/media/VideoCapture.java
index ffbe0d8d670e152323ea407b4a37487e6cf8ecc9..c3bc67b0ac1264365869140b98fb550672efd41d 100644
--- a/media/capture/video/android/java/src/org/chromium/media/VideoCapture.java
+++ b/media/capture/video/android/java/src/org/chromium/media/VideoCapture.java
@@ -62,7 +62,7 @@ public abstract class VideoCapture {
* @param pointsOfInterest2D 2D normalized points of interest, marshalled with
* x coordinate first followed by the y coordinate.
* @param hasExposureCompensation Indicates if |exposureCompensation| is set.
- * @param exposureCompensation Adjustment to auto exposure, in x100 units. 0 means not adjusted.
+ * @param exposureCompensation Adjustment to auto exposure. 0 means not adjusted.
* @param whiteBalanceMode White Balance mode following AndroidMeteringMode enum.
* @param iso Sensitivity to light. 0, which would be invalid, means ignore.
* @param hasRedEyeReduction Indicates if |redEyeReduction| is set.
@@ -72,10 +72,11 @@ public abstract class VideoCapture {
* manual, and its value is larger than 0.
*/
@CalledByNative
- public abstract void setPhotoOptions(int zoom, int focusMode, int exposureMode, int width,
- int height, float[] pointsOfInterest2D, boolean hasExposureCompensation,
- int exposureCompensation, int whiteBalanceMode, int iso, boolean hasRedEyeReduction,
- boolean redEyeReduction, int fillLightMode, int colorTemperature);
+ public abstract void setPhotoOptions(double zoom, int focusMode, int exposureMode, double width,
+ double height, float[] pointsOfInterest2D, boolean hasExposureCompensation,
+ double exposureCompensation, int whiteBalanceMode, double iso,
+ boolean hasRedEyeReduction, boolean redEyeReduction, int fillLightMode,
+ double colorTemperature);
@CalledByNative
public abstract boolean takePhoto(final long callbackId);

Powered by Google App Engine
This is Rietveld 408576698