Skip to main content

Module vectorization

Module vectorization 

Source
Expand description

Fixed-width vector storage for the encoder.

The types here are plain arrays: Default + Copy, so they can live in the encoder’s allocator-backed slices and be handed to Allocator<T>. They carry no arithmetic of their own. Math is done on fearless_simd vectors instead: inside a dispatch! region, Mem256f::to_simd (and friends) loads a register and Mem256f::from_simd stores it back.

Structs§

Mem16x16
Mem256f
Mem256i
PDF
A 16-bucket probability distribution.

Functions§

detect_level
The instruction set the vectorized encoder paths run on.
min_lane_f32x8
The smallest lane of v, folded in log2(8) steps.
min_lane_u32x8
The smallest lane of v, folded in log2(8) steps.

Type Aliases§

v256
v256i