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

Issue 25354004: Allow sampling GIF images during decode. (Closed)

Created:
7 years, 2 months ago by scroggo
Modified:
7 years, 2 months ago
Reviewers:
hal.canary, djsollen, reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Allow sampling GIF images during decode. SkScaledBitmapSampler: Add a mode for sampling rows out of order, used by GIF decoder for interlaced images. Add a getter for the X sampling rate. SkImageDecoder_libgif: Respect the sampleSize set on SkImageDecoder. skimage_main: Provide an option to set a sample size. BUG=https://b.corp.google.com/issue?id=8999690 Committed: http://code.google.com/p/skia/source/detail?r=11659

Patch Set 1 #

Patch Set 2 : Better variable name, handle opaque #

Patch Set 3 : Switch back to using kIndex8 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+144 lines, -39 lines) Patch
M src/images/SkImageDecoder_libgif.cpp View 1 2 7 chunks +95 lines, -38 lines 0 comments Download
M src/images/SkScaledBitmapSampler.h View 3 chunks +19 lines, -0 lines 0 comments Download
M src/images/SkScaledBitmapSampler.cpp View 1 3 chunks +27 lines, -0 lines 0 comments Download
M tools/skimage_main.cpp View 1 2 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
scroggo
7 years, 2 months ago (2013-10-04 19:24:00 UTC) #1
reed1
lgtm
7 years, 2 months ago (2013-10-07 18:22:50 UTC) #2
scroggo
Latest patch goes back to using kIndex8. Please take another look.
7 years, 2 months ago (2013-10-08 14:16:29 UTC) #3
scroggo
cc'ing Hal, who is making other changes to GIF.
7 years, 2 months ago (2013-10-08 15:28:31 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/scroggo@google.com/25354004/12001
7 years, 2 months ago (2013-10-08 19:33:26 UTC) #5
commit-bot: I haz the power
7 years, 2 months ago (2013-10-08 19:40:22 UTC) #6
Message was sent while issue was closed.
Change committed as 11659

Powered by Google App Engine
This is Rietveld 408576698