brotli::enc::backward_references::hq

Function BrotliCreateHqZopfliBackwardReferences

source
pub fn BrotliCreateHqZopfliBackwardReferences<Alloc: Allocator<u32> + Allocator<u64> + Allocator<floatX> + Allocator<ZopfliNode>, Buckets, Params: H10Params>(
    alloc: &mut Alloc,
    dictionary: Option<&BrotliDictionary>,
    num_bytes: usize,
    position: usize,
    ringbuffer: &[u8],
    ringbuffer_mask: usize,
    params: &BrotliEncoderParams,
    hasher: &mut H10<Alloc, Buckets, Params>,
    dist_cache: &mut [i32],
    last_insert_len: &mut usize,
    commands: &mut [Command],
    num_commands: &mut usize,
    num_literals: &mut usize,
)
where Buckets: PartialEq<Buckets> + Allocable<u32, Alloc> + SliceWrapperMut<u32> + SliceWrapper<u32>,