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

Issue 2362333002: Reland: Image Capture Linux/CrOs: wire some capabilities set/get (Closed)

Created:
4 years, 3 months ago by mcasas
Modified:
4 years, 2 months ago
Reviewers:
chfremer
CC:
chromium-reviews, posciak+watch_chromium.org, feature-media-reviews_chromium.org, mcasas+watch+vc_chromium.org, miu+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland: Image Capture Linux/CrOs: wire some capabilities set/get The original CL was reverted due to some unit test error in large bots. An improved error logging was introduced in https://crrev.com/2359243002, and this CL adds more of that, plus waiting for the correct photo-related event to happen -- as opposed to before, where the test cases waited on WaitForCapturedFrame(). Original CL description ----------------------------------------------- Image Capture Linux/CrOs: wire some capabilities set/get This CL implements for Linux/Cros parts of the methods: - VideoCaptureDeviceWin::GetPhotoCapabilities(): zoom, autofocus on/off, autoexposure on/off, and auto whitebalance on/off - VideoCaptureDeviceWin::SetPhotoOptions(): zoom and adds a small VideoCaptureDeviceTest test case to retrieve capabilities, enabled for Linux (should be enabled for Android in another CL). BUG=647352 Committed: https://crrev.com/ebcc9794508eb9a52a8fcee54b93a0794a61f6a8 Cr-Commit-Position: refs/heads/master@{#421031}

Patch Set 1 : Verbatim https://codereview.chromium.org/2349693003/ #

Patch Set 2 : Added more condition Checks and cleaned up unit tests thread-hopping #

Total comments: 26

Patch Set 3 : chfremer@ comments #

Patch Set 4 : second round of comments from chfremer@ #

Patch Set 5 : Removed unnecessary RunLoop() after AllocateAndStart() #

Patch Set 6 : VideoCaptureCamera2: do not return error if stopCapture() finds the CameraCaptureSession closed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+197 lines, -9 lines) Patch
M media/capture/video/android/java/src/org/chromium/media/VideoCaptureCamera2.java View 1 2 3 4 5 4 chunks +5 lines, -4 lines 0 comments Download
M media/capture/video/linux/v4l2_capture_delegate.h View 1 chunk +5 lines, -0 lines 0 comments Download
M media/capture/video/linux/v4l2_capture_delegate.cc View 1 2 3 2 chunks +84 lines, -0 lines 0 comments Download
M media/capture/video/linux/video_capture_device_linux.h View 1 chunk +3 lines, -0 lines 0 comments Download
M media/capture/video/linux/video_capture_device_linux.cc View 1 chunk +20 lines, -0 lines 0 comments Download
M media/capture/video/video_capture_device_unittest.cc View 1 2 3 4 8 chunks +80 lines, -5 lines 0 comments Download

Messages

Total messages: 20 (10 generated)
mcasas
chfremer@ PTAL at PS1 plz
4 years, 3 months ago (2016-09-23 19:41:08 UTC) #4
chfremer
https://codereview.chromium.org/2362333002/diff/20001/media/capture/video/linux/v4l2_capture_delegate.cc File media/capture/video/linux/v4l2_capture_delegate.cc (right): https://codereview.chromium.org/2362333002/diff/20001/media/capture/video/linux/v4l2_capture_delegate.cc#newcode335 media/capture/video/linux/v4l2_capture_delegate.cc:335: return; This error case silently swallows the call and ...
4 years, 2 months ago (2016-09-23 21:18:30 UTC) #5
mcasas
ptal https://codereview.chromium.org/2362333002/diff/20001/media/capture/video/linux/v4l2_capture_delegate.cc File media/capture/video/linux/v4l2_capture_delegate.cc (right): https://codereview.chromium.org/2362333002/diff/20001/media/capture/video/linux/v4l2_capture_delegate.cc#newcode335 media/capture/video/linux/v4l2_capture_delegate.cc:335: return; On 2016/09/23 21:18:29, chfremer wrote: > This ...
4 years, 2 months ago (2016-09-23 22:10:58 UTC) #6
chfremer
lgtm % nits in comments https://codereview.chromium.org/2362333002/diff/20001/media/capture/video/linux/v4l2_capture_delegate.cc File media/capture/video/linux/v4l2_capture_delegate.cc (right): https://codereview.chromium.org/2362333002/diff/20001/media/capture/video/linux/v4l2_capture_delegate.cc#newcode335 media/capture/video/linux/v4l2_capture_delegate.cc:335: return; On 2016/09/23 22:10:57, ...
4 years, 2 months ago (2016-09-23 22:48:56 UTC) #7
mcasas
https://codereview.chromium.org/2362333002/diff/20001/media/capture/video/linux/v4l2_capture_delegate.cc File media/capture/video/linux/v4l2_capture_delegate.cc (right): https://codereview.chromium.org/2362333002/diff/20001/media/capture/video/linux/v4l2_capture_delegate.cc#newcode404 media/capture/video/linux/v4l2_capture_delegate.cc:404: zoom_current.value = settings->zoom / 100; On 2016/09/23 22:48:56, chfremer ...
4 years, 2 months ago (2016-09-23 23:16:26 UTC) #8
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/2362333002/80001
4 years, 2 months ago (2016-09-24 01:19:23 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/36275)
4 years, 2 months ago (2016-09-24 01:36:19 UTC) #13
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/2362333002/100001
4 years, 2 months ago (2016-09-26 21:42:12 UTC) #16
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 2 months ago (2016-09-26 23:08:37 UTC) #18
commit-bot: I haz the power
4 years, 2 months ago (2016-09-26 23:12:24 UTC) #20
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/ebcc9794508eb9a52a8fcee54b93a0794a61f6a8
Cr-Commit-Position: refs/heads/master@{#421031}

Powered by Google App Engine
This is Rietveld 408576698