]> Cypherpunks repositories - gostls13.git/commit
image/color: order color computation to match rgb
authorMartin Möhrmann <martisch@uos.de>
Fri, 15 Apr 2016 06:56:01 +0000 (08:56 +0200)
committerNigel Tao <nigeltao@golang.org>
Fri, 15 Apr 2016 07:34:37 +0000 (07:34 +0000)
commit8955745bfb9a3682e78b71fb8cb343abc4bd72a6
tree0479569ccbca0fe133edf726113f3cc63653488b
parent0da4dbe2322eb3b6224df35ce3e9fc83f104762b
image/color: order color computation to match rgb

The order of computation was switched unintentionally
in https://go-review.googlesource.com/21910.

Revert the order to first compute g then b.

Change-Id: I8cedb5e45fbad2679246839f609bcac4f9052403
Reviewed-on: https://go-review.googlesource.com/22016
Reviewed-by: Nigel Tao <nigeltao@golang.org>
src/image/color/ycbcr.go
src/image/internal/imageutil/gen.go
src/image/internal/imageutil/impl.go