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

Issue 1689953002: Fix scanline decoding of rare RLE bmps (Closed)

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

Description

Fix scanline decoding of rare RLE bmps This also exposed a bug in rewinding RLE bmps, which I have also fixed in this CL. This should fix testcase7.bmp on Gold. The image that I am adding to resources is in the public domain. BUG=skia:4730 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1689953002 Committed: https://skia.googlesource.com/skia/+/4946b9419f650ef7a2dc684ce98bb771e1ce8f40

Patch Set 1 #

Total comments: 6

Patch Set 2 : Move comment to header #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -7 lines) Patch
A resources/rle.bmp View Binary file 0 comments Download
M src/codec/SkBmpRLECodec.h View 1 1 chunk +7 lines, -0 lines 0 comments Download
M src/codec/SkBmpRLECodec.cpp View 1 6 chunks +24 lines, -7 lines 0 comments Download
M tests/CodexTest.cpp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 16 (8 generated)
msarett
https://codereview.chromium.org/1689953002/diff/1/src/codec/SkBmpRLECodec.cpp File src/codec/SkBmpRLECodec.cpp (right): https://codereview.chromium.org/1689953002/diff/1/src/codec/SkBmpRLECodec.cpp#newcode292 src/codec/SkBmpRLECodec.cpp:292: fRLEBytes = fOrigRLEBytes; On bmps where we need to ...
4 years, 10 months ago (2016-02-11 15:23:10 UTC) #5
scroggo
lgtm https://codereview.chromium.org/1689953002/diff/1/src/codec/SkBmpRLECodec.cpp File src/codec/SkBmpRLECodec.cpp (right): https://codereview.chromium.org/1689953002/diff/1/src/codec/SkBmpRLECodec.cpp#newcode275 src/codec/SkBmpRLECodec.cpp:275: // Scanline decodes allow the client to ask ...
4 years, 10 months ago (2016-02-11 15:56:52 UTC) #6
msarett
https://codereview.chromium.org/1689953002/diff/1/src/codec/SkBmpRLECodec.cpp File src/codec/SkBmpRLECodec.cpp (right): https://codereview.chromium.org/1689953002/diff/1/src/codec/SkBmpRLECodec.cpp#newcode275 src/codec/SkBmpRLECodec.cpp:275: // Scanline decodes allow the client to ask for ...
4 years, 10 months ago (2016-02-11 16:03:51 UTC) #7
scroggo
lgtm at patch set 2 https://codereview.chromium.org/1689953002/diff/1/src/codec/SkBmpRLECodec.cpp File src/codec/SkBmpRLECodec.cpp (right): https://codereview.chromium.org/1689953002/diff/1/src/codec/SkBmpRLECodec.cpp#newcode389 src/codec/SkBmpRLECodec.cpp:389: SkCodecPrintf("Warning: invalid RLE input.\n"); ...
4 years, 10 months ago (2016-02-11 16:08:48 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1689953002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1689953002/20001
4 years, 10 months ago (2016-02-11 16:10:05 UTC) #10
commit-bot: I haz the power
Failed to commit the patch.
4 years, 10 months ago (2016-02-11 16:35:01 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1689953002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1689953002/20001
4 years, 10 months ago (2016-02-11 16:40:25 UTC) #14
commit-bot: I haz the power
4 years, 10 months ago (2016-02-11 16:41:10 UTC) #16
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/4946b9419f650ef7a2dc684ce98bb771e1ce8f40

Powered by Google App Engine
This is Rietveld 408576698