brotli::enc::metablock

Function BrotliBuildMetaBlockGreedy

source
pub fn BrotliBuildMetaBlockGreedy<Alloc: Allocator<u8> + Allocator<u32> + Allocator<HistogramLiteral> + Allocator<HistogramCommand> + Allocator<HistogramDistance>>(
    alloc: &mut Alloc,
    ringbuffer: &[u8],
    pos: usize,
    mask: usize,
    prev_byte: u8,
    prev_byte2: u8,
    literal_context_mode: ContextType,
    _literal_context_lut: &[u8],
    num_contexts: usize,
    static_context_map: &[u32],
    commands: &[Command],
    n_commands: usize,
    mb: &mut MetaBlockSplit<Alloc>,
)