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

Issue 27230002: Runtime configuration setting for suppressing JPEG decoder errors. (Closed)

Created:
7 years, 2 months ago by hal.canary
Modified:
7 years, 2 months ago
Reviewers:
scroggo
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Runtime configuration setting for suppressing JPEG decoder errors. Add new runtime config variable, images.jpeg.suppressDecoderErrors which defaults to false in Debug and true otherwise. When Jpeg errors are suppressed and an error happens, SkJPEGImageDecoder::onDecode() will return silently false (Consequently, so will SkImageDecoder's DecodeFile() and DecodeMemory() functions). Also, the test_image_decoder program now respects runtime configuration settings. BUG=skia:1680 R=scroggo@google.com Committed: https://code.google.com/p/skia/source/detail?r=11763

Patch Set 1 #

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -6 lines) Patch
M src/images/SkImageDecoder_libjpeg.cpp View 4 chunks +23 lines, -6 lines 0 comments Download
M tools/test_image_decoder.cpp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
hal.canary
7 years, 2 months ago (2013-10-14 18:26:40 UTC) #1
scroggo
lgtm
7 years, 2 months ago (2013-10-14 18:49:00 UTC) #2
hal.canary
7 years, 2 months ago (2013-10-14 20:08:53 UTC) #3
Message was sent while issue was closed.
Committed patchset #2 manually as r11763 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698