diff options
| author | Martin Möhrmann <martisch@uos.de> | 2016-04-15 09:38:36 +0200 |
|---|---|---|
| committer | Martin Möhrmann <martisch@uos.de> | 2016-04-27 06:19:37 +0000 |
| commit | 102cf2ae0321775eef2d36d7c4258b740fe92458 (patch) | |
| tree | 929c0445b185dcbe74c625c36b42d4a316d03f89 /src/runtime | |
| parent | 8f2e780e8ac29e47466103998484c0a73df34d51 (diff) | |
| download | go-102cf2ae0321775eef2d36d7c4258b740fe92458.tar.xz | |
image/color: optimize RGBToYCbCr
Apply optimizations used to speed up YCbCrToRGB from
https://go-review.googlesource.com/#/c/21910/
to RGBToYCbCr.
name old time/op new time/op delta
RGBToYCbCr/0-2 6.81ns ± 0% 5.96ns ± 0% -12.48% (p=0.000 n=38+50)
RGBToYCbCr/Cb-2 7.68ns ± 0% 6.13ns ± 0% -20.21% (p=0.000 n=50+33)
RGBToYCbCr/Cr-2 6.84ns ± 0% 6.04ns ± 0% -11.70% (p=0.000 n=39+42)
Updates #15260
Change-Id: If3ea5393ae371a955ddf18ab226aae20b48f9692
Reviewed-on: https://go-review.googlesource.com/22411
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ralph Corderoy <ralph@inputplus.co.uk>
Diffstat (limited to 'src/runtime')
0 files changed, 0 insertions, 0 deletions
