image_swizzle 0.3.0

SIMD accelerated image swizzling routines
Documentation
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<title>README.html</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>

</head>

<body>

<p><a href="https://crates.io/crates/image_swizzle"><img
src="https://img.shields.io/crates/v/image_swizzle"
alt="Latest release" /></a> <a href="https://docs.rs/image_swizzle"><img
src="https://docs.rs/image_swizzle/badge.svg" alt="Docs" /></a></p>
<h1 id="swizzle">Swizzle</h1>
<p>SIMD accelerated image swizzling routines.</p>
<h2 id="performance">Performance</h2>
<h4 id="rgba-to-bgra">RGBA to BGRA</h4>
<p>Following shows benchmarks for frames of size 4096x4096.</p>
<pre><code>test tests::bench_big_serial_rgba_to_bgra             ... bench:  31,355,763.50 ns/iter (+/- 1,238,430.78)
test tests::bench_big_vectorized_rgba_to_bgra         ... bench:  10,754,762.50 ns/iter (+/- 1,092,212.55) # 2.9x faster
test tests::bench_big_serial_rgba_to_bgra_inplace     ... bench:  29,412,045.30 ns/iter (+/- 1,112,664.50)
test tests::bench_big_vectorized_rgba_to_bgra_inplace ... bench:   8,075,968.10 ns/iter (+/- 874,224.50) # 3.6x faster</code></pre>
<p>Following shows benchmarks for frames of size 4096x2160.</p>
<pre><code>test tests::bench_serial_rgba_to_bgra                 ... bench:  16,567,283.20 ns/iter (+/- 1,388,114.34)
test tests::bench_vectorized_rgba_to_bgra             ... bench:   5,318,125.25 ns/iter (+/- 565,093.18) # 3.1x faster
test tests::bench_serial_rgba_to_bgra_inplace         ... bench:  15,619,490.90 ns/iter (+/- 631,683.88)
test tests::bench_vectorized_rgba_to_bgra_inplace     ... bench:   4,195,717.60 ns/iter (+/- 507,956.24) # 3.7x faster</code></pre>

</body>
</html>