[−][src]Struct brotli::enc::find_stride::EntropyPyramid
Methods
impl<AllocU32: Allocator<u32>> EntropyPyramid<AllocU32>
[src]
pub fn last_level_range(&self) -> Range<usize>
[src]
pub fn byte_index_to_pyramid_index(
&self,
byte_index: usize,
metablock_size: usize
) -> usize
[src]
&self,
byte_index: usize,
metablock_size: usize
) -> usize
pub fn reset_scratch_to_deepest_level(
&self,
output: &mut EntropyTally<AllocU32>
)
[src]
&self,
output: &mut EntropyTally<AllocU32>
)
pub fn stride_last_level_range(&self) -> [u8; 8]
[src]
pub fn free(&mut self, m32: &mut AllocU32)
[src]
pub fn disabled_placeholder(_m32: &mut AllocU32) -> Self
[src]
pub fn new(m32: &mut AllocU32) -> Self
[src]
pub fn bit_cost_of_literals(
&mut self,
data0: &[u8],
start_index: u32,
metablock_len: usize,
stride: u8,
previous_bytes: [u8; 8],
scratch: &mut EntropyTally<AllocU32>
) -> floatY
[src]
&mut self,
data0: &[u8],
start_index: u32,
metablock_len: usize,
stride: u8,
previous_bytes: [u8; 8],
scratch: &mut EntropyTally<AllocU32>
) -> floatY
pub fn populate_stride1(&mut self, input0: &[u8], input1: &[u8])
[src]
pub fn populate(
&mut self,
input0: &[u8],
input1: &[u8],
scratch: &mut EntropyTally<AllocU32>
)
[src]
&mut self,
input0: &[u8],
input1: &[u8],
scratch: &mut EntropyTally<AllocU32>
)
Auto Trait Implementations
impl<AllocU32> RefUnwindSafe for EntropyPyramid<AllocU32> where
<AllocU32 as Allocator<u32>>::AllocatedMemory: RefUnwindSafe,
<AllocU32 as Allocator<u32>>::AllocatedMemory: RefUnwindSafe,
impl<AllocU32> Send for EntropyPyramid<AllocU32> where
<AllocU32 as Allocator<u32>>::AllocatedMemory: Send,
<AllocU32 as Allocator<u32>>::AllocatedMemory: Send,
impl<AllocU32> Sync for EntropyPyramid<AllocU32> where
<AllocU32 as Allocator<u32>>::AllocatedMemory: Sync,
<AllocU32 as Allocator<u32>>::AllocatedMemory: Sync,
impl<AllocU32> Unpin for EntropyPyramid<AllocU32> where
<AllocU32 as Allocator<u32>>::AllocatedMemory: Unpin,
<AllocU32 as Allocator<u32>>::AllocatedMemory: Unpin,
impl<AllocU32> UnwindSafe for EntropyPyramid<AllocU32> where
<AllocU32 as Allocator<u32>>::AllocatedMemory: UnwindSafe,
<AllocU32 as Allocator<u32>>::AllocatedMemory: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,