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

Issue 4846002: Downsample thumbnail by powers of two before doing lanczos (Closed)

Created:
10 years, 1 month ago by jamesr
Modified:
9 years, 6 months ago
Reviewers:
brettw, Stephen White
CC:
chromium-reviews, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Downsample thumbnail by powers of two before doing lanczos This speeds up the resizing portion of thumbnailing from 40ms->15ms on my linux z600 at nearly fullscreen resolution. Thumbnail resizing times on weaker hardware (like netbooks) has been observed in the 150ms+ range, so hopefully this is a proportional speedup there as well. TEST=none BUG=62820 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=65982

Patch Set 1 #

Total comments: 1

Patch Set 2 : goog style #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -2 lines) Patch
M chrome/renderer/render_view.cc View 1 2 chunks +8 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
jamesr
Patch to mitigate thumbnail lockups. I don't know how to test that this is correct ...
10 years, 1 month ago (2010-11-12 04:39:34 UTC) #1
brettw
What timings are you getting on the old code versus the new? There is already ...
10 years, 1 month ago (2010-11-12 07:05:57 UTC) #2
jamesr
On 2010/11/12 07:05:57, brettw wrote: > What timings are you getting on the old code ...
10 years, 1 month ago (2010-11-12 19:53:17 UTC) #3
jamesr
The thumbnails look OK in the NTP. I'm not sure how else to verify that ...
10 years, 1 month ago (2010-11-12 19:55:05 UTC) #4
brettw
Sounds good, LGTM
10 years, 1 month ago (2010-11-12 20:05:53 UTC) #5
Stephen White
10 years, 1 month ago (2010-11-12 20:34:22 UTC) #6
LGTM too.  Nice optimization!

Powered by Google App Engine
This is Rietveld 408576698