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

Issue 1076923002: SkJpegCodec (Closed)

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

Description

SkJpegCodec Enables basic decoding for jpegs Includes rewinding 565, YUV, and Jpeg encoding are not yet implemented BUG=skia:3257 Committed: https://skia.googlesource.com/skia/+/e16b04aa6041efb6507546547737e9603fa1606e

Patch Set 1 : SkJpegCodec #

Total comments: 69

Patch Set 2 : JpegAutoClean is easier to use, Scaling is tested #

Total comments: 37

Patch Set 3 : Introduction of DecoderMgr #

Total comments: 16

Patch Set 4 : Fixes from last set #

Patch Set 5 : SwizzlerTest fix #

Total comments: 2

Patch Set 6 : Added comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+924 lines, -22 lines) Patch
M dm/DM.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M dm/DMSrcSink.cpp View 1 1 chunk +6 lines, -0 lines 0 comments Download
M gyp/codec.gyp View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M src/codec/SkCodec.cpp View 2 chunks +2 lines, -0 lines 0 comments Download
M src/codec/SkCodec_libbmp.cpp View 1 2 4 chunks +22 lines, -14 lines 0 comments Download
A src/codec/SkJpegCodec.h View 1 2 1 chunk +99 lines, -0 lines 0 comments Download
A src/codec/SkJpegCodec.cpp View 1 2 3 1 chunk +347 lines, -0 lines 0 comments Download
A src/codec/SkJpegDecoderMgr.h View 1 2 3 1 chunk +77 lines, -0 lines 0 comments Download
A src/codec/SkJpegDecoderMgr.cpp View 1 2 3 1 chunk +109 lines, -0 lines 0 comments Download
A src/codec/SkJpegUtility.h View 1 2 1 chunk +50 lines, -0 lines 0 comments Download
A src/codec/SkJpegUtility.cpp View 1 2 3 1 chunk +89 lines, -0 lines 0 comments Download
M src/codec/SkSwizzler.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M src/codec/SkSwizzler.cpp View 1 2 3 4 5 5 chunks +44 lines, -2 lines 0 comments Download
M tests/CodexTest.cpp View 1 2 chunks +50 lines, -0 lines 0 comments Download
M tests/SwizzlerTest.cpp View 1 2 3 4 4 chunks +21 lines, -4 lines 0 comments Download

Messages

Total messages: 22 (10 generated)
msarett
It's finally here!
5 years, 8 months ago (2015-04-09 21:58:27 UTC) #6
scroggo
https://codereview.chromium.org/1076923002/diff/80001/dm/DM.cpp File dm/DM.cpp (right): https://codereview.chromium.org/1076923002/diff/80001/dm/DM.cpp#newcode203 dm/DM.cpp:203: // With fall through we test jpg decodes to ...
5 years, 8 months ago (2015-04-10 17:19:07 UTC) #7
msarett
https://codereview.chromium.org/1076923002/diff/80001/dm/DM.cpp File dm/DM.cpp (right): https://codereview.chromium.org/1076923002/diff/80001/dm/DM.cpp#newcode203 dm/DM.cpp:203: // With fall through we test jpg decodes to ...
5 years, 8 months ago (2015-04-13 20:54:06 UTC) #11
scroggo
https://codereview.chromium.org/1076923002/diff/80001/src/codec/SkJpegCodec.cpp File src/codec/SkJpegCodec.cpp (right): https://codereview.chromium.org/1076923002/diff/80001/src/codec/SkJpegCodec.cpp#newcode32 src/codec/SkJpegCodec.cpp:32: * Dummy error reporting functions for when the client ...
5 years, 8 months ago (2015-04-14 13:10:33 UTC) #12
msarett
I'll be interested in what you think about the division of responsibility between JpegDecoderMgr and ...
5 years, 8 months ago (2015-04-14 19:30:37 UTC) #13
scroggo
On 2015/04/14 19:30:37, msarett wrote: > I'll be interested in what you think about the ...
5 years, 8 months ago (2015-04-15 00:31:06 UTC) #14
msarett
https://codereview.chromium.org/1076923002/diff/160001/src/codec/SkJpegCodec.cpp File src/codec/SkJpegCodec.cpp (right): https://codereview.chromium.org/1076923002/diff/160001/src/codec/SkJpegCodec.cpp#newcode278 src/codec/SkJpegCodec.cpp:278: SkISize SkJpegCodec::onGetScaledDimensions(float desiredScale) const { On 2015/04/15 00:31:05, scroggo ...
5 years, 8 months ago (2015-04-15 12:43:12 UTC) #15
msarett
Forgot to update the SwizzlerTest for the new kGray fill. This update fixes the test ...
5 years, 8 months ago (2015-04-15 12:50:14 UTC) #16
scroggo
lgtm https://codereview.chromium.org/1076923002/diff/220001/src/codec/SkSwizzler.cpp File src/codec/SkSwizzler.cpp (right): https://codereview.chromium.org/1076923002/diff/220001/src/codec/SkSwizzler.cpp#newcode502 src/codec/SkSwizzler.cpp:502: memset(dstStartRow, (uint8_t) colorOrIndex, bytesToFill); Interestingly, we assert for ...
5 years, 8 months ago (2015-04-15 14:00:18 UTC) #17
msarett
https://codereview.chromium.org/1076923002/diff/220001/src/codec/SkSwizzler.cpp File src/codec/SkSwizzler.cpp (right): https://codereview.chromium.org/1076923002/diff/220001/src/codec/SkSwizzler.cpp#newcode502 src/codec/SkSwizzler.cpp:502: memset(dstStartRow, (uint8_t) colorOrIndex, bytesToFill); On 2015/04/15 14:00:18, scroggo wrote: ...
5 years, 8 months ago (2015-04-15 14:20:16 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1076923002/240001
5 years, 8 months ago (2015-04-15 14:20:39 UTC) #21
commit-bot: I haz the power
5 years, 8 months ago (2015-04-15 14:32:26 UTC) #22
Message was sent while issue was closed.
Committed patchset #6 (id:240001) as
https://skia.googlesource.com/skia/+/e16b04aa6041efb6507546547737e9603fa1606e

Powered by Google App Engine
This is Rietveld 408576698