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

Issue 1412803009: Change quality settings on SkImageDecoder_libjpeg (Closed)

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

Description

Change quality settings on SkImageDecoder_libjpeg It has been demonstrated that higher quality settings really do make a difference in the visual quality of the output image. https://code.google.com/p/chromium/issues/detail?id=385515 https://code.google.com/p/skia/issues/detail?id=3770 We are planning to replace SkImageDecoder with SkCodec, and SkCodec will use the higher quality settings. As a first step, we are using SkCodec as the underlying implementation for BitmapRegionDecoder. CTS tests require that BitmapRegionDecoder be a close match to BitmapFactory (which uses SkImageDecoder), so we must also update the quality of SkImageDecoder to maintain CTS compatibility. BUG=skia: Committed: https://skia.googlesource.com/skia/+/69ad6a9d03dd6f14b7c730465319313725a7c903 Committed: https://skia.googlesource.com/skia/+/b5213e69c599c4ca492bd43fd235d698891ce34c

Patch Set 1 : #

Total comments: 1

Patch Set 2 : Adding suppressions (and rebase) #

Total comments: 2

Patch Set 3 : Merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -28 lines) Patch
M src/images/SkImageDecoder_libjpeg.cpp View 1 2 3 chunks +0 lines, -28 lines 0 comments Download
M tools/valgrind.supp View 1 1 chunk +73 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 30 (12 generated)
msarett
https://codereview.chromium.org/1412803009/diff/40001/src/images/SkImageDecoder_libjpeg.cpp File src/images/SkImageDecoder_libjpeg.cpp (left): https://codereview.chromium.org/1412803009/diff/40001/src/images/SkImageDecoder_libjpeg.cpp#oldcode398 src/images/SkImageDecoder_libjpeg.cpp:398: cinfo->do_block_smoothing = 0; This setting is ignored by libjpeg/libjpeg-turbo ...
5 years, 1 month ago (2015-11-06 00:28:02 UTC) #7
scroggo
lgtm
5 years, 1 month ago (2015-11-06 18:49:35 UTC) #8
msarett
This will need to land before: https://googleplex-android-review.git.corp.google.com/#/c/803942/ So that we are able to pass the ...
5 years, 1 month ago (2015-11-06 18:50:01 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1412803009/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1412803009/40001
5 years, 1 month ago (2015-11-06 18:50:24 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:40001) as https://skia.googlesource.com/skia/+/69ad6a9d03dd6f14b7c730465319313725a7c903
5 years, 1 month ago (2015-11-06 19:02:09 UTC) #12
fmalita_google_do_not_use
A revert of this CL (patchset #1 id:40001) has been created in https://codereview.chromium.org/1432863002/ by fmalita@google.com. ...
5 years, 1 month ago (2015-11-09 00:29:49 UTC) #13
mtklein
On 2015/11/09 at 00:29:49, fmalita wrote: > A revert of this CL (patchset #1 id:40001) ...
5 years, 1 month ago (2015-11-09 15:04:15 UTC) #14
msarett
I've been able to reproduce the error and verify that reverting this CL fixes the ...
5 years, 1 month ago (2015-11-09 15:24:06 UTC) #15
msarett
After pulling the jpegs from the skp, it looks like SkJpegCodec and SkImageDecoder_libjpeg both have ...
5 years, 1 month ago (2015-11-09 16:53:20 UTC) #16
msarett
Observations: (1) This only occurs when doing fancy upsampling. (2) This does not occur when ...
5 years, 1 month ago (2015-11-09 23:43:13 UTC) #17
scroggo
On 2015/11/09 23:43:13, msarett wrote: > Observations: > > (1) This only occurs when doing ...
5 years, 1 month ago (2015-11-09 23:57:02 UTC) #18
msarett
PTAL Added suppressions.
5 years, 1 month ago (2015-11-10 14:44:43 UTC) #20
scroggo
lgtm https://codereview.chromium.org/1412803009/diff/60001/tools/valgrind.supp File tools/valgrind.supp (right): https://codereview.chromium.org/1412803009/diff/60001/tools/valgrind.supp#newcode257 tools/valgrind.supp:257: libjpeg_turbo_bug4550_2 Does valgrind need us to include every ...
5 years, 1 month ago (2015-11-10 21:24:40 UTC) #21
msarett
https://codereview.chromium.org/1412803009/diff/60001/tools/valgrind.supp File tools/valgrind.supp (right): https://codereview.chromium.org/1412803009/diff/60001/tools/valgrind.supp#newcode257 tools/valgrind.supp:257: libjpeg_turbo_bug4550_2 On 2015/11/10 21:24:40, scroggo wrote: > Does valgrind ...
5 years, 1 month ago (2015-11-10 21:34:14 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1412803009/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1412803009/60001
5 years, 1 month ago (2015-11-11 14:08:03 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/builds/4089) Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot on client.skia (JOB_FAILED, ...
5 years, 1 month ago (2015-11-11 14:08:54 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1412803009/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1412803009/80001
5 years, 1 month ago (2015-11-11 14:29:46 UTC) #29
commit-bot: I haz the power
5 years, 1 month ago (2015-11-11 14:41:04 UTC) #30
Message was sent while issue was closed.
Committed patchset #3 (id:80001) as
https://skia.googlesource.com/skia/+/b5213e69c599c4ca492bd43fd235d698891ce34c

Powered by Google App Engine
This is Rietveld 408576698