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

Issue 2387303002: Image Capture Linux/CrOs, implement brightness, contrast, saturation and sharpness (Closed)

Created:
4 years, 2 months ago by mcasas
Modified:
4 years, 2 months ago
Reviewers:
haraken, Tom Sepez, chfremer
CC:
chromium-reviews, qsr+mojo_chromium.org, Aaron Boodman, posciak+watch_chromium.org, viettrungluu+watch_chromium.org, jam, yzshen+watch_chromium.org, abarth-chromium, feature-media-reviews_chromium.org, darin-cc_chromium.org, mcasas+watch+vc_chromium.org, blink-reviews, alokp+watch_chromium.org, darin (slow to review), miu+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Image Capture Linux/CrOs, implement brightness, contrast, saturation and sharpness This CL adds the said settings to the idl (capabilities and settings) and wires them through image_capture.mojom to its implementations in Fake and Linux/CrOs video capture device. BUG=650676 TEST= manually using [1] and a Logitech C920, result equivalent to e.g. guvcview. [1] ./out/gn/chrome -vmodule=*v4l2*=1 --enable-blink-features=ImageCapture --use-fake-ui-for-media-stream https://rawgit.com/Miguelao/demos/master/imagecapture.html Committed: https://crrev.com/6d7056407d29413588771b164e82a76f819783c8 Cr-Commit-Position: refs/heads/master@{#422899}

Patch Set 1 #

Total comments: 2

Patch Set 2 : chfremer@ comments and update global-interface-listing-expected.txt #

Patch Set 3 : Explicitly initialize to empty the new fields in the Android implementation and rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+202 lines, -43 lines) Patch
M content/browser/media/capture/image_capture_impl.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M media/capture/video/android/video_capture_device_android.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M media/capture/video/fake_video_capture_device.cc View 1 chunk +4 lines, -6 lines 0 comments Download
M media/capture/video/fake_video_capture_device_unittest.cc View 1 chunk +12 lines, -0 lines 0 comments Download
M media/capture/video/linux/v4l2_capture_delegate.cc View 1 5 chunks +65 lines, -32 lines 0 comments Download
M media/mojo/interfaces/image_capture.mojom View 2 chunks +12 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/imagecapture/getphotocapabilities.html View 1 chunk +31 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/imagecapture/resources/mock-imagecapture.js View 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/imagecapture/setoptions.html View 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/imagecapture/ImageCapture.cpp View 1 2 3 chunks +28 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.h View 2 chunks +16 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.cpp View 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/imagecapture/PhotoCapabilities.idl View 1 chunk +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/imagecapture/PhotoSettings.idl View 1 chunk +5 lines, -2 lines 0 comments Download

Messages

Total messages: 25 (16 generated)
mcasas
haraken@ RS the blink additions plz chfremer@ PTAL at the linux/cros implementation
4 years, 2 months ago (2016-10-04 02:27:47 UTC) #3
haraken
WebKit/ LGTM
4 years, 2 months ago (2016-10-04 02:40:19 UTC) #4
chfremer
lgtm % comment https://codereview.chromium.org/2387303002/diff/1/media/capture/video/linux/v4l2_capture_delegate.cc File media/capture/video/linux/v4l2_capture_delegate.cc (right): https://codereview.chromium.org/2387303002/diff/1/media/capture/video/linux/v4l2_capture_delegate.cc#newcode468 media/capture/video/linux/v4l2_capture_delegate.cc:468: if (settings->has_brightness) { Copy-paste error here ...
4 years, 2 months ago (2016-10-04 17:36:06 UTC) #5
mcasas
tsepez@: PTAL image_capture.mojom added fields https://codereview.chromium.org/2387303002/diff/1/media/capture/video/linux/v4l2_capture_delegate.cc File media/capture/video/linux/v4l2_capture_delegate.cc (right): https://codereview.chromium.org/2387303002/diff/1/media/capture/video/linux/v4l2_capture_delegate.cc#newcode468 media/capture/video/linux/v4l2_capture_delegate.cc:468: if (settings->has_brightness) { On ...
4 years, 2 months ago (2016-10-04 17:44:11 UTC) #8
Tom Sepez
mojom LGTM
4 years, 2 months ago (2016-10-04 18:28:16 UTC) #9
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/2387303002/40001
4 years, 2 months ago (2016-10-04 18:30:01 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/2387303002/80001
4 years, 2 months ago (2016-10-04 18:57:08 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:80001)
4 years, 2 months ago (2016-10-04 20:16:10 UTC) #23
commit-bot: I haz the power
4 years, 2 months ago (2016-10-04 20:17:59 UTC) #25
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/6d7056407d29413588771b164e82a76f819783c8
Cr-Commit-Position: refs/heads/master@{#422899}

Powered by Google App Engine
This is Rietveld 408576698