|
|
MediaSettingsRange: s/long/double/ in MediaSettingsRange.idl and PhotoCapabilities.idl
This CL follows issue [1] in replacing integer
types with doubles in the capabilities/settings idl
(WebIdl encourages doubles and discourages
floats).
The change is rippled down to the mojom and
the implementations. In Android:
- Reading capabilities and status are changed to
using double.
- Configuring settings are changed to use doubles.
- zoom and exposure compensation setting/reading
don't need to have x100 multipliers anymore, removed.
Otherwise:
- v4l2_capture_delegate.cc bugfix: unnecessary scaling
of zoom during setting (unmatched on retrieving).
- FakeVideoCaptureDevice changes to doubles.
[1] https://github.com/w3c/mediacapture-image/issues/77
BUG= 663021
Committed: https://crrev.com/5a4284b492c9511bd41ccad6e53f339a6de409a3
Cr-Commit-Position: refs/heads/master@{#431293}
Total comments: 6
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+180 lines, -188 lines) |
Patch |
 |
M |
media/capture/video/android/java/src/org/chromium/media/PhotoCapabilities.java
|
View
|
1
|
7 chunks |
+36 lines, -36 lines |
0 comments
|
Download
|
 |
M |
media/capture/video/android/java/src/org/chromium/media/VideoCapture.java
|
View
|
|
2 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
media/capture/video/android/java/src/org/chromium/media/VideoCaptureCamera.java
|
View
|
1
|
6 chunks |
+16 lines, -19 lines |
0 comments
|
Download
|
 |
M |
media/capture/video/android/java/src/org/chromium/media/VideoCaptureCamera2.java
|
View
|
1
|
5 chunks |
+23 lines, -28 lines |
0 comments
|
Download
|
 |
M |
media/capture/video/android/photo_capabilities.h
|
View
|
1
|
1 chunk |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
media/capture/video/android/photo_capabilities.cc
|
View
|
1
|
2 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
media/capture/video/android/video_capture_device_android.cc
|
View
|
1
|
3 chunks |
+12 lines, -8 lines |
0 comments
|
Download
|
 |
M |
media/capture/video/fake_video_capture_device.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
media/capture/video/fake_video_capture_device.cc
|
View
|
1
2
|
3 chunks |
+13 lines, -13 lines |
0 comments
|
Download
|
 |
M |
media/capture/video/fake_video_capture_device_unittest.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/capture/video/linux/v4l2_capture_delegate.cc
|
View
|
|
2 chunks |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
media/mojo/interfaces/image_capture.mojom
|
View
|
|
3 chunks |
+14 lines, -14 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/imagecapture/resources/mock-imagecapture.js
|
View
|
|
1 chunk |
+10 lines, -10 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/imagecapture/setoptions.html
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/imagecapture/MediaSettingsRange.h
|
View
|
|
1 chunk |
+13 lines, -13 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/imagecapture/MediaSettingsRange.idl
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/imagecapture/PhotoSettings.idl
|
View
|
|
1 chunk |
+10 lines, -11 lines |
0 comments
|
Download
|
Total messages: 34 (25 generated)
|