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

Issue 1427523007: Reduce messages from libjpeg-turbo (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

Reduce messages from libjpeg-turbo output_message(): By overriding output_message, we can use SkCodecPrintf, which we can turn on or off. The default turbo implementation of emit_message calls output_message when it wants to print a message, so, even though we don't override emit_message, it also uses SkCodecPrintf. emit_message(): Use libjpeg-turbo’s default implementation of emit_message. It does not print "trace messages" which essentially are info messages and it only prints the first warning (unless it a very serious warning). Currently, we just print everything, which is why the output has been so verbose. BUG=skia: Committed: https://skia.googlesource.com/skia/+/6dfe9ac3aad3ab8ec3a0f1684c94fef0c6ad9c3e

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -5 lines) Patch
M src/codec/SkJpegDecoderMgr.cpp View 2 chunks +1 line, -5 lines 2 comments Download

Depends on Patchset:

Messages

Total messages: 8 (4 generated)
msarett
https://codereview.chromium.org/1427523007/diff/1/src/codec/SkJpegDecoderMgr.cpp File src/codec/SkJpegDecoderMgr.cpp (left): https://codereview.chromium.org/1427523007/diff/1/src/codec/SkJpegDecoderMgr.cpp#oldcode23 src/codec/SkJpegDecoderMgr.cpp:23: static void emit_message(j_common_ptr info, int) { The default implementation ...
5 years, 1 month ago (2015-11-10 15:26:36 UTC) #3
scroggo
nit: the commits you posted in codereview could be useful in the commit message. lgtm
5 years, 1 month ago (2015-11-10 18:57:22 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1427523007/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1427523007/1
5 years, 1 month ago (2015-11-10 19:11:27 UTC) #7
commit-bot: I haz the power
5 years, 1 month ago (2015-11-10 19:22:15 UTC) #8
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://skia.googlesource.com/skia/+/6dfe9ac3aad3ab8ec3a0f1684c94fef0c6ad9c3e

Powered by Google App Engine
This is Rietveld 408576698