mirror of https://github.com/golang/go.git
Grayscale PNG and JPEG images are not uncommon. We should have a fast path. Also add a benchmark for the recently added CMYK fast path. benchmark old ns/op new ns/op delta BenchmarkGray 13960348 324152 -97.68% Change-Id: I72b5838c8c3d1f2d0a4536a848e020e80b10c0f7 Reviewed-on: https://go-review.googlesource.com/6237 Reviewed-by: Rob Pike <r@golang.org> |
||
|---|---|---|
| .. | ||
| color | ||
| draw | ||
| gif | ||
| jpeg | ||
| png | ||
| testdata | ||
| decode_example_test.go | ||
| decode_test.go | ||
| format.go | ||
| geom.go | ||
| geom_test.go | ||
| image.go | ||
| image_test.go | ||
| names.go | ||
| ycbcr.go | ||
| ycbcr_test.go | ||