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

Issue 1719073002: Use new jpeg_crop_scanlines() API to optimize jpeg subset decodes (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

Use new jpeg_crop_scanlines() API to optimize jpeg subset decodes This was adapted from: https://codereview.chromium.org/1530933003 Subset Decode Runtime (Original / Optimized) on Nexus 6P TopLeft 0.51x TopRight 0.56x Middle 0.71x BottomLeft 0.79x BottomRight 0.79x BUG=skia:4256 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1719073002 Committed: https://skia.googlesource.com/skia/+/91c22b2ea6bd13a31321ead01645467f21858cd0

Patch Set 1 #

Patch Set 2 : #

Total comments: 33

Patch Set 3 : Response to comments #

Patch Set 4 : Only test cropping in kCroppedScanline mode #

Total comments: 5

Patch Set 5 : Response to comments from previous patch set #

Total comments: 3

Patch Set 6 : Add to assert #

Unified diffs Side-by-side diffs Delta from patch set Stats (+143 lines, -26 lines) Patch
M DEPS View 1 chunk +1 line, -1 line 0 comments Download
M dm/DM.cpp View 1 2 3 4 4 chunks +38 lines, -21 lines 0 comments Download
M dm/DMSrcSink.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M dm/DMSrcSink.cpp View 1 2 3 1 chunk +25 lines, -0 lines 0 comments Download
M gyp/codec.gyp View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M src/codec/SkCodec.cpp View 1 chunk +8 lines, -3 lines 0 comments Download
M src/codec/SkJpegCodec.h View 1 chunk +4 lines, -0 lines 0 comments Download
M src/codec/SkJpegCodec.cpp View 1 2 3 4 5 3 chunks +59 lines, -1 line 0 comments Download

Messages

Total messages: 17 (7 generated)
msarett
4 years, 10 months ago (2016-02-22 14:58:32 UTC) #3
scroggo
https://codereview.chromium.org/1719073002/diff/20001/dm/DM.cpp File dm/DM.cpp (right): https://codereview.chromium.org/1719073002/diff/20001/dm/DM.cpp#newcode349 dm/DM.cpp:349: CodecSrc::Mode nativeModes[5]; nit: As long as you're rewriting this ...
4 years, 10 months ago (2016-02-22 15:55:04 UTC) #4
msarett
https://codereview.chromium.org/1719073002/diff/20001/dm/DM.cpp File dm/DM.cpp (right): https://codereview.chromium.org/1719073002/diff/20001/dm/DM.cpp#newcode349 dm/DM.cpp:349: CodecSrc::Mode nativeModes[5]; On 2016/02/22 15:55:03, scroggo wrote: > nit: ...
4 years, 10 months ago (2016-02-22 17:38:16 UTC) #8
scroggo
lgtm https://codereview.chromium.org/1719073002/diff/20001/dm/DMSrcSink.cpp File dm/DMSrcSink.cpp (right): https://codereview.chromium.org/1719073002/diff/20001/dm/DMSrcSink.cpp#newcode478 dm/DMSrcSink.cpp:478: const int tileSize = 51; On 2016/02/22 17:38:15, ...
4 years, 10 months ago (2016-02-22 18:46:48 UTC) #9
msarett
https://codereview.chromium.org/1719073002/diff/20001/dm/DMSrcSink.cpp File dm/DMSrcSink.cpp (right): https://codereview.chromium.org/1719073002/diff/20001/dm/DMSrcSink.cpp#newcode478 dm/DMSrcSink.cpp:478: const int tileSize = 51; On 2016/02/22 18:46:47, scroggo ...
4 years, 10 months ago (2016-02-22 19:07:44 UTC) #10
scroggo
LGTM at patch set 5 https://codereview.chromium.org/1719073002/diff/80001/dm/DMSrcSink.cpp File dm/DMSrcSink.cpp (right): https://codereview.chromium.org/1719073002/diff/80001/dm/DMSrcSink.cpp#newcode529 dm/DMSrcSink.cpp:529: // align with the ...
4 years, 10 months ago (2016-02-22 19:20:20 UTC) #11
msarett
https://codereview.chromium.org/1719073002/diff/100001/src/codec/SkJpegCodec.cpp File src/codec/SkJpegCodec.cpp (right): https://codereview.chromium.org/1719073002/diff/100001/src/codec/SkJpegCodec.cpp#newcode380 src/codec/SkJpegCodec.cpp:380: SkASSERT(!fSwizzlerSubset.isEmpty()); On 2016/02/22 19:20:20, scroggo wrote: > Come to ...
4 years, 10 months ago (2016-02-22 19:32:51 UTC) #12
scroggo
LGTM patch set 6 https://codereview.chromium.org/1719073002/diff/100001/src/codec/SkJpegCodec.cpp File src/codec/SkJpegCodec.cpp (right): https://codereview.chromium.org/1719073002/diff/100001/src/codec/SkJpegCodec.cpp#newcode380 src/codec/SkJpegCodec.cpp:380: SkASSERT(!fSwizzlerSubset.isEmpty()); On 2016/02/22 19:32:51, msarett ...
4 years, 10 months ago (2016-02-22 19:37:41 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1719073002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1719073002/120001
4 years, 10 months ago (2016-02-22 19:48:35 UTC) #15
commit-bot: I haz the power
4 years, 10 months ago (2016-02-22 20:27:49 UTC) #17
Message was sent while issue was closed.
Committed patchset #6 (id:120001) as
https://skia.googlesource.com/skia/+/91c22b2ea6bd13a31321ead01645467f21858cd0

Powered by Google App Engine
This is Rietveld 408576698