Function png_filters::sse4_1::recon_up
source · pub unsafe fn recon_up(filtered_row: &mut [u8], previous_row: &[u8])
Available with target feature
sse4.1
only.Expand description
Like recon_up_fallback
, but specialized to
sse2
.
You normally don’t need to use this function. On Rust’s x86_64
and i686
targets the sse2
feature is enabled by default, and the auto-vectorizer is
able to SIMD accelerate the normal fallback function quite well, so you can
just use that. You only need to call this version with i585
targets when
you’ve dynamically detected that sse2
is available.
§Safety
- The
sse2
CPU feature must be available at runtime.