]> Cypherpunks repositories - gostls13.git/commit
image/internal/imageutil: new package, used by image/draw and image/jpeg.
authorNigel Tao <nigeltao@golang.org>
Mon, 23 Mar 2015 00:03:02 +0000 (11:03 +1100)
committerNigel Tao <nigeltao@golang.org>
Mon, 23 Mar 2015 23:22:58 +0000 (23:22 +0000)
commitb2f29511dd1b8760de5c4a0db284e68e8e7dddcd
tree7667f903a10a34e22ad8bbe6da7b99f18e4ffeae
parentdb454afd2353364ad1c3bcd6002def81871ed2b2
image/internal/imageutil: new package, used by image/draw and image/jpeg.

The imageutil.DrawYCbCr function lives in an internal package because it
is needed by both the image/draw and image/jpeg packages, but it doesn't
seem right for one of those two to depend on the other.

It could eventually go into the image package, but that would require
committing to an API for the rest of Go 1.x.

Change-Id: I7b12555c970d86409365e99eef9360702aaffa30
Reviewed-on: https://go-review.googlesource.com/7925
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
src/go/build/deps_test.go
src/image/draw/draw.go
src/image/internal/imageutil/imageutil.go [new file with mode: 0644]
src/image/jpeg/reader.go