Go to file
Nigel Tao c62001d39b draw: optimize Kernel.Transform.
benchmark                      old ns/op      new ns/op      delta
BenchmarkTformCRSrcGray        6111610        5344117        -12.56%
BenchmarkTformCRSrcNRGBA       62070281       59295178       -4.47%
BenchmarkTformCRSrcRGBA        13840290       10612547       -23.32%
BenchmarkTformCRSrcUniform     591637         587621         -0.68%
BenchmarkTformCRSrcYCbCr       72219184       69404747       -3.90%

As of current origin/master, Gray and RGBA have fast paths but the other src
image types do not. They have more fat, so the relative improvement is smaller.

Change-Id: Ibbae91cd3cb3c139efb1dcc8fda1cb6432505189
Reviewed-on: https://go-review.googlesource.com/7794
Reviewed-by: Rob Pike <r@golang.org>
2015-03-19 21:20:14 +00:00
bmp image: add import comments. 2014-12-09 22:43:18 +00:00
cmd/webp-manual-test image: add import comments. 2014-12-09 22:43:18 +00:00
draw draw: optimize Kernel.Transform. 2015-03-19 21:20:14 +00:00
math math/f32, math/f64: add a comment that "Aff" stands for affine 2015-03-06 02:15:01 +00:00
riff image: add import comments. 2014-12-09 22:43:18 +00:00
testdata draw: implement Kernel.Transform. 2015-03-17 23:09:51 +00:00
tiff image: add import comments. 2014-12-09 22:43:18 +00:00
vp8 image: add import comments. 2014-12-09 22:43:18 +00:00
vp8l image: add import comments. 2014-12-09 22:43:18 +00:00
webp image: add import comments. 2014-12-09 22:43:18 +00:00
.gitattributes image: copying .gitattributes to all subrepositories 2014-12-23 11:05:35 +00:00
.gitignore convert .hgignore to .gitignore. 2014-12-08 10:42:30 +11:00
AUTHORS go.empty: prototype for new subrepository 2012-01-25 14:45:13 -05:00
codereview.cfg image: add codereview.cfg 2015-03-18 17:04:05 +00:00
CONTRIBUTING.md doc: add CONTRIBUTING.md 2015-02-20 05:00:47 +00:00
CONTRIBUTORS go.empty: prototype for new subrepository 2012-01-25 14:45:13 -05:00
LICENSE LICENSE: add 2012-03-17 15:20:31 +11:00
PATENTS go.image: add PATENTS file to the subrepo. 2012-04-16 11:25:02 +10:00
README go.image: initial code. 2012-01-31 11:32:50 +11:00

This repository holds supplementary Go image libraries.

To submit changes to this repository, see http://golang.org/doc/contribute.html.