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

Issue 6326057: code review 6326057: image/jpeg: support for reading 4:4:0 subsampling.

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 10 months ago by mpl
Modified:
11 years, 10 months ago
Reviewers:
nigeltao
CC:
nigeltao, golang-dev
Visibility:
Public.

Description

image/jpeg: support for reading 4:4:0 subsampling. Updates issue 2362.

Patch Set 1 #

Patch Set 2 : diff -r 7abccc974354 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 7abccc974354 https://go.googlecode.com/hg/ #

Total comments: 4

Patch Set 4 : diff -r d8bd45866999 https://go.googlecode.com/hg/ #

Total comments: 5

Patch Set 5 : diff -r d8bd45866999 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -10 lines) Patch
M src/pkg/image/jpeg/reader.go View 1 2 3 4 4 chunks +17 lines, -10 lines 0 comments Download
M src/pkg/image/ycbcr.go View 1 5 chunks +9 lines, -0 lines 0 comments Download
M src/pkg/image/ycbcr_test.go View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 10
mpl
Hello golang-dev@googlegroups.com (cc: nigeltao@golang.org), I'd like you to review this change to https://go.googlecode.com/hg/
11 years, 10 months ago (2012-06-26 17:34:39 UTC) #1
nigeltao
Out of curiousity, where do 440 images usually come from? Most JPEGs I've seen are ...
11 years, 10 months ago (2012-06-26 18:48:31 UTC) #2
mpl
The one I attached to http://code.google.com/p/go/issues/detail?id=2362 came from a friend's camera (which is not really ...
11 years, 10 months ago (2012-06-26 19:28:11 UTC) #3
mpl
Hello golang-dev@googlegroups.com, nigeltao@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 10 months ago (2012-06-26 21:44:27 UTC) #4
mpl
http://codereview.appspot.com/6326057/diff/5001/src/pkg/image/jpeg/reader.go File src/pkg/image/jpeg/reader.go (right): http://codereview.appspot.com/6326057/diff/5001/src/pkg/image/jpeg/reader.go#newcode157 src/pkg/image/jpeg/reader.go:157: // For color images, we only support 4:4:4, 4:2:2 ...
11 years, 10 months ago (2012-06-26 21:47:12 UTC) #5
nigeltao
The change description should start with "image/jpeg", not "jpeg". Also, add a line that says ...
11 years, 10 months ago (2012-06-27 00:56:15 UTC) #6
mpl
Hello nigeltao@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 10 months ago (2012-06-27 09:01:49 UTC) #7
mpl
http://codereview.appspot.com/6326057/diff/8001/src/pkg/image/jpeg/reader.go File src/pkg/image/jpeg/reader.go (right): http://codereview.appspot.com/6326057/diff/8001/src/pkg/image/jpeg/reader.go#newcode318 src/pkg/image/jpeg/reader.go:318: mx0 := h0*mx + (j % 2) On 2012/06/27 ...
11 years, 10 months ago (2012-06-27 09:08:18 UTC) #8
nigeltao
LGTM. http://codereview.appspot.com/6326057/diff/8001/src/pkg/image/ycbcr_test.go File src/pkg/image/ycbcr_test.go (right): http://codereview.appspot.com/6326057/diff/8001/src/pkg/image/ycbcr_test.go#newcode37 src/pkg/image/ycbcr_test.go:37: YCbCrSubsampleRatio440, On 2012/06/27 09:08:18, mpl wrote: > On ...
11 years, 10 months ago (2012-06-27 21:33:01 UTC) #9
nigeltao
11 years, 10 months ago (2012-06-27 21:37:20 UTC) #10
*** Submitted as http://code.google.com/p/go/source/detail?r=d489d533a652 ***

image/jpeg: support for reading 4:4:0 subsampling.
Updates issue 2362.

R=nigeltao
CC=golang-dev
http://codereview.appspot.com/6326057

Committer: Nigel Tao <nigeltao@golang.org>
Sign in to reply to this message.

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