[][src]Module lab::simd

Experimental functions for parallel conversion using AVX and SSE4.1

This module is conditionally compiled by the cfg gate #[cfg(target_arch = "x86_64")]

Functions

labs_to_rgbs

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

labs_to_rgbs_chunk

Convert a slice of 8 Lab structs into an array of 8 RGB ([u8; 3]) triples.

rgbs_to_labs

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

rgbs_to_labs_chunk

Convert a slice of 8 [u8; 3] RGB tripes into an array of 8 Lab structs.