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

Issue 6497083: code review 6497083: image/jpeg: fix quantization tables to be in zig-zag or... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 7 months ago by nigeltao
Modified:
11 years, 7 months ago
Reviewers:
CC:
r, dsymonds, raph, adg, golang-dev, tuom.larsen_gmail.com
Visibility:
Public.

Description

image/jpeg: fix quantization tables to be in zig-zag order, not natural order. JPEG images generated prior to this CL are still valid JPEGs, as the quantization tables used are encoded in the wire format. Such JPEGs just don't use the recommended quantization tables.

Patch Set 1 #

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

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

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

Total comments: 1

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -26 lines) Patch
M src/pkg/image/jpeg/reader.go View 1 2 3 4 5 chunks +10 lines, -7 lines 0 comments Download
M src/pkg/image/jpeg/writer.go View 1 2 3 4 7 chunks +23 lines, -19 lines 0 comments Download
M src/pkg/image/jpeg/writer_test.go View 1 2 3 4 2 chunks +82 lines, -0 lines 0 comments Download

Messages

Total messages: 9
nigeltao
Hello r@golang.org (cc: golang-dev@googlegroups.com, raph@google.com, tuom.larsen@gmail.com), I'd like you to review this change to https://code.google.com/p/go
11 years, 7 months ago (2012-09-05 04:09:19 UTC) #1
nigeltao
Attached is the before/after JPEG encoding of $GOROOT/src/pkg/image/testdata/video-001.png at quality 5 out of 100 (i.e. ...
11 years, 7 months ago (2012-09-05 04:15:22 UTC) #2
dsymonds
On Wed, Sep 5, 2012 at 2:15 PM, Nigel Tao <nigeltao@golang.org> wrote: > Before (left) ...
11 years, 7 months ago (2012-09-05 04:19:16 UTC) #3
nigeltao
On 5 September 2012 14:19, David Symonds <dsymonds@golang.org> wrote: > I dunno. Russ looks a ...
11 years, 7 months ago (2012-09-05 04:36:38 UTC) #4
raph
On 2012/09/05 04:36:38, nigeltao wrote: > On 5 September 2012 14:19, David Symonds <mailto:dsymonds@golang.org> wrote: ...
11 years, 7 months ago (2012-09-05 05:03:06 UTC) #5
dsymonds
On Wed, Sep 5, 2012 at 3:03 PM, <raph@google.com> wrote: > Also, I noticed some ...
11 years, 7 months ago (2012-09-05 05:06:14 UTC) #6
adg
On 5 September 2012 14:36, Nigel Tao <nigeltao@golang.org> wrote: > On 5 September 2012 14:19, ...
11 years, 7 months ago (2012-09-05 05:13:06 UTC) #7
r
LGTM but there are a couple of cases where i'd rename k. http://codereview.appspot.com/6497083/diff/9002/src/pkg/image/jpeg/reader.go File src/pkg/image/jpeg/reader.go ...
11 years, 7 months ago (2012-09-05 12:13:20 UTC) #8
nigeltao
11 years, 7 months ago (2012-09-06 01:10:59 UTC) #9
*** Submitted as http://code.google.com/p/go/source/detail?r=292816148e44 ***

image/jpeg: fix quantization tables to be in zig-zag order, not natural
order.

JPEG images generated prior to this CL are still valid JPEGs, as the
quantization tables used are encoded in the wire format. Such JPEGs just
don't use the recommended quantization tables.

R=r, dsymonds, raph, adg
CC=golang-dev, tuom.larsen
http://codereview.appspot.com/6497083
Sign in to reply to this message.

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