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

Issue 1686313005: SkPDF: Implement Paeth predictor for images. (Closed)

Created:
4 years, 10 months ago by hal.canary
Modified:
4 years, 1 month ago
Reviewers:
msarett, mtklein, reed1
CC:
jbreiden, pts, reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

SkPDF: Implement Paeth predictor for images. GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1686313005

Patch Set 1 #

Patch Set 2 : 2016-02-11 (Thursday) 17:08:09 EST #

Patch Set 3 : 2016-02-11 (Thursday) 18:04:46 EST #

Patch Set 4 : refactor #

Patch Set 5 : 2016-02-19 (Friday) 15:12:05 EST #

Total comments: 8

Patch Set 6 : More options. #

Patch Set 7 : 2016-02-25 (Thursday) 14:57:16 EST #

Unified diffs Side-by-side diffs Delta from patch set Stats (+339 lines, -24 lines) Patch
M gyp/pdf.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M src/pdf/SkPDFBitmap.cpp View 1 2 3 4 5 9 chunks +94 lines, -24 lines 0 comments Download
A src/pdf/SkPngPredictors.h View 1 2 3 4 5 1 chunk +24 lines, -0 lines 0 comments Download
A src/pdf/SkPngPredictors.cpp View 1 2 3 4 5 6 1 chunk +219 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (9 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1686313005/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1686313005/20001
4 years, 10 months ago (2016-02-11 22:21:13 UTC) #3
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-11 22:48:35 UTC) #5
hal.canary
PTAL.
4 years, 10 months ago (2016-02-16 20:55:01 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1686313005/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1686313005/40001
4 years, 10 months ago (2016-02-16 21:08:03 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-16 21:33:13 UTC) #11
mtklein
let's put all our PNG filter stuff together. the methods we wrote for libpng are ...
4 years, 10 months ago (2016-02-16 21:41:55 UTC) #12
hal.canary
On 2016/02/16 at 21:41:55, mtklein wrote: > let's put all our PNG filter stuff together. ...
4 years, 10 months ago (2016-02-17 16:08:39 UTC) #13
reed1
In general we want to be able to encode as well as decode, not just ...
4 years, 10 months ago (2016-02-17 17:02:39 UTC) #15
msarett
On 2016/02/16 21:41:55, mtklein wrote: > let's put all our PNG filter stuff together. the ...
4 years, 10 months ago (2016-02-17 17:07:24 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1686313005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1686313005/80001
4 years, 10 months ago (2016-02-19 20:42:24 UTC) #18
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-19 21:16:54 UTC) #20
hal.canary
On 2016/02/17 at 17:07:24, msarett wrote: > On 2016/02/16 21:41:55, mtklein wrote: > > let's ...
4 years, 10 months ago (2016-02-19 21:28:38 UTC) #21
mtklein
https://codereview.chromium.org/1686313005/diff/80001/src/pdf/SkPngPredictors.cpp File src/pdf/SkPngPredictors.cpp (right): https://codereview.chromium.org/1686313005/diff/80001/src/pdf/SkPngPredictors.cpp#newcode12 src/pdf/SkPngPredictors.cpp:12: enum EncodeOrDecode { Please remove the dead kDecode path ...
4 years, 10 months ago (2016-02-19 21:53:08 UTC) #22
hal.canary
4 years, 10 months ago (2016-02-25 20:01:51 UTC) #23
For testing purposes, this patch can be switched on or off easily:

Here are results (using the PDFImage benchmark):

    test                           microsec   summed .skp
                                   benchmark  PDF sizes.
    CONTROL                        2209.96    29179 Kb
    SK_PDF_USE_PAETH_PNG_PREDICTOR 2959.47    27136 Kb
    SK_PDF_USE_BEST_PNG_PREDICTOR  3344.24    26909 Kb

Powered by Google App Engine
This is Rietveld 408576698