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

Issue 2797033002: ChromeOS color extraction - only look at a maximum of 10k pixels in the (Closed)

Created:
3 years, 8 months ago by Evan Stade
Modified:
3 years, 8 months ago
Reviewers:
James Cook, Nico, bruthig
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

ChromeOS color extraction - only look at a maximum of 10k pixels in the input image. The pixels that are chosen are evenly distributed throughout the image. This proved to be more effective than limiting the color space (i.e. the number of unique colors). On at least one large sample wallpaper and my workstation, this reduces runtime from hundreds of ms to <10ms. BUG=687852 Review-Url: https://codereview.chromium.org/2797033002 Cr-Commit-Position: refs/heads/master@{#462892} Committed: https://chromium.googlesource.com/chromium/src/+/b4c4b3509fdf1bc0f8a8c355cc83eb21fc5118eb

Patch Set 1 #

Patch Set 2 : oops #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -7 lines) Patch
M ui/gfx/color_analysis.cc View 1 1 chunk +8 lines, -7 lines 2 comments Download

Messages

Total messages: 24 (14 generated)
Evan Stade
+bruthig would be good to run the testing set with this change to verify nothing ...
3 years, 8 months ago (2017-04-05 19:00:06 UTC) #1
Evan Stade
+jamescook, ptal Since the feature is not on by default yet, I feel empowered to ...
3 years, 8 months ago (2017-04-07 01:57:21 UTC) #5
James Cook
LGTM. Speed is a great feature. https://codereview.chromium.org/2797033002/diff/20001/ui/gfx/color_analysis.cc File ui/gfx/color_analysis.cc (right): https://codereview.chromium.org/2797033002/diff/20001/ui/gfx/color_analysis.cc#newcode374 ui/gfx/color_analysis.cc:374: // prime number ...
3 years, 8 months ago (2017-04-07 14:05:47 UTC) #6
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/2797033002/20001
3 years, 8 months ago (2017-04-07 15:22:10 UTC) #8
Evan Stade
+thakis for owners
3 years, 8 months ago (2017-04-07 15:23:16 UTC) #11
Nico
lgtm, but I don't understand the prime: https://codereview.chromium.org/2797033002/diff/20001/ui/gfx/color_analysis.cc File ui/gfx/color_analysis.cc (right): https://codereview.chromium.org/2797033002/diff/20001/ui/gfx/color_analysis.cc#newcode374 ui/gfx/color_analysis.cc:374: // prime ...
3 years, 8 months ago (2017-04-07 15:33:23 UTC) #15
Evan Stade
On 2017/04/07 15:33:23, Nico wrote: > lgtm, but I don't understand the prime: > > ...
3 years, 8 months ago (2017-04-07 16:27:49 UTC) #18
Evan Stade
On 2017/04/07 16:27:49, Evan Stade wrote: > On 2017/04/07 15:33:23, Nico wrote: > > lgtm, ...
3 years, 8 months ago (2017-04-07 16:34:51 UTC) #19
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/2797033002/20001
3 years, 8 months ago (2017-04-07 16:40:18 UTC) #21
commit-bot: I haz the power
3 years, 8 months ago (2017-04-07 16:45:50 UTC) #24
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/b4c4b3509fdf1bc0f8a8c355cc83...

Powered by Google App Engine
This is Rietveld 408576698