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

Issue 1305123002: Scanline decoding for gifs (Closed)

Created:
5 years, 4 months ago by msarett
Modified:
5 years, 3 months ago
Reviewers:
scroggo, djsollen
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@real-bmp-scan
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Patch Set 1 : #

Total comments: 41

Patch Set 2 : First round of fixes #

Total comments: 1

Patch Set 3 : Rebase #

Patch Set 4 : For review #

Patch Set 5 : Rebase - moved get_scaled_dimension from SkScaledCodec.cpp to SkCodecPriv.h #

Patch Set 6 : Response to comments #

Patch Set 7 : Move copy_color_table into initializeColorTable #

Patch Set 8 : Add comments and TODOs in order to punt the reallyHasAlpha issue to sometime later #

Patch Set 9 : Rebase on dm changes #

Patch Set 10 : Make kScanline_Mode test kOutOfOrder correctly in dm #

Total comments: 29

Patch Set 11 : Rebase #

Patch Set 12 : Read up to the first image in ReadHeader() #

Total comments: 4

Patch Set 13 : Add better comments for fTransIndex #

Patch Set 14 : Compile fixes #

Patch Set 15 : Compile fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+571 lines, -268 lines) Patch
M dm/DMSrcSink.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +22 lines, -2 lines 0 comments Download
M src/codec/SkCodecPriv.h View 1 2 3 4 2 chunks +12 lines, -1 line 0 comments Download
M src/codec/SkCodec_libgif.h View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +81 lines, -4 lines 0 comments Download
M src/codec/SkCodec_libgif.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 13 chunks +428 lines, -244 lines 0 comments Download
M src/codec/SkScaledCodec.cpp View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +23 lines, -14 lines 0 comments Download
M src/codec/SkScanlineDecoder.cpp View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M tests/CodexTest.cpp View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 35 (15 generated)
msarett
https://codereview.chromium.org/1305123002/diff/20001/dm/DMSrcSink.cpp File dm/DMSrcSink.cpp (right): https://codereview.chromium.org/1305123002/diff/20001/dm/DMSrcSink.cpp#newcode93 dm/DMSrcSink.cpp:93: if (SkScanlineDecoder::kTopDown_SkScanlineOrder != scanlineDecoder->getScanlineOrder()) { In gif we don't ...
5 years, 3 months ago (2015-08-24 23:20:13 UTC) #2
msarett
This is ready as well. I think there are a few redesign options to consider ...
5 years, 3 months ago (2015-08-25 13:46:39 UTC) #5
scroggo
https://codereview.chromium.org/1305123002/diff/20001/dm/DMSrcSink.cpp File dm/DMSrcSink.cpp (right): https://codereview.chromium.org/1305123002/diff/20001/dm/DMSrcSink.cpp#newcode90 dm/DMSrcSink.cpp:90: if (SkCodec::kSuccess != scanlineDecoder->start(info, NULL, colorPtr, colorCountPtr)) { Why ...
5 years, 3 months ago (2015-08-27 16:35:50 UTC) #6
msarett
There's not a lot new going on here - some of the fixes were made ...
5 years, 3 months ago (2015-09-01 17:50:16 UTC) #10
msarett
https://codereview.chromium.org/1305123002/diff/20001/src/codec/SkCodec_libgif.h File src/codec/SkCodec_libgif.h (right): https://codereview.chromium.org/1305123002/diff/20001/src/codec/SkCodec_libgif.h#newcode99 src/codec/SkCodec_libgif.h:99: * Sets inputColorCount to 256. Since gifs always contain ...
5 years, 3 months ago (2015-09-01 18:03:59 UTC) #11
msarett
https://codereview.chromium.org/1305123002/diff/20001/dm/DMSrcSink.cpp File dm/DMSrcSink.cpp (right): https://codereview.chromium.org/1305123002/diff/20001/dm/DMSrcSink.cpp#newcode93 dm/DMSrcSink.cpp:93: if (SkScanlineDecoder::kTopDown_SkScanlineOrder != scanlineDecoder->getScanlineOrder()) { On 2015/09/01 17:50:15, msarett ...
5 years, 3 months ago (2015-09-01 21:37:52 UTC) #12
scroggo
https://codereview.chromium.org/1305123002/diff/280001/dm/DMSrcSink.cpp File dm/DMSrcSink.cpp (right): https://codereview.chromium.org/1305123002/diff/280001/dm/DMSrcSink.cpp#newcode211 dm/DMSrcSink.cpp:211: if (SkCodec::kSuccess != result && SkCodec::kIncompleteInput != result) { ...
5 years, 3 months ago (2015-09-02 22:45:49 UTC) #13
msarett
https://codereview.chromium.org/1305123002/diff/280001/dm/DMSrcSink.cpp File dm/DMSrcSink.cpp (right): https://codereview.chromium.org/1305123002/diff/280001/dm/DMSrcSink.cpp#newcode211 dm/DMSrcSink.cpp:211: if (SkCodec::kSuccess != result && SkCodec::kIncompleteInput != result) { ...
5 years, 3 months ago (2015-09-03 17:13:31 UTC) #14
scroggo
lgtm https://codereview.chromium.org/1305123002/diff/280001/dm/DMSrcSink.cpp File dm/DMSrcSink.cpp (right): https://codereview.chromium.org/1305123002/diff/280001/dm/DMSrcSink.cpp#newcode211 dm/DMSrcSink.cpp:211: if (SkCodec::kSuccess != result && SkCodec::kIncompleteInput != result) ...
5 years, 3 months ago (2015-09-04 18:42:10 UTC) #15
msarett
https://codereview.chromium.org/1305123002/diff/280001/dm/DMSrcSink.cpp File dm/DMSrcSink.cpp (right): https://codereview.chromium.org/1305123002/diff/280001/dm/DMSrcSink.cpp#newcode211 dm/DMSrcSink.cpp:211: if (SkCodec::kSuccess != result && SkCodec::kIncompleteInput != result) { ...
5 years, 3 months ago (2015-09-04 19:52:47 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1305123002/340001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1305123002/340001
5 years, 3 months ago (2015-09-04 20:07:46 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: Build-Ubuntu-GCC-x86_64-Release-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-x86_64-Release-Trybot/builds/3114)
5 years, 3 months ago (2015-09-04 20:10:21 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1305123002/360001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1305123002/360001
5 years, 3 months ago (2015-09-04 20:17:06 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: Build-Ubuntu-GCC-x86_64-Release-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-x86_64-Release-Trybot/builds/3115)
5 years, 3 months ago (2015-09-04 20:18:30 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1305123002/380001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1305123002/380001
5 years, 3 months ago (2015-09-04 20:22:28 UTC) #29
commit-bot: I haz the power
Committed patchset #15 (id:380001) as https://skia.googlesource.com/skia/+/e9c10b9121887e8c300bd41357461418e061984d
5 years, 3 months ago (2015-09-04 20:28:28 UTC) #30
jcgregorio
A revert of this CL (patchset #15 id:380001) has been created in https://codereview.chromium.org/1320273004/ by jcgregorio@google.com. ...
5 years, 3 months ago (2015-09-05 17:16:13 UTC) #31
msarett
The error that you referenced was caused by a different CL: https://codereview.chromium.org/1288963002/ It was then ...
5 years, 3 months ago (2015-09-07 15:48:31 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1305123002/380001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1305123002/380001
5 years, 3 months ago (2015-09-07 15:48:56 UTC) #34
commit-bot: I haz the power
5 years, 3 months ago (2015-09-07 15:54:05 UTC) #35
Message was sent while issue was closed.
Committed patchset #15 (id:380001) as
https://skia.googlesource.com/skia/+/10522ff4cfa3cba45881354768f6185fc1109119

Powered by Google App Engine
This is Rietveld 408576698