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

Issue 1006583005: SkCodec: add wbmp class (Closed)

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

Description

Patch Set 1 #

Total comments: 23

Patch Set 2 : 2015-03-26 (Thursday) 13:10:30 EDT #

Total comments: 11

Patch Set 3 : 2015-03-26 (Thursday) 15:46:11 EDT #

Total comments: 14

Patch Set 4 : 2015-03-26 (Thursday) 17:46:34 EDT #

Total comments: 2

Patch Set 5 : 2015-03-27 (Friday) 09:52:36 EDT #

Total comments: 1

Patch Set 6 : 2015-03-27 (Friday) 10:53:14 EDT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+335 lines, -15 lines) Patch
M dm/DM.cpp View 1 1 chunk +2 lines, -1 line 0 comments Download
M gyp/codec.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M gyp/tests.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M include/codec/SkCodec.h View 1 2 1 chunk +13 lines, -7 lines 0 comments Download
A resources/color_wheel.ico View 1 2 3 Binary file 0 comments Download
A resources/mandrill.wbmp View Binary file 0 comments Download
M src/codec/SkCodec.cpp View 1 2 3 3 chunks +10 lines, -4 lines 0 comments Download
M src/codec/SkCodec_libbmp.cpp View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M src/codec/SkCodec_libpng.cpp View 1 2 3 1 chunk +5 lines, -1 line 0 comments Download
A src/codec/SkCodec_wbmp.h View 1 2 3 1 chunk +26 lines, -0 lines 0 comments Download
A src/codec/SkCodec_wbmp.cpp View 1 2 1 chunk +165 lines, -0 lines 0 comments Download
M src/utils/SkMD5.h View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
A tests/CodexTest.cpp View 1 2 3 4 1 chunk +99 lines, -0 lines 0 comments Download
M tests/ImageDecodingTest.cpp View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 40 (15 generated)
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1006583005/1
5 years, 9 months ago (2015-03-25 23:38:33 UTC) #2
hal.canary
Please Take a Look
5 years, 9 months ago (2015-03-25 23:40:00 UTC) #4
commit-bot: I haz the power
This issue passed the CQ. To commit it, remove "COMMIT=false" from the description and try ...
5 years, 9 months ago (2015-03-25 23:44:02 UTC) #6
msarett
This looks good. My comments are mostly questions and nits. https://codereview.chromium.org/1006583005/diff/1/dm/DMSrcSink.cpp File dm/DMSrcSink.cpp (right): https://codereview.chromium.org/1006583005/diff/1/dm/DMSrcSink.cpp#newcode97 ...
5 years, 9 months ago (2015-03-26 12:37:36 UTC) #7
scroggo
https://codereview.chromium.org/1006583005/diff/1/dm/DMSrcSink.cpp File dm/DMSrcSink.cpp (right): https://codereview.chromium.org/1006583005/diff/1/dm/DMSrcSink.cpp#newcode97 dm/DMSrcSink.cpp:97: if (SkInstallDiscardablePixelRef(codec.detach(), &bitmap)) { On 2015/03/26 12:37:35, msarett wrote: ...
5 years, 9 months ago (2015-03-26 14:37:57 UTC) #9
msarett
https://codereview.chromium.org/1006583005/diff/1/src/codec/SkCodec_wbmp.cpp File src/codec/SkCodec_wbmp.cpp (right): https://codereview.chromium.org/1006583005/diff/1/src/codec/SkCodec_wbmp.cpp#newcode51 src/codec/SkCodec_wbmp.cpp:51: static void expand_bits_to_bytes(uint8_t dst[], const uint8_t src[], int bits) ...
5 years, 9 months ago (2015-03-26 15:03:56 UTC) #10
scroggo
On 2015/03/26 15:03:56, msarett wrote: > https://codereview.chromium.org/1006583005/diff/1/src/codec/SkCodec_wbmp.cpp > File src/codec/SkCodec_wbmp.cpp (right): > > https://codereview.chromium.org/1006583005/diff/1/src/codec/SkCodec_wbmp.cpp#newcode51 > ...
5 years, 9 months ago (2015-03-26 15:25:11 UTC) #11
reed1
In my head, the rule is that codecs don't make quality-tradeoff-decisions, but only offer native ...
5 years, 9 months ago (2015-03-26 15:39:10 UTC) #13
hal.canary
https://codereview.chromium.org/1006583005/diff/1/dm/DMSrcSink.cpp File dm/DMSrcSink.cpp (right): https://codereview.chromium.org/1006583005/diff/1/dm/DMSrcSink.cpp#newcode97 dm/DMSrcSink.cpp:97: if (SkInstallDiscardablePixelRef(codec.detach(), &bitmap)) { On 2015/03/26 14:37:57, scroggo wrote: ...
5 years, 9 months ago (2015-03-26 17:10:54 UTC) #15
scroggo
https://codereview.chromium.org/1006583005/diff/40001/src/codec/SkCodec_wbmp.cpp File src/codec/SkCodec_wbmp.cpp (right): https://codereview.chromium.org/1006583005/diff/40001/src/codec/SkCodec_wbmp.cpp#newcode59 src/codec/SkCodec_wbmp.cpp:59: static SkPMColor bit_to_pmcolor(unsigned bit) { return bit ? WHITE ...
5 years, 9 months ago (2015-03-26 17:48:04 UTC) #16
hal.canary
https://codereview.chromium.org/1006583005/diff/40001/src/codec/SkCodec_wbmp.cpp File src/codec/SkCodec_wbmp.cpp (right): https://codereview.chromium.org/1006583005/diff/40001/src/codec/SkCodec_wbmp.cpp#newcode59 src/codec/SkCodec_wbmp.cpp:59: static SkPMColor bit_to_pmcolor(unsigned bit) { return bit ? WHITE ...
5 years, 9 months ago (2015-03-26 19:46:52 UTC) #19
scroggo
https://codereview.chromium.org/1006583005/diff/40001/src/codec/SkCodec_wbmp.cpp File src/codec/SkCodec_wbmp.cpp (right): https://codereview.chromium.org/1006583005/diff/40001/src/codec/SkCodec_wbmp.cpp#newcode59 src/codec/SkCodec_wbmp.cpp:59: static SkPMColor bit_to_pmcolor(unsigned bit) { return bit ? WHITE ...
5 years, 9 months ago (2015-03-26 20:29:45 UTC) #20
hal.canary
https://codereview.chromium.org/1006583005/diff/100001/include/codec/SkCodec.h File include/codec/SkCodec.h (right): https://codereview.chromium.org/1006583005/diff/100001/include/codec/SkCodec.h#newcode154 include/codec/SkCodec.h:154: * onGetPixels). If it returns false, onGetPixels should return ...
5 years, 9 months ago (2015-03-26 21:46:10 UTC) #21
scroggo
https://codereview.chromium.org/1006583005/diff/140001/tests/CodexTest.cpp File tests/CodexTest.cpp (right): https://codereview.chromium.org/1006583005/diff/140001/tests/CodexTest.cpp#newcode22 tests/CodexTest.cpp:22: size_t rowLen = bm.info().bytesPerPixel() * bm.height(); Shouldn't bm.height() be ...
5 years, 9 months ago (2015-03-27 12:52:59 UTC) #23
hal.canary
https://codereview.chromium.org/1006583005/diff/140001/tests/CodexTest.cpp File tests/CodexTest.cpp (right): https://codereview.chromium.org/1006583005/diff/140001/tests/CodexTest.cpp#newcode22 tests/CodexTest.cpp:22: size_t rowLen = bm.info().bytesPerPixel() * bm.height(); On 2015/03/27 12:52:59, ...
5 years, 9 months ago (2015-03-27 13:53:02 UTC) #24
scroggo
lgtm https://codereview.chromium.org/1006583005/diff/160001/src/utils/SkMD5.h File src/utils/SkMD5.h (right): https://codereview.chromium.org/1006583005/diff/160001/src/utils/SkMD5.h#newcode39 src/utils/SkMD5.h:39: bool operator ==(Digest const& other) const { I ...
5 years, 9 months ago (2015-03-27 14:09:48 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1006583005/160001
5 years, 9 months ago (2015-03-27 14:33:15 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot/builds/4)
5 years, 9 months ago (2015-03-27 14:42:53 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1006583005/180001
5 years, 9 months ago (2015-03-27 14:53:43 UTC) #32
hal.canary
reed@, please okay include/codec/SkCodec.h changes
5 years, 9 months ago (2015-03-27 15:34:40 UTC) #33
reed1
api lgtm -- mike-I-hate-streams-reed
5 years, 9 months ago (2015-03-27 18:14:41 UTC) #34
commit-bot: I haz the power
This issue passed the CQ dry run.
5 years, 9 months ago (2015-03-27 19:11:41 UTC) #36
scroggo
On 2015/03/27 19:11:41, I haz the power (commit-bot) wrote: > This issue passed the CQ ...
5 years, 9 months ago (2015-03-27 19:12:16 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1006583005/180001
5 years, 9 months ago (2015-03-27 19:13:07 UTC) #39
commit-bot: I haz the power
5 years, 9 months ago (2015-03-27 19:16:57 UTC) #40
Message was sent while issue was closed.
Committed patchset #6 (id:180001) as
https://skia.googlesource.com/skia/+/a096d7a6d03662073f4cd46f7db5fe2cf5495c36

Powered by Google App Engine
This is Rietveld 408576698