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

Issue 2311793004: Use demux API in SkWebpCodec (Closed)

Created:
4 years, 3 months ago by msarett
Modified:
4 years, 3 months ago
Reviewers:
scroggo
CC:
reviews_skia.org
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Use demux API in SkWebpCodec * Necessary to read ICC profiles * Will be necessary to implement animation * Requires consolidated data with length Doesn't affect decode performance (thought I believe our performance tests only cover SkStreams with memory bases). BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2311793004 Committed: https://skia.googlesource.com/skia/+/ff2a6c8a70d5f7e3be99ef41c75412878785edcb

Patch Set 1 #

Patch Set 2 : Forward declare #

Total comments: 13

Patch Set 3 : Response to comments #

Patch Set 4 : Fix test #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -65 lines) Patch
M src/codec/SkCodec.cpp View 1 2 1 chunk +2 lines, -2 lines 2 comments Download
M src/codec/SkWebpCodec.h View 1 2 chunks +12 lines, -1 line 0 comments Download
M src/codec/SkWebpCodec.cpp View 1 2 7 chunks +72 lines, -61 lines 0 comments Download
M tests/CodecTest.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 17 (9 generated)
msarett
https://codereview.chromium.org/2311793004/diff/20001/src/codec/SkWebpCodec.cpp File src/codec/SkWebpCodec.cpp (right): https://codereview.chromium.org/2311793004/diff/20001/src/codec/SkWebpCodec.cpp#newcode286 src/codec/SkWebpCodec.cpp:286: switch (WebPIUpdate(idec, frame.fragment.bytes, frame.fragment.size)) { It's kind of ugly ...
4 years, 3 months ago (2016-09-06 23:47:11 UTC) #4
scroggo
https://codereview.chromium.org/2311793004/diff/20001/src/codec/SkWebpCodec.cpp File src/codec/SkWebpCodec.cpp (right): https://codereview.chromium.org/2311793004/diff/20001/src/codec/SkWebpCodec.cpp#newcode41 src/codec/SkWebpCodec.cpp:41: if (stream->getMemoryBase()) { I think we have some common ...
4 years, 3 months ago (2016-09-07 14:20:52 UTC) #5
msarett
https://codereview.chromium.org/2311793004/diff/20001/src/codec/SkWebpCodec.cpp File src/codec/SkWebpCodec.cpp (right): https://codereview.chromium.org/2311793004/diff/20001/src/codec/SkWebpCodec.cpp#newcode41 src/codec/SkWebpCodec.cpp:41: if (stream->getMemoryBase()) { On 2016/09/07 14:20:51, scroggo_BACK_FROM_PATERNITY wrote: > ...
4 years, 3 months ago (2016-09-07 16:47:10 UTC) #6
scroggo
lgtm Doesn't affect decode performance (thought I believe our performance tests only cover SkStreams with ...
4 years, 3 months ago (2016-09-07 17:33:04 UTC) #7
msarett
https://codereview.chromium.org/2311793004/diff/60001/src/codec/SkCodec.cpp File src/codec/SkCodec.cpp (right): https://codereview.chromium.org/2311793004/diff/60001/src/codec/SkCodec.cpp#newcode145 src/codec/SkCodec.cpp:145: // Some codecs do not have a stream. They ...
4 years, 3 months ago (2016-09-07 17:36:30 UTC) #8
msarett
On 2016/09/07 17:33:04, scroggo_BACK_FROM_PATERNITY wrote: > lgtm > > Doesn't affect decode performance (thought I ...
4 years, 3 months ago (2016-09-07 17:45:42 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2311793004/60001
4 years, 3 months ago (2016-09-07 18:20:25 UTC) #15
commit-bot: I haz the power
4 years, 3 months ago (2016-09-07 18:23:30 UTC) #17
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://skia.googlesource.com/skia/+/ff2a6c8a70d5f7e3be99ef41c75412878785edcb

Powered by Google App Engine
This is Rietveld 408576698