diff options
author | msarett <msarett@google.com> | 2016-02-22 12:27:46 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-22 12:27:46 -0800 |
commit | 91c22b2ea6bd13a31321ead01645467f21858cd0 (patch) | |
tree | 99f66c26c87bbcade9c7eac84099e2fae7c01cd5 /dm/DMSrcSink.h | |
parent | 7499e69d9991a113c452a2a44a10078df41f3758 (diff) |
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
Review URL: https://codereview.chromium.org/1719073002
Diffstat (limited to 'dm/DMSrcSink.h')
-rw-r--r-- | dm/DMSrcSink.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dm/DMSrcSink.h b/dm/DMSrcSink.h index a987c7d45d..3190576c68 100644 --- a/dm/DMSrcSink.h +++ b/dm/DMSrcSink.h @@ -110,6 +110,7 @@ public: kCodecZeroInit_Mode, kScanline_Mode, kStripe_Mode, // Tests the skipping of scanlines + kCroppedScanline_Mode, // Tests (jpeg) cropped scanline optimization kSubset_Mode, // For codecs that support subsets directly. kGen_Mode, // Test SkCodecImageGenerator (includes YUV) }; |