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

Issue 2270563006: ImageCapture: support exposure mode configuration (Closed)

Created:
4 years, 4 months ago by mcasas
Modified:
4 years, 4 months ago
CC:
Aaron Boodman, abarth-chromium, alokp+watch_chromium.org, blink-reviews, chromium-reviews, darin (slow to review), feature-media-reviews_chromium.org, haraken, mcasas+watch+vc_chromium.org, miu+watch_chromium.org, posciak+watch_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ImageCapture: support exposure mode configuration This CL implements support for (auto)exposure configuration, following discussion in [1]: - s/FocusMode/MeteringMode/ and reusing it for |exposureMode| in idl, mojom and Java enum. - this reuse prompts refactoring some code into anonymous-ns static functions. - Android's |mAreaOfInterest| is cleared when the user passes "unavailable" in either focus or exposure (note: focus and exposure shared the points of interest as is customary in camera apps). BUG=368381, 518807 [1] https://github.com/w3c/mediacapture-image/issues/49 Committed: https://crrev.com/7a427cc2cc70a31893ebca9971de052efc25ab01 Cr-Commit-Position: refs/heads/master@{#414254}

Patch Set 1 : #

Patch Set 2 : Removed todo/refs to https://github.com/w3c/mediacapture-image/pull/51, closed #

Total comments: 10

Patch Set 3 : webexposed/global-interface-listing-expected.txt #

Patch Set 4 : reillyg@ comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+236 lines, -106 lines) Patch
M media/capture/video/android/java/src/org/chromium/media/PhotoCapabilities.java View 3 chunks +9 lines, -1 line 0 comments Download
M media/capture/video/android/java/src/org/chromium/media/VideoCapture.java View 1 chunk +2 lines, -2 lines 0 comments Download
M media/capture/video/android/java/src/org/chromium/media/VideoCaptureCamera.java View 1 2 3 4 chunks +38 lines, -11 lines 0 comments Download
M media/capture/video/android/java/src/org/chromium/media/VideoCaptureCamera2.java View 1 2 3 7 chunks +55 lines, -18 lines 0 comments Download
M media/capture/video/android/photo_capabilities.h View 2 chunks +6 lines, -3 lines 0 comments Download
M media/capture/video/android/photo_capabilities.cc View 1 chunk +8 lines, -2 lines 0 comments Download
M media/capture/video/android/video_capture_device_android.cc View 1 2 3 4 chunks +53 lines, -35 lines 0 comments Download
M media/capture/video/fake_video_capture_device.cc View 1 chunk +2 lines, -1 line 0 comments Download
M media/capture/video/fake_video_capture_device_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M media/mojo/interfaces/image_capture.mojom View 1 3 chunks +7 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/imagecapture/ImageCapture.cpp View 1 2 3 3 chunks +17 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.h View 2 chunks +6 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.cpp View 1 2 3 2 chunks +25 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.idl View 1 2 chunks +3 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/imagecapture/PhotoSettings.idl View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 23 (13 generated)
mcasas
tsepez@ image_capture.mojom reillyg@ PTAL
4 years, 4 months ago (2016-08-24 15:39:02 UTC) #6
Tom Sepez
mojom lgtm
4 years, 4 months ago (2016-08-24 16:29:02 UTC) #8
Reilly Grant (use Gerrit)
https://codereview.chromium.org/2270563006/diff/100001/media/capture/video/android/java/src/org/chromium/media/VideoCaptureCamera.java File media/capture/video/android/java/src/org/chromium/media/VideoCaptureCamera.java (right): https://codereview.chromium.org/2270563006/diff/100001/media/capture/video/android/java/src/org/chromium/media/VideoCaptureCamera.java#newcode356 media/capture/video/android/java/src/org/chromium/media/VideoCaptureCamera.java:356: // exposure compensation is locked, case in which we ...
4 years, 4 months ago (2016-08-24 18:14:03 UTC) #9
mcasas
reillyg@ PTAL https://codereview.chromium.org/2270563006/diff/100001/media/capture/video/android/java/src/org/chromium/media/VideoCaptureCamera.java File media/capture/video/android/java/src/org/chromium/media/VideoCaptureCamera.java (right): https://codereview.chromium.org/2270563006/diff/100001/media/capture/video/android/java/src/org/chromium/media/VideoCaptureCamera.java#newcode356 media/capture/video/android/java/src/org/chromium/media/VideoCaptureCamera.java:356: // exposure compensation is locked, case in ...
4 years, 4 months ago (2016-08-24 18:36:23 UTC) #11
Reilly Grant (use Gerrit)
lgtm
4 years, 4 months ago (2016-08-24 19:48:50 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2270563006/160001
4 years, 4 months ago (2016-08-24 20:08:57 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/280379)
4 years, 4 months ago (2016-08-24 23:34:49 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2270563006/160001
4 years, 4 months ago (2016-08-24 23:58:41 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:160001)
4 years, 4 months ago (2016-08-25 02:14:50 UTC) #21
commit-bot: I haz the power
4 years, 4 months ago (2016-08-25 02:18:32 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/7a427cc2cc70a31893ebca9971de052efc25ab01
Cr-Commit-Position: refs/heads/master@{#414254}

Powered by Google App Engine
This is Rietveld 408576698