[][src]Struct brotli::enc::context_map_entropy::ContextMapEntropy

pub struct ContextMapEntropy<'a, Alloc: Allocator<u16> + Allocator<u32> + Allocator<floatX>> { /* fields omitted */ }

Methods

impl<'a, Alloc: Allocator<u16> + Allocator<u32> + Allocator<floatX>> ContextMapEntropy<'a, Alloc>[src]

pub fn new(
    m16: &mut Alloc,
    input: InputPair<'a>,
    stride: [u8; 8],
    prediction_mode: PredictionModeContextMap<InputReferenceMut<'a>>,
    cdf_detection_quality: u8
) -> Self
[src]

pub fn take_prediction_mode(
    &mut self
) -> PredictionModeContextMap<InputReferenceMut<'a>>
[src]

pub fn prediction_mode_mut(
    &mut self
) -> &mut PredictionModeContextMap<InputReferenceMut<'a>>
[src]

pub fn best_singleton_speeds(
    &self,
    cm: bool,
    combined: bool
) -> ([SpeedAndMax; 2], [floatX; 2])
[src]

pub fn best_speeds(&mut self, cm: bool, combined: bool) -> [SpeedAndMax; 2][src]

pub fn best_speeds_costs(&mut self, cm: bool, combined: bool) -> [floatX; 2][src]

pub fn free(&mut self, alloc: &mut Alloc)[src]

Trait Implementations

impl<'a, 'b, Alloc: Allocator<u16> + Allocator<u32> + Allocator<floatX>> CommandProcessor<'b> for ContextMapEntropy<'a, Alloc>[src]

impl<'a, Alloc: Allocator<u16> + Allocator<u32> + Allocator<floatX>> IRInterpreter for ContextMapEntropy<'a, Alloc>[src]

Auto Trait Implementations

impl<'a, Alloc> RefUnwindSafe for ContextMapEntropy<'a, Alloc> where
    <Alloc as Allocator<u16>>::AllocatedMemory: RefUnwindSafe

impl<'a, Alloc> Send for ContextMapEntropy<'a, Alloc> where
    <Alloc as Allocator<u16>>::AllocatedMemory: Send

impl<'a, Alloc> Sync for ContextMapEntropy<'a, Alloc> where
    <Alloc as Allocator<u16>>::AllocatedMemory: Sync

impl<'a, Alloc> Unpin for ContextMapEntropy<'a, Alloc> where
    <Alloc as Allocator<u16>>::AllocatedMemory: Unpin

impl<'a, Alloc> !UnwindSafe for ContextMapEntropy<'a, Alloc>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.