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

Issue 2174493002: Add color space xform support to SkJpegCodec (includes F16!) (Closed)

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

Description

Add color space xform support to SkJpegCodec (includes F16!) Also changes SkColorXform to support: RGBA->RGBA RGBA->BGRA Instead of: RGBA->SkPMColor TBR=reed@google.com BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2174493002 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/+/73d55332e2846dd05e9efdaa2f017bcc3872884b Committed: https://skia.googlesource.com/skia/+/50ce1f28ffede3fa3e38d330d4114ee52b387848

Patch Set 1 #

Total comments: 5

Patch Set 2 : Rebase #

Total comments: 18

Patch Set 3 : Response to comments #

Patch Set 4 : Move setjmp call to appropriate function #

Patch Set 5 : Fix return value bug in readRows() #

Total comments: 4

Patch Set 6 : Rebase #

Patch Set 7 : Fixes #

Patch Set 8 : Run CodecBench in legacy mode #

Patch Set 9 : Rebase #

Total comments: 2

Patch Set 10 : Rebase #

Patch Set 11 : Fix MSAN suppression #

Unified diffs Side-by-side diffs Delta from patch set Stats (+415 lines, -265 lines) Patch
M bench/CodecBench.cpp View 1 2 3 4 5 6 7 1 chunk +3 lines, -1 line 0 comments Download
M bench/ColorCodecBench.cpp View 1 2 3 4 5 6 7 8 9 10 4 chunks +25 lines, -41 lines 0 comments Download
M dm/DM.cpp View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M dm/DMSrcSink.cpp View 2 chunks +31 lines, -62 lines 0 comments Download
M include/codec/SkCodec.h View 1 chunk +6 lines, -0 lines 0 comments Download
M src/codec/SkJpegCodec.h View 1 2 2 chunks +25 lines, -12 lines 0 comments Download
M src/codec/SkJpegCodec.cpp View 1 2 3 4 5 6 7 8 9 10 15 chunks +179 lines, -90 lines 0 comments Download
M src/core/SkColorSpaceXform.h View 1 2 3 4 5 6 3 chunks +5 lines, -2 lines 0 comments Download
M src/core/SkColorSpaceXform.cpp View 1 2 3 4 5 6 4 chunks +40 lines, -3 lines 0 comments Download
M src/core/SkOpts.h View 1 chunk +10 lines, -1 line 0 comments Download
M src/core/SkOpts.cpp View 1 chunk +3 lines, -0 lines 0 comments Download
M src/opts/SkColorXform_opts.h View 1 2 3 4 5 6 chunks +64 lines, -31 lines 0 comments Download
M src/opts/SkOpts_sse41.cpp View 1 chunk +7 lines, -4 lines 0 comments Download
M tests/ColorSpaceXformTest.cpp View 1 chunk +5 lines, -5 lines 0 comments Download
M tools/viewer/ImageSlide.cpp View 1 chunk +10 lines, -12 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 46 (30 generated)
msarett
https://codereview.chromium.org/2174493002/diff/60001/bench/ColorCodecBench.cpp File bench/ColorCodecBench.cpp (left): https://codereview.chromium.org/2174493002/diff/60001/bench/ColorCodecBench.cpp#oldcode160 bench/ColorCodecBench.cpp:160: fSrcInfo = codec->getInfo().makeColorType(kRGBA_8888_SkColorType); This just moved with some minor ...
4 years, 5 months ago (2016-07-22 15:39:46 UTC) #8
msarett
Rebasing this on other CLs that I think ought to land first. I actually think ...
4 years, 5 months ago (2016-07-25 21:04:12 UTC) #9
mtklein
https://codereview.chromium.org/2174493002/diff/80001/src/codec/SkJpegCodec.cpp File src/codec/SkJpegCodec.cpp (right): https://codereview.chromium.org/2174493002/diff/80001/src/codec/SkJpegCodec.cpp#newcode387 src/codec/SkJpegCodec.cpp:387: fDecoderMgr->dinfo()->out_color_space = JCS_EXT_RGBA; // Our color transformation code requires ...
4 years, 4 months ago (2016-07-27 13:51:06 UTC) #10
msarett
On the RasterPipeline conversation: I've been thinking more deeply about this, particularly now that I've ...
4 years, 4 months ago (2016-07-27 15:13:50 UTC) #12
msarett
Moving setjmp call to the appropriate function.
4 years, 4 months ago (2016-07-27 21:41:09 UTC) #13
msarett
Fixed return value bug in readRows().
4 years, 4 months ago (2016-07-28 16:27:53 UTC) #14
mtklein
https://codereview.chromium.org/2174493002/diff/160001/src/codec/SkJpegCodec.h File src/codec/SkJpegCodec.h (right): https://codereview.chromium.org/2174493002/diff/160001/src/codec/SkJpegCodec.h#newcode132 src/codec/SkJpegCodec.h:132: uint32_t* fColorXformSrcRow; Do we make sure the uint32_t* is ...
4 years, 4 months ago (2016-07-28 19:45:26 UTC) #15
msarett
https://codereview.chromium.org/2174493002/diff/160001/src/codec/SkJpegCodec.h File src/codec/SkJpegCodec.h (right): https://codereview.chromium.org/2174493002/diff/160001/src/codec/SkJpegCodec.h#newcode132 src/codec/SkJpegCodec.h:132: uint32_t* fColorXformSrcRow; On 2016/07/28 19:45:26, mtklein wrote: > Do ...
4 years, 4 months ago (2016-07-28 20:09:46 UTC) #17
mtklein
lgtm
4 years, 4 months ago (2016-07-28 20:10:34 UTC) #18
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/2174493002/260001
4 years, 4 months ago (2016-07-28 22:05:21 UTC) #34
commit-bot: I haz the power
Committed patchset #9 (id:260001) as https://skia.googlesource.com/skia/+/73d55332e2846dd05e9efdaa2f017bcc3872884b
4 years, 4 months ago (2016-07-28 22:06:20 UTC) #36
msarett
A revert of this CL (patchset #9 id:260001) has been created in https://codereview.chromium.org/2195523002/ by msarett@google.com. ...
4 years, 4 months ago (2016-07-29 00:11:04 UTC) #37
mtklein
https://codereview.chromium.org/2174493002/diff/260001/bench/ColorCodecBench.cpp File bench/ColorCodecBench.cpp (right): https://codereview.chromium.org/2174493002/diff/260001/bench/ColorCodecBench.cpp#newcode176 bench/ColorCodecBench.cpp:176: } else if (FLAGS_qcms) { This is used without ...
4 years, 4 months ago (2016-07-29 01:26:12 UTC) #38
msarett
https://codereview.chromium.org/2174493002/diff/260001/bench/ColorCodecBench.cpp File bench/ColorCodecBench.cpp (right): https://codereview.chromium.org/2174493002/diff/260001/bench/ColorCodecBench.cpp#newcode176 bench/ColorCodecBench.cpp:176: } else if (FLAGS_qcms) { On 2016/07/29 01:26:12, mtklein ...
4 years, 4 months ago (2016-07-29 12:38:48 UTC) #41
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/2174493002/300001
4 years, 4 months ago (2016-07-29 12:39:12 UTC) #44
commit-bot: I haz the power
4 years, 4 months ago (2016-07-29 13:23:36 UTC) #46
Message was sent while issue was closed.
Committed patchset #11 (id:300001) as
https://skia.googlesource.com/skia/+/50ce1f28ffede3fa3e38d330d4114ee52b387848

Powered by Google App Engine
This is Rietveld 408576698