Struct brotli::enc::find_stride::EntropyPyramid
[−]
[src]
pub struct EntropyPyramid<AllocU32: Allocator<u32>> { /* fields omitted */ }
Methods
impl<AllocU32: Allocator<u32>> EntropyPyramid<AllocU32>
[src]
ⓘImportant traits for Range<A>pub fn last_level_range(&self) -> Range<usize>
[src]
ⓘImportant traits for Range<A>
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>
)
Trait Implementations
Auto Trait Implementations
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,