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

Issue 2184543003: Perform color correction on png decodes (Closed)

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

Description

Perform color correction on png decodes BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2184543003 CQ_INCLUDE_TRYBOTS=master.client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot Committed: https://skia.googlesource.com/skia/+/d1ec89b1aca8f37a460a425259a23275f4d9a81d

Patch Set 1 #

Total comments: 5

Patch Set 2 : It's RGBA now #

Patch Set 3 : Rebase #

Patch Set 4 : Alignment fix #

Patch Set 5 : Rebase on Sk4u #

Total comments: 17

Patch Set 6 : Remove unneeded SkColorSpaceXform APIs #

Patch Set 7 : 100 chars #

Patch Set 8 : Change API comments #

Patch Set 9 : Rebase #

Patch Set 10 : Rebase on Equals #

Patch Set 11 : Rebase onto color xform refactor #

Total comments: 8

Patch Set 12 : Response to comments #

Total comments: 1

Patch Set 13 : Fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+400 lines, -400 lines) Patch
M bench/ColorCodecBench.cpp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -4 lines 0 comments Download
M dm/DMSrcSink.cpp View 1 2 3 4 5 6 7 3 chunks +17 lines, -2 lines 0 comments Download
M src/codec/SkCodecPriv.h View 1 2 3 4 5 6 7 8 9 20 chunks +29 lines, -29 lines 0 comments Download
M src/codec/SkJpegCodec.cpp View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +3 lines, -23 lines 0 comments Download
M src/codec/SkPngCodec.h View 1 2 3 4 5 2 chunks +21 lines, -15 lines 0 comments Download
M src/codec/SkPngCodec.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 9 chunks +192 lines, -188 lines 0 comments Download
M src/core/SkColorSpaceXform.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +8 lines, -13 lines 0 comments Download
M src/core/SkColorSpaceXform.cpp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +63 lines, -88 lines 0 comments Download
M src/core/SkColorSpaceXformOpts.h View 1 2 3 4 5 6 7 8 9 10 11 12 chunks +64 lines, -37 lines 0 comments Download
M tests/ColorSpaceXformTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 42 (30 generated)
msarett
Really happy with how this turned out. I think it's a good refactor for SkPngCodec.
4 years, 4 months ago (2016-07-28 19:22:50 UTC) #15
mtklein
https://codereview.chromium.org/2184543003/diff/180001/src/opts/SkOpts_sse41.cpp File src/opts/SkOpts_sse41.cpp (right): https://codereview.chromium.org/2184543003/diff/180001/src/opts/SkOpts_sse41.cpp#newcode24 src/opts/SkOpts_sse41.cpp:24: color_xform_RGB1_to_2dot2 = sse41::color_xform_RGB1_to_2dot2; So, all 14 of these routines ...
4 years, 4 months ago (2016-07-28 19:35:12 UTC) #16
msarett
https://codereview.chromium.org/2184543003/diff/180001/src/opts/SkOpts_sse41.cpp File src/opts/SkOpts_sse41.cpp (right): https://codereview.chromium.org/2184543003/diff/180001/src/opts/SkOpts_sse41.cpp#newcode24 src/opts/SkOpts_sse41.cpp:24: color_xform_RGB1_to_2dot2 = sse41::color_xform_RGB1_to_2dot2; On 2016/07/28 19:35:12, mtklein wrote: > ...
4 years, 4 months ago (2016-07-28 20:39:05 UTC) #18
msarett
Rebase on Sk4u. https://codereview.chromium.org/2184543003/diff/180001/src/opts/SkOpts_sse41.cpp File src/opts/SkOpts_sse41.cpp (right): https://codereview.chromium.org/2184543003/diff/180001/src/opts/SkOpts_sse41.cpp#newcode24 src/opts/SkOpts_sse41.cpp:24: color_xform_RGB1_to_2dot2 = sse41::color_xform_RGB1_to_2dot2; On 2016/07/28 20:39:04, ...
4 years, 4 months ago (2016-07-29 18:23:01 UTC) #20
mtklein
https://codereview.chromium.org/2184543003/diff/180001/src/opts/SkOpts_sse41.cpp File src/opts/SkOpts_sse41.cpp (right): https://codereview.chromium.org/2184543003/diff/180001/src/opts/SkOpts_sse41.cpp#newcode24 src/opts/SkOpts_sse41.cpp:24: color_xform_RGB1_to_2dot2 = sse41::color_xform_RGB1_to_2dot2; On 2016/07/29 18:23:01, msarett wrote: > ...
4 years, 4 months ago (2016-07-29 18:48:57 UTC) #21
msarett
https://codereview.chromium.org/2184543003/diff/180001/src/opts/SkOpts_sse41.cpp File src/opts/SkOpts_sse41.cpp (right): https://codereview.chromium.org/2184543003/diff/180001/src/opts/SkOpts_sse41.cpp#newcode24 src/opts/SkOpts_sse41.cpp:24: color_xform_RGB1_to_2dot2 = sse41::color_xform_RGB1_to_2dot2; On 2016/07/29 18:48:56, mtklein wrote: > ...
4 years, 4 months ago (2016-07-29 20:07:51 UTC) #23
msarett
I've rebased this on the changes to SkColorXformOpts. https://codereview.chromium.org/2184543003/diff/460001/src/core/SkColorSpaceXformOpts.h File src/core/SkColorSpaceXformOpts.h (right): https://codereview.chromium.org/2184543003/diff/460001/src/core/SkColorSpaceXformOpts.h#newcode133 src/core/SkColorSpaceXformOpts.h:133: Sk4i ...
4 years, 4 months ago (2016-08-02 18:18:08 UTC) #26
mtklein
https://codereview.chromium.org/2184543003/diff/460001/src/core/SkColorSpaceXform.cpp File src/core/SkColorSpaceXform.cpp (right): https://codereview.chromium.org/2184543003/diff/460001/src/core/SkColorSpaceXform.cpp#newcode656 src/core/SkColorSpaceXform.cpp:656: return color_xform_RGBA<kDst, true, false> May want to make these ...
4 years, 4 months ago (2016-08-03 14:25:50 UTC) #27
msarett
https://codereview.chromium.org/2184543003/diff/460001/src/core/SkColorSpaceXform.cpp File src/core/SkColorSpaceXform.cpp (right): https://codereview.chromium.org/2184543003/diff/460001/src/core/SkColorSpaceXform.cpp#newcode656 src/core/SkColorSpaceXform.cpp:656: return color_xform_RGBA<kDst, true, false> On 2016/08/03 14:25:50, mtklein wrote: ...
4 years, 4 months ago (2016-08-03 16:48:50 UTC) #28
mtklein
lgtm
4 years, 4 months ago (2016-08-03 17:54:47 UTC) #29
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/2184543003/500001
4 years, 4 months ago (2016-08-03 19:58:15 UTC) #40
commit-bot: I haz the power
4 years, 4 months ago (2016-08-03 19:59:31 UTC) #42
Message was sent while issue was closed.
Committed patchset #13 (id:500001) as
https://skia.googlesource.com/skia/+/d1ec89b1aca8f37a460a425259a23275f4d9a81d

Powered by Google App Engine
This is Rietveld 408576698