brotli::enc::backward_references::hq

Function BrotliZopfliComputeShortestPath

source
pub fn BrotliZopfliComputeShortestPath<AllocU32: Allocator<u32>, Buckets, Params: H10Params, AllocF: Allocator<floatX>>(
    m: &mut AllocF,
    dictionary: Option<&BrotliDictionary>,
    num_bytes: usize,
    position: usize,
    ringbuffer: &[u8],
    ringbuffer_mask: usize,
    params: &BrotliEncoderParams,
    max_backward_limit: usize,
    dist_cache: &[i32],
    handle: &mut H10<AllocU32, Buckets, Params>,
    nodes: &mut [ZopfliNode],
) -> usize
where Buckets: PartialEq<Buckets> + Allocable<u32, AllocU32> + SliceWrapperMut<u32> + SliceWrapper<u32>,