[][src]Function lab::simd::labs_to_rgbs

pub fn labs_to_rgbs(labs: &[Lab]) -> Vec<[u8; 3]>

Converts a slice of Labs to [u8; 3] RGB triples using 256-bit SIMD operations.

Panics

This function will panic if executed on a non-x86_64 CPU or one without AVX and SSE 4.1 support.

This example is not tested
if is_x86_feature_detected!("avx") && is_x86_feature_detected!("sse4.1") {
    lab::simd::labs_to_rgbs(&labs);
}