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

Issue 1676773003: Optimize CMYK->RGBA (BGRA) transform for jpeg decodes (Closed)

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

Description

Optimize CMYK->RGBA (BGRA) transform for jpeg decodes Swizzle Bench Runtime Nexus 6P 0.14x Dell Venue 8 0.12x CMYK Jpeg Decode Runtime Nexus 6P 0.81x Dell Venue 8 0.85x BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1676773003 CQ_EXTRA_TRYBOTS=client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot Committed: https://skia.googlesource.com/skia/+/c5c322d8ecfc05718f9f04360956c4f1f9dc33c1

Patch Set 1 #

Total comments: 8

Patch Set 2 : Rename inverted_CMYK #

Total comments: 2

Patch Set 3 : Further renaming #

Patch Set 4 : Windows #

Unified diffs Side-by-side diffs Delta from patch set Stats (+227 lines, -32 lines) Patch
M bench/SwizzleBench.cpp View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/codec/SkSwizzler.cpp View 1 3 chunks +17 lines, -0 lines 0 comments Download
M src/core/SkOpts.h View 1 1 chunk +10 lines, -8 lines 0 comments Download
M src/core/SkOpts.cpp View 1 1 chunk +10 lines, -8 lines 0 comments Download
M src/opts/SkOpts_neon.cpp View 1 1 chunk +10 lines, -8 lines 0 comments Download
M src/opts/SkOpts_ssse3.cpp View 1 1 chunk +10 lines, -8 lines 0 comments Download
M src/opts/SkSwizzler_opts.h View 1 2 3 4 chunks +168 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (10 generated)
msarett
4 years, 10 months ago (2016-02-08 14:42:39 UTC) #5
scroggo
Deferring to Mike on the review, but I did have a question and a suggestion. ...
4 years, 10 months ago (2016-02-08 14:59:43 UTC) #6
mtklein
https://codereview.chromium.org/1676773003/diff/1/src/core/SkOpts.h File src/core/SkOpts.h (right): https://codereview.chromium.org/1676773003/diff/1/src/core/SkOpts.h#newcode68 src/core/SkOpts.h:68: CMYK_to_RGB1, // i.e. convert color space On 2016/02/08 14:59:43, ...
4 years, 10 months ago (2016-02-08 15:08:48 UTC) #7
mtklein
https://codereview.chromium.org/1676773003/diff/1/src/opts/SkSwizzler_opts.h File src/opts/SkSwizzler_opts.h (right): https://codereview.chromium.org/1676773003/diff/1/src/opts/SkSwizzler_opts.h#newcode137 src/opts/SkSwizzler_opts.h:137: r = (c*k+127)/255; This is really the math? Having ...
4 years, 10 months ago (2016-02-08 15:14:26 UTC) #8
msarett
https://codereview.chromium.org/1676773003/diff/1/src/opts/SkSwizzler_opts.h File src/opts/SkSwizzler_opts.h (right): https://codereview.chromium.org/1676773003/diff/1/src/opts/SkSwizzler_opts.h#newcode137 src/opts/SkSwizzler_opts.h:137: r = (c*k+127)/255; On 2016/02/08 15:14:26, mtklein wrote: > ...
4 years, 10 months ago (2016-02-08 15:23:08 UTC) #9
mtklein
https://codereview.chromium.org/1676773003/diff/1/src/opts/SkSwizzler_opts.h File src/opts/SkSwizzler_opts.h (right): https://codereview.chromium.org/1676773003/diff/1/src/opts/SkSwizzler_opts.h#newcode137 src/opts/SkSwizzler_opts.h:137: r = (c*k+127)/255; On 2016/02/08 15:23:08, msarett wrote: > ...
4 years, 10 months ago (2016-02-08 16:47:15 UTC) #10
msarett
https://codereview.chromium.org/1676773003/diff/1/src/opts/SkSwizzler_opts.h File src/opts/SkSwizzler_opts.h (right): https://codereview.chromium.org/1676773003/diff/1/src/opts/SkSwizzler_opts.h#newcode137 src/opts/SkSwizzler_opts.h:137: r = (c*k+127)/255; On 2016/02/08 16:47:15, mtklein wrote: > ...
4 years, 10 months ago (2016-02-08 17:22:42 UTC) #11
mtklein
Just curious: what aspect of what we're doing here is crude? Seems solid to me. ...
4 years, 10 months ago (2016-02-08 17:31:26 UTC) #12
msarett
I've removed the comment about the "crude" conversion from the commit message. I'm not really ...
4 years, 10 months ago (2016-02-08 18:09:47 UTC) #14
mtklein
lgtm
4 years, 10 months ago (2016-02-08 20:45:41 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1676773003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1676773003/40001
4 years, 10 months ago (2016-02-08 20:49:34 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: Build-Win-MSVC-x86-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86-Debug-Trybot/builds/6004) Build-Win-MSVC-x86_64-Debug-Trybot on client.skia.compile (JOB_FAILED, ...
4 years, 10 months ago (2016-02-08 20:52:10 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1676773003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1676773003/60001
4 years, 10 months ago (2016-02-08 20:59:06 UTC) #22
commit-bot: I haz the power
4 years, 10 months ago (2016-02-08 21:26:27 UTC) #24
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://skia.googlesource.com/skia/+/c5c322d8ecfc05718f9f04360956c4f1f9dc33c1

Powered by Google App Engine
This is Rietveld 408576698