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

Issue 2150453003: ImageCapture.grabFrame()/<video>.captureStream(), use ABGR pixel format for Android (Closed)

Created:
4 years, 5 months ago by mcasas
Modified:
4 years, 5 months ago
Reviewers:
emircan
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, mcasas+watch+vc_chromium.org, miu+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.grabFrame()/<video>.captureStream(), use ABGR pixel format for Android This CL corrects the code to use the pixel format: must use ABGR instead of the incorrect ARGB, for the JS APIs mentioned in the title and for Android platform. BUG=627983 Verified on N7.2, N6. TEST= two parts, e.g. on a N5X or N6 phone: 1) Navigate to [1], open either camera, click on grabFrame() and verify correct colours 2) Navigate to [2], click on "Start <video> playback", then on "Create Stream..." and then on "Play back..." and verify correct colours. [1] https://simpl.info/ic [2] https://rawgit.com/Miguelao/demos/master/videoelementcapture.html Committed: https://crrev.com/fce8860058fcbfab7c49d674d578dea1c180ac95 Cr-Commit-Position: refs/heads/master@{#405572}

Patch Set 1 #

Total comments: 2

Patch Set 2 : emircan@s comments #

Patch Set 3 : Adapted/corrected DLOG message #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -10 lines) Patch
M content/renderer/media/html_video_element_capturer_source.cc View 1 2 3 chunks +6 lines, -2 lines 0 comments Download
M content/renderer/media/image_capture_frame_grabber.cc View 1 1 chunk +13 lines, -8 lines 0 comments Download

Messages

Total messages: 20 (12 generated)
mcasas
emircan@ PTAL
4 years, 5 months ago (2016-07-14 17:48:42 UTC) #5
emircan
https://codereview.chromium.org/2150453003/diff/1/content/renderer/media/html_video_element_capturer_source.cc File content/renderer/media/html_video_element_capturer_source.cc (right): https://codereview.chromium.org/2150453003/diff/1/content/renderer/media/html_video_element_capturer_source.cc#newcode181 content/renderer/media/html_video_element_capturer_source.cc:181: source_pixel_format) == 0) { I think the underlying problem ...
4 years, 5 months ago (2016-07-14 18:16:01 UTC) #7
mcasas
PTAL https://codereview.chromium.org/2150453003/diff/1/content/renderer/media/html_video_element_capturer_source.cc File content/renderer/media/html_video_element_capturer_source.cc (right): https://codereview.chromium.org/2150453003/diff/1/content/renderer/media/html_video_element_capturer_source.cc#newcode181 content/renderer/media/html_video_element_capturer_source.cc:181: source_pixel_format) == 0) { On 2016/07/14 18:16:00, emircan ...
4 years, 5 months ago (2016-07-14 18:33:09 UTC) #9
emircan
lgtm
4 years, 5 months ago (2016-07-14 18:34:55 UTC) #11
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/2150453003/60001
4 years, 5 months ago (2016-07-14 19:57:11 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 5 months ago (2016-07-14 21:18:55 UTC) #17
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-14 21:19:03 UTC) #18
commit-bot: I haz the power
4 years, 5 months ago (2016-07-14 21:20:33 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/fce8860058fcbfab7c49d674d578dea1c180ac95
Cr-Commit-Position: refs/heads/master@{#405572}

Powered by Google App Engine
This is Rietveld 408576698