brotli::enc::cluster

Function BrotliHistogramRemap

source
pub fn BrotliHistogramRemap<HistogramType: SliceWrapperMut<u32> + SliceWrapper<u32> + CostAccessors + Clone>(
    inp: &[HistogramType],
    in_size: usize,
    clusters: &[u32],
    num_clusters: usize,
    scratch_space: &mut HistogramType::i32vec,
    out: &mut [HistogramType],
    symbols: &mut [u32],
)