brotli::enc::cluster

Function BrotliClusterHistograms

source
pub fn BrotliClusterHistograms<HistogramType: SliceWrapperMut<u32> + SliceWrapper<u32> + CostAccessors + Clone, Alloc: Allocator<u32> + Allocator<HistogramPair> + Allocator<HistogramType>>(
    alloc: &mut Alloc,
    inp: &[HistogramType],
    in_size: usize,
    max_histograms: usize,
    scratch_space: &mut HistogramType::i32vec,
    out: &mut [HistogramType],
    out_size: &mut usize,
    histogram_symbols: &mut [u32],
)