Skip to main content

encode_bits

Function encode_bits 

Source
pub fn encode_bits(rotated: &[f32], alpha: f32) -> Vec<u8> ⓘ
Expand description

Encode the 1-bit blob from rotated coordinates and the standardization factor alpha (both already computed by the Turbo4 encoder — pass rotated and alpha straight through; rotated must be dim long).