1
0
mirror of https://github.com/golang/go synced 2024-10-03 16:31:27 -06:00
go/src/image
Nigel Tao 0b52392ef7 image: use three-index slice for NewYCbCr.
This ensures that changing an image.YCbCr's Y values can't change its
chroma values, even after re-slicing up to capacity.

Change-Id: Icb626561522e336a3220e10f456c95330ae7db9e
Reviewed-on: https://go-review.googlesource.com/2209
Reviewed-by: Rob Pike <r@golang.org>
2015-01-05 03:32:15 +00:00
..
color
draw image/draw: fix crash in clip 2014-12-20 06:00:38 +00:00
gif image/gif: don't let the per-frame transparent index modify the global 2014-09-22 14:29:45 +10:00
jpeg image/jpeg: handle Read returning n > 0, err != nil in d.fill 2014-11-22 13:55:33 -05:00
png
testdata
decode_example_test.go
decode_test.go
format.go
geom.go
image_test.go
image.go
names.go
ycbcr_test.go image: use three-index slice for NewYCbCr. 2015-01-05 03:32:15 +00:00
ycbcr.go image: use three-index slice for NewYCbCr. 2015-01-05 03:32:15 +00:00