image_swizzle 0.1.0

SIMD accelerated image swizzling routines
Documentation
  • Coverage
  • 100%
    13 out of 13 items documented12 out of 13 items with examples
  • Size
  • Source code size: 23.1 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 693.29 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Homepage
  • MAlba124/swizzle
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • MAlba124

Swizzle

SIMD accelerated image swizzling routines.

Performance

RGBA to BGRA

test tests::bench_serial_rgba_to_bgra     ... bench:  16,276,480.60 ns/iter (+/- 7,499,036.91)
test tests::bench_vectorized_rgba_to_bgra ... bench:   5,451,023.30 ns/iter (+/- 584,312.97)

On average the verctorized version is 3 times faster than the non vectorized one.