Function brotli::enc::encode::BrotliEncoderCompress [] [src]

pub fn BrotliEncoderCompress<AllocU8: Allocator<u8>, AllocU16: Allocator<u16>, AllocU32: Allocator<u32>, AllocI32: Allocator<i32>, AllocU64: Allocator<u64>, AllocF64: Allocator<floatX>, AllocFV: Allocator<Mem256f>, AllocHL: Allocator<HistogramLiteral>, AllocHC: Allocator<HistogramCommand>, AllocHD: Allocator<HistogramDistance>, AllocHP: Allocator<HistogramPair>, AllocCT: Allocator<ContextType>, AllocCommand: Allocator<Command>, AllocHT: Allocator<HuffmanTree>, AllocZN: Allocator<ZopfliNode>, MetablockCallback: FnMut(&[Command<InputReference>])>(
    empty_m8: AllocU8,
    empty_m16: AllocU16,
    empty_m32: AllocU32,
    empty_mi32: AllocI32,
    empty_mc: AllocCommand,
    m8: &mut AllocU8,
    m16: &mut AllocU16,
    m32: &mut AllocU32,
    mi32: &mut AllocI32,
    mc: &mut AllocCommand,
    m64: &mut AllocU64,
    mf64: &mut AllocF64,
    mfv: &mut AllocFV,
    mhl: &mut AllocHL,
    mhc: &mut AllocHC,
    mhd: &mut AllocHD,
    mhp: &mut AllocHP,
    mct: &mut AllocCT,
    mht: &mut AllocHT,
    mzn: &mut AllocZN,
    quality: i32,
    lgwin: i32,
    mode: BrotliEncoderMode,
    input_size: usize,
    input_buffer: &[u8],
    encoded_size: &mut usize,
    encoded_buffer: &mut [u8],
    metablock_callback: &mut MetablockCallback
) -> i32