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

Issue 1092303003: Scanline decoding for jpeg (Closed)

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

Description

Implementing a scanline decoder for jpeg BUG=skia:3257 Committed: https://skia.googlesource.com/skia/+/97fdea6c4393cf0102d7eee5790782509fb4f57b

Patch Set 1 : #

Total comments: 21

Patch Set 2 : Initial round of improvements #

Patch Set 3 : Switch statement to handle rewind cases #

Total comments: 2

Patch Set 4 : Return a reference to ImageInfo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+228 lines, -45 lines) Patch
M include/codec/SkScanlineDecoder.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M src/codec/SkJpegCodec.h View 1 2 chunks +24 lines, -0 lines 0 comments Download
M src/codec/SkJpegCodec.cpp View 1 2 7 chunks +197 lines, -40 lines 0 comments Download
M tests/CodexTest.cpp View 1 2 3 1 chunk +5 lines, -5 lines 0 comments Download

Messages

Total messages: 20 (7 generated)
msarett
https://codereview.chromium.org/1092303003/diff/40001/src/codec/SkJpegCodec.cpp File src/codec/SkJpegCodec.cpp (right): https://codereview.chromium.org/1092303003/diff/40001/src/codec/SkJpegCodec.cpp#newcode407 src/codec/SkJpegCodec.cpp:407: uint32_t rowsDecoded = jpeg_read_scanlines(fCodec->fDecoderMgr->dinfo(), &fSrcRow, 1); Here we intentionally ...
5 years, 8 months ago (2015-04-22 19:52:21 UTC) #4
msarett
Don't rush to review this, I'm about to start working on a different version. We ...
5 years, 8 months ago (2015-04-23 17:08:09 UTC) #6
scroggo
https://codereview.chromium.org/1092303003/diff/40001/include/codec/SkScanlineDecoder.h File include/codec/SkScanlineDecoder.h (right): https://codereview.chromium.org/1092303003/diff/40001/include/codec/SkScanlineDecoder.h#newcode80 include/codec/SkScanlineDecoder.h:80: const SkImageInfo dstInfo() { return fDstInfo; } This method ...
5 years, 8 months ago (2015-04-24 13:14:28 UTC) #7
msarett
I didn't address address any performance tuning or benchmarking with this next iteration (as I ...
5 years, 8 months ago (2015-04-24 15:08:44 UTC) #8
scroggo
lgtm https://codereview.chromium.org/1092303003/diff/40001/src/codec/SkJpegCodec.cpp File src/codec/SkJpegCodec.cpp (right): https://codereview.chromium.org/1092303003/diff/40001/src/codec/SkJpegCodec.cpp#newcode247 src/codec/SkJpegCodec.cpp:247: return true; On 2015/04/24 15:08:44, msarett wrote: > ...
5 years, 8 months ago (2015-04-24 15:23:13 UTC) #9
msarett
Think we just need Mike to take a look at the API. https://codereview.chromium.org/1092303003/diff/40001/src/codec/SkJpegCodec.cpp File src/codec/SkJpegCodec.cpp ...
5 years, 8 months ago (2015-04-24 15:40:13 UTC) #10
msarett
Interesting note: No matter how many lines you ask for in the call to jpeg_read_scanlines(), ...
5 years, 8 months ago (2015-04-24 20:06:54 UTC) #11
msarett
5 years, 7 months ago (2015-04-28 13:35:49 UTC) #13
djsollen
https://codereview.chromium.org/1092303003/diff/80001/include/codec/SkScanlineDecoder.h File include/codec/SkScanlineDecoder.h (right): https://codereview.chromium.org/1092303003/diff/80001/include/codec/SkScanlineDecoder.h#newcode80 include/codec/SkScanlineDecoder.h:80: const SkImageInfo dstInfo() const { return fDstInfo; } shouldn't ...
5 years, 7 months ago (2015-04-29 13:59:45 UTC) #14
msarett
https://codereview.chromium.org/1092303003/diff/80001/include/codec/SkScanlineDecoder.h File include/codec/SkScanlineDecoder.h (right): https://codereview.chromium.org/1092303003/diff/80001/include/codec/SkScanlineDecoder.h#newcode80 include/codec/SkScanlineDecoder.h:80: const SkImageInfo dstInfo() const { return fDstInfo; } On ...
5 years, 7 months ago (2015-04-29 14:42:55 UTC) #15
djsollen
lgtm
5 years, 7 months ago (2015-04-29 15:09:19 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1092303003/100001
5 years, 7 months ago (2015-04-29 15:14:18 UTC) #19
commit-bot: I haz the power
5 years, 7 months ago (2015-04-29 15:17:18 UTC) #20
Message was sent while issue was closed.
Committed patchset #4 (id:100001) as
https://skia.googlesource.com/skia/+/97fdea6c4393cf0102d7eee5790782509fb4f57b

Powered by Google App Engine
This is Rietveld 408576698