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

Issue 13453043: code review 13453043: go.image/tiff: decoder support tiled tiff format (Closed)

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

Description

go.image/tiff: decoder support tiled tiff format Use these commands to generate testdata: tiffcp -s -r 64 video-001.tiff video-001-strip-64.tiff tiffcp -t -l 64 -w 64 video-001.tiff video-001-tile-64x64.tiff

Patch Set 1 #

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

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

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

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

Total comments: 18

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

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

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

Total comments: 8

Patch Set 9 : diff -r bbc7adb6f09d https://code.google.com/p/go.image #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+150 lines, -92 lines) Patch
A testdata/video-001-strip-64.tiff View 1 6 Binary file 0 comments Download
A testdata/video-001-tile-64x64.tiff View 1 6 Binary file 0 comments Download
M tiff/consts.go View 1 6 1 chunk +5 lines, -0 lines 0 comments Download
M tiff/reader.go View 1 2 3 4 5 6 7 8 7 chunks +120 lines, -65 lines 2 comments Download
M tiff/reader_test.go View 1 2 3 4 5 6 7 8 3 chunks +25 lines, -27 lines 1 comment Download

Messages

Total messages: 9
chai2010
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go.image
10 years, 8 months ago (2013-08-31 13:48:47 UTC) #1
nigeltao
Benny Siegert should also review this code, as he's written most if not all of ...
10 years, 8 months ago (2013-09-02 07:35:45 UTC) #2
chai2010
PTAL https://codereview.appspot.com/13453043/diff/13001/tiff/reader.go File tiff/reader.go (right): https://codereview.appspot.com/13453043/diff/13001/tiff/reader.go#newcode60 tiff/reader.go:60: f, ok := d.features[tag] On 2013/09/02 07:35:45, nigeltao ...
10 years, 8 months ago (2013-09-03 03:10:26 UTC) #3
bsiegert
LGTM if you change off += 3 to 4, as Nigel wrote. Am Dienstag, 3. ...
10 years, 8 months ago (2013-09-03 07:52:26 UTC) #4
chai2010
https://codereview.appspot.com/13453043/diff/13001/tiff/reader.go File tiff/reader.go (right): https://codereview.appspot.com/13453043/diff/13001/tiff/reader.go#newcode254 tiff/reader.go:254: off += 3 On 2013/09/03 03:10:27, chai2010 wrote: > ...
10 years, 8 months ago (2013-09-05 01:16:28 UTC) #5
nigeltao
Please confirm that the benchmarks show no significant regression. https://codereview.appspot.com/13453043/diff/13001/tiff/reader_test.go File tiff/reader_test.go (right): https://codereview.appspot.com/13453043/diff/13001/tiff/reader_test.go#newcode104 tiff/reader_test.go:104: ...
10 years, 8 months ago (2013-09-05 04:34:52 UTC) #6
chai2010
go test -test.bench=. before: BenchmarkDecodeCompressed 500 3420195 ns/op BenchmarkDecodeUncompressed 10000 160909 ns/op BenchmarkEncode 500000 4360 ...
10 years, 8 months ago (2013-09-05 05:30:57 UTC) #7
nigeltao
LGTM. I'll make some trivial edits and submit. https://codereview.appspot.com/13453043/diff/37001/tiff/reader.go File tiff/reader.go (left): https://codereview.appspot.com/13453043/diff/37001/tiff/reader.go#oldcode194 tiff/reader.go:194: for ...
10 years, 8 months ago (2013-09-06 10:04:38 UTC) #8
nigeltao
10 years, 8 months ago (2013-09-06 10:08:29 UTC) #9
*** Submitted as
https://code.google.com/p/go/source/detail?r=0788e15aed14&repo=image ***

go.image/tiff: decoder support tiled tiff format

Use these commands to generate testdata:
tiffcp -s -r 64 video-001.tiff video-001-strip-64.tiff
tiffcp -t -l 64 -w 64 video-001.tiff video-001-tile-64x64.tiff

R=golang-dev, nigeltao, bsiegert
CC=golang-dev
https://codereview.appspot.com/13453043

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