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

Issue 1132333006: Try switching black frame algorithm to a luma-based algorithm. (Closed)

Created:
5 years, 7 months ago by phoglund_chromium
Modified:
5 years, 7 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, jam, darin-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Try switching black frame algorithm to a luma-based algorithm. Sheriffs: if WebRtcBrowserTest.CanSetupVideoCallAndDisableLocalVideo flakes, revert this patch. It shouldn't flake after this fix. Instead of looking at color values of individual pixels, see if we can get more reliable results by looking at luma values instead. This way we can detect black frames more reliably in the tests. This is a partial re-land of codereview.chromium.org/1108803002. This is essentially the black frame algorithm used in testrtc. BUG=477498 Committed: https://crrev.com/859d9a26e396f802f6aafa13c45a1ce056fe6154 Cr-Commit-Position: refs/heads/master@{#330539}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Review updates + added back reporting mechanism #

Patch Set 3 : #

Total comments: 5

Patch Set 4 : Addressing comments #

Patch Set 5 : Fixing threshold for first pixel after offline discussion. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -9 lines) Patch
M content/browser/media/webrtc_browsertest.cc View 1 2 1 chunk +8 lines, -2 lines 0 comments Download
M content/test/data/media/webrtc_test_utilities.js View 1 2 3 4 3 chunks +25 lines, -7 lines 0 comments Download

Messages

Total messages: 14 (3 generated)
phoglund_chromium
5 years, 7 months ago (2015-05-18 14:29:30 UTC) #2
kjellander_chromium
https://codereview.chromium.org/1132333006/diff/1/content/test/data/media/webrtc_test_utilities.js File content/test/data/media/webrtc_test_utilities.js (right): https://codereview.chromium.org/1132333006/diff/1/content/test/data/media/webrtc_test_utilities.js#newcode192 content/test/data/media/webrtc_test_utilities.js:192: for (var i = 4; i < pixels.length; i ...
5 years, 7 months ago (2015-05-19 08:08:54 UTC) #3
phoglund_chromium
PTAL: note I re-enabled the test and added back a better reporting mechanism I had ...
5 years, 7 months ago (2015-05-19 09:01:20 UTC) #4
kjellander_chromium
Just some minor changes left. Can you put something in the CL description to make ...
5 years, 7 months ago (2015-05-19 09:10:01 UTC) #5
phoglund_chromium
PTAL https://codereview.chromium.org/1132333006/diff/40001/content/test/data/media/webrtc_test_utilities.js File content/test/data/media/webrtc_test_utilities.js (right): https://codereview.chromium.org/1132333006/diff/40001/content/test/data/media/webrtc_test_utilities.js#newcode203 content/test/data/media/webrtc_test_utilities.js:203: // |pixels| is in RGBA. Ignore the alpha ...
5 years, 7 months ago (2015-05-19 09:37:08 UTC) #6
kjellander_chromium
https://codereview.chromium.org/1132333006/diff/40001/content/test/data/media/webrtc_test_utilities.js File content/test/data/media/webrtc_test_utilities.js (right): https://codereview.chromium.org/1132333006/diff/40001/content/test/data/media/webrtc_test_utilities.js#newcode203 content/test/data/media/webrtc_test_utilities.js:203: // |pixels| is in RGBA. Ignore the alpha channel. ...
5 years, 7 months ago (2015-05-19 10:06:22 UTC) #7
phoglund_chromium
> Hmm, it sounds a bit risky to just assume that's a bug in YUV ...
5 years, 7 months ago (2015-05-19 11:25:21 UTC) #8
kjellander_chromium
On 2015/05/19 11:25:21, phoglund wrote: > > Hmm, it sounds a bit risky to just ...
5 years, 7 months ago (2015-05-19 12:09:11 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1132333006/80001
5 years, 7 months ago (2015-05-19 13:26:33 UTC) #12
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 7 months ago (2015-05-19 17:15:50 UTC) #13
commit-bot: I haz the power
5 years, 7 months ago (2015-05-19 17:17:15 UTC) #14
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/859d9a26e396f802f6aafa13c45a1ce056fe6154
Cr-Commit-Position: refs/heads/master@{#330539}

Powered by Google App Engine
This is Rietveld 408576698