pub struct EntropyPyramid<AllocU32: Allocator<u32>> { /* private fields */ }
Implementations§
source§impl<AllocU32: Allocator<u32>> EntropyPyramid<AllocU32>
impl<AllocU32: Allocator<u32>> EntropyPyramid<AllocU32>
pub fn last_level_range(&self) -> Range<usize>
pub fn byte_index_to_pyramid_index( &self, byte_index: usize, metablock_size: usize, ) -> usize
pub fn reset_scratch_to_deepest_level( &self, output: &mut EntropyTally<AllocU32>, )
pub fn stride_last_level_range(&self) -> [u8; 8]
pub fn free(&mut self, m32: &mut AllocU32)
pub fn disabled_placeholder(_m32: &mut AllocU32) -> Self
pub fn new(m32: &mut AllocU32) -> Self
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
pub fn populate_stride1(&mut self, input0: &[u8], input1: &[u8])
pub fn populate( &mut self, input0: &[u8], input1: &[u8], scratch: &mut EntropyTally<AllocU32>, )
Auto Trait Implementations§
impl<AllocU32> Freeze for EntropyPyramid<AllocU32>
impl<AllocU32> RefUnwindSafe for EntropyPyramid<AllocU32>
impl<AllocU32> Send for EntropyPyramid<AllocU32>
impl<AllocU32> Sync for EntropyPyramid<AllocU32>
impl<AllocU32> Unpin for EntropyPyramid<AllocU32>
impl<AllocU32> UnwindSafe for EntropyPyramid<AllocU32>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more