pub fn bgra_to_rgba_inplace(buf: &mut [u8])
Expand description
BGRA to RGBA pixel buffer conversion
Will likely benefit from compile time optimizations a lot, especially with SIMD instruction sets enabled.
RUSTFLAGS="-C target-cpu=x86-64-v3"
is a relatively safe bet, as according to steam hardware survey ~95% of people have it.