Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(11321)

Issue 102130044: code review 102130044: image/png: interlacing support for png.

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 10 months ago by dustmop
Modified:
9 years, 9 months ago
Reviewers:
nigeltao, dsymonds
CC:
nigeltao, Andrew Bonventre, Dobrosław Żybort, golang-codereviews
Visibility:
Public.

Description

image/png: interlacing support for png. Fixes issue 6293. Image "testdata/benchRGB-interlace.png" was generated by opening "testdata/benchRGB.png" in the editor Gimp and saving it with interlacing enabled. Benchmark: BenchmarkDecodeRGB 500 7014194 ns/op 37.37 MB/s ok pkg/image/png 4.657s BenchmarkDecodeInterlacing 100 10623241 ns/op 24.68 MB/s ok pkg/image/png 1.339s

Patch Set 1 #

Patch Set 2 : diff -r a078b2056ebc https://code.google.com/p/go/ #

Total comments: 5

Patch Set 3 : diff -r c8e9255aed3f https://code.google.com/p/go/ #

Patch Set 4 : diff -r c8e9255aed3f https://code.google.com/p/go/ #

Total comments: 20

Patch Set 5 : diff -r 30307cc8bef2 https://code.google.com/p/go/ #

Total comments: 28

Patch Set 6 : diff -r ee11f19bc514 https://code.google.com/p/go/ #

Patch Set 7 : diff -r ee11f19bc514 https://code.google.com/p/go/ #

Patch Set 8 : diff -r 877f66c3a650 https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+239 lines, -49 lines) Patch
M src/pkg/image/png/reader.go View 1 2 3 4 5 6 13 chunks +170 lines, -49 lines 0 comments Download
M src/pkg/image/png/reader_test.go View 1 2 3 4 3 chunks +12 lines, -0 lines 0 comments Download
A src/pkg/image/png/testdata/benchRGB-interlace.png View 1 2 3 Binary file 0 comments Download
A src/pkg/image/png/testdata/pngsuite/basn3p04-31i.png View 1 Binary file 0 comments Download
A src/pkg/image/png/testdata/pngsuite/basn3p04-31i.sng View 1 1 chunk +57 lines, -0 lines 0 comments Download

Messages

Total messages: 16
dustmop
Hello golang-codereviews@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
9 years, 10 months ago (2014-06-03 18:29:46 UTC) #1
Andrew Bonventre
https://codereview.appspot.com/102130044/diff/20001/src/pkg/image/png/reader.go File src/pkg/image/png/reader.go (right): https://codereview.appspot.com/102130044/diff/20001/src/pkg/image/png/reader.go#newcode359 src/pkg/image/png/reader.go:359: // read a single image pass, sized according to ...
9 years, 10 months ago (2014-06-06 15:04:06 UTC) #2
dustmop
On 2014/06/06 15:04:06, Andrew Bonventre wrote: > https://codereview.appspot.com/102130044/diff/20001/src/pkg/image/png/reader.go > File src/pkg/image/png/reader.go (right): > > https://codereview.appspot.com/102130044/diff/20001/src/pkg/image/png/reader.go#newcode359 ...
9 years, 10 months ago (2014-06-06 19:14:58 UTC) #3
nigeltao
https://codereview.appspot.com/102130044/diff/60001/src/pkg/image/png/reader.go File src/pkg/image/png/reader.go (right): https://codereview.appspot.com/102130044/diff/60001/src/pkg/image/png/reader.go#newcode71 src/pkg/image/png/reader.go:71: // definition of Adam7 interlacing, with 7 passes of ...
9 years, 10 months ago (2014-06-10 03:34:47 UTC) #4
dustmop
https://codereview.appspot.com/102130044/diff/60001/src/pkg/image/png/reader.go File src/pkg/image/png/reader.go (right): https://codereview.appspot.com/102130044/diff/60001/src/pkg/image/png/reader.go#newcode71 src/pkg/image/png/reader.go:71: // definition of Adam7 interlacing, with 7 passes of ...
9 years, 10 months ago (2014-06-12 15:39:55 UTC) #5
nigeltao
Please run "hg sync" and then "hg upload 102130044". Also, please sign the Contributor License ...
9 years, 10 months ago (2014-06-23 03:52:47 UTC) #6
dustmop
Will look into the corporate contributor license agreement and get to you on that. https://codereview.appspot.com/102130044/diff/80001/src/pkg/image/png/reader.go ...
9 years, 10 months ago (2014-06-23 20:12:50 UTC) #7
nigeltao
The code LGTM but I can't submit until the contributor license agreement is done.
9 years, 10 months ago (2014-06-25 10:51:14 UTC) #8
dustmop
The contributor license agreement was signed and mailed out late last week (the 26th), not ...
9 years, 9 months ago (2014-07-02 15:53:33 UTC) #9
Dobrosław Żybort
Maybe mention in description that you are fixing https://code.google.com/p/go/issues/detail?id=6293 W dniu wtorek, 24 czerwca 2014 ...
9 years, 9 months ago (2014-07-06 17:51:59 UTC) #10
dustmop
On Sun, Jul 6, 2014 at 1:51 PM, Dobrosław Żybort <matrixik@gmail.com> wrote: > Maybe mention ...
9 years, 9 months ago (2014-07-07 20:47:13 UTC) #11
nigeltao
In the CL description, Fixes issue https://code.google.com/p/go/issues/detail?id=6293 should be just Fixes issue 6293. See https://code.google.com/p/support/wiki/IssueTracker#Integration_with_version_control ...
9 years, 9 months ago (2014-07-08 00:16:36 UTC) #12
dustmop
On Mon, Jul 7, 2014 at 8:16 PM, <nigeltao@golang.org> wrote: > In the CL description, ...
9 years, 9 months ago (2014-07-08 04:45:53 UTC) #13
nigeltao
$ hg clpatch 102130044 add : patch did not apply cleanly abort: hgapplydiff failed Can ...
9 years, 9 months ago (2014-07-10 08:11:35 UTC) #14
dustmop
Done On Thu, Jul 10, 2014 at 4:11 AM, <nigeltao@golang.org> wrote: > $ hg clpatch ...
9 years, 9 months ago (2014-07-10 20:30:32 UTC) #15
dsymonds
9 years, 9 months ago (2014-07-11 01:02:09 UTC) #16
*** Submitted as https://code.google.com/p/go/source/detail?r=c0a68bcf19ae ***

image/png: interlacing support for png.

Fixes issue 6293.

Image "testdata/benchRGB-interlace.png" was generated by opening
"testdata/benchRGB.png" in the editor Gimp and saving it with interlacing
enabled.

Benchmark:
BenchmarkDecodeRGB        	     500	   7014194 ns/op	  37.37 MB/s
ok  	pkg/image/png	4.657s

BenchmarkDecodeInterlacing	     100	  10623241 ns/op	  24.68 MB/s
ok  	pkg/image/png	1.339s

LGTM=nigeltao
R=nigeltao, andybons, matrixik
CC=golang-codereviews
https://codereview.appspot.com/102130044

Committer: David Symonds <dsymonds@golang.org>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b