Struct divans::PredictionModeContextMap [−][src]
pub struct PredictionModeContextMap<SliceType> where
SliceType: SliceWrapper<u8>, {
pub literal_context_map: SliceType,
pub predmode_speed_and_distance_context_map: SliceType,
}
Fields
literal_context_map: SliceType
predmode_speed_and_distance_context_map: SliceType
Methods
impl<SliceType> PredictionModeContextMap<SliceType> where
SliceType: SliceWrapper<u8> + SliceWrapperMut<u8>,
[src]
impl<SliceType> PredictionModeContextMap<SliceType> where
SliceType: SliceWrapper<u8> + SliceWrapperMut<u8>,
pub fn distance_context_map_mut(&mut self) -> &mut [u8]
[src]
pub fn distance_context_map_mut(&mut self) -> &mut [u8]
pub fn set_stride_context_speed(&mut self, speed_max: [(u16, u16); 2])
[src]
pub fn set_stride_context_speed(&mut self, speed_max: [(u16, u16); 2])
pub fn set_context_map_speed(&mut self, speed_max: [(u16, u16); 2])
[src]
pub fn set_context_map_speed(&mut self, speed_max: [(u16, u16); 2])
pub fn set_mixing_math(&mut self, math_enum: u8)
[src]
pub fn set_mixing_math(&mut self, math_enum: u8)
pub fn set_adv_context_map(&mut self, is_adv: u8)
[src]
pub fn set_adv_context_map(&mut self, is_adv: u8)
pub fn set_mixing_values(&mut self, mixing_mask: &[u8; 8192])
[src]
pub fn set_mixing_values(&mut self, mixing_mask: &[u8; 8192])
pub fn get_mixing_values_mut(&mut self) -> &mut [u8]
[src]
pub fn get_mixing_values_mut(&mut self) -> &mut [u8]
pub fn set_combined_stride_context_speed(&mut self, speed_max: [(u16, u16); 2])
[src]
pub fn set_combined_stride_context_speed(&mut self, speed_max: [(u16, u16); 2])
pub fn set_literal_prediction_mode(&mut self, val: LiteralPredictionModeNibble)
[src]
pub fn set_literal_prediction_mode(&mut self, val: LiteralPredictionModeNibble)
impl<SliceType> PredictionModeContextMap<SliceType> where
SliceType: SliceWrapper<u8>,
[src]
impl<SliceType> PredictionModeContextMap<SliceType> where
SliceType: SliceWrapper<u8>,
pub fn from_mut<Other>(
other: PredictionModeContextMap<Other>
) -> PredictionModeContextMap<SliceType> where
Other: SliceWrapper<u8>,
SliceType: From<Other>,
[src]
pub fn from_mut<Other>(
other: PredictionModeContextMap<Other>
) -> PredictionModeContextMap<SliceType> where
Other: SliceWrapper<u8>,
SliceType: From<Other>,
pub fn get_mixing_values(&self) -> &[u8]
[src]
pub fn get_mixing_values(&self) -> &[u8]
pub fn get_mixing_math(&self) -> u8
[src]
pub fn get_mixing_math(&self) -> u8
pub fn get_is_adv_context_map(&self) -> u8
[src]
pub fn get_is_adv_context_map(&self) -> u8
pub fn has_context_speeds(&self) -> bool
[src]
pub fn has_context_speeds(&self) -> bool
pub fn size_of_combined_array(distance_context_map_size: usize) -> usize
[src]
pub fn size_of_combined_array(distance_context_map_size: usize) -> usize
pub fn context_speeds_standard_len(&self) -> usize
[src]
pub fn context_speeds_standard_len(&self) -> usize
pub fn context_speeds_f8(&self) -> &[u8]
[src]
pub fn context_speeds_f8(&self) -> &[u8]
pub fn distance_context_map(&self) -> &[u8]
[src]
pub fn distance_context_map(&self) -> &[u8]
pub fn f8_to_u16(data: u8) -> u16
[src]
pub fn f8_to_u16(data: u8) -> u16
pub fn u16_to_f8(data: u16) -> u8
[src]
pub fn u16_to_f8(data: u16) -> u8
pub fn stride_context_speed_offset() -> usize
[src]
pub fn stride_context_speed_offset() -> usize
pub fn stride_context_speed_max_offset() -> usize
[src]
pub fn stride_context_speed_max_offset() -> usize
pub fn context_map_speed_offset() -> usize
[src]
pub fn context_map_speed_offset() -> usize
pub fn context_map_speed_max_offset() -> usize
[src]
pub fn context_map_speed_max_offset() -> usize
pub fn combined_stride_context_speed_offset() -> usize
[src]
pub fn combined_stride_context_speed_offset() -> usize
pub fn combined_stride_context_speed_max_offset() -> usize
[src]
pub fn combined_stride_context_speed_max_offset() -> usize
pub fn literal_prediction_mode(&self) -> LiteralPredictionModeNibble
[src]
pub fn literal_prediction_mode(&self) -> LiteralPredictionModeNibble
pub fn stride_context_speed(&self) -> [(u16, u16); 2]
[src]
pub fn stride_context_speed(&self) -> [(u16, u16); 2]
pub fn context_map_speed(&self) -> [(u16, u16); 2]
[src]
pub fn context_map_speed(&self) -> [(u16, u16); 2]
pub fn combined_stride_context_speed(&self) -> [(u16, u16); 2]
[src]
pub fn combined_stride_context_speed(&self) -> [(u16, u16); 2]
pub fn stride_context_speed_f8(&self) -> [(u8, u8); 2]
[src]
pub fn stride_context_speed_f8(&self) -> [(u8, u8); 2]
pub fn combined_stride_context_speed_f8(&self) -> [(u8, u8); 2]
[src]
pub fn combined_stride_context_speed_f8(&self) -> [(u8, u8); 2]
pub fn context_map_speed_f8(&self) -> [(u8, u8); 2]
[src]
pub fn context_map_speed_f8(&self) -> [(u8, u8); 2]
Trait Implementations
impl<SliceType> Debug for PredictionModeContextMap<SliceType> where
SliceType: Debug + SliceWrapper<u8>,
[src]
impl<SliceType> Debug for PredictionModeContextMap<SliceType> where
SliceType: Debug + SliceWrapper<u8>,
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl<SliceType> Clone for PredictionModeContextMap<SliceType> where
SliceType: Clone + SliceWrapper<u8>,
[src]
impl<SliceType> Clone for PredictionModeContextMap<SliceType> where
SliceType: Clone + SliceWrapper<u8>,
fn clone(&self) -> PredictionModeContextMap<SliceType>
[src]
fn clone(&self) -> PredictionModeContextMap<SliceType>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<SliceType> Copy for PredictionModeContextMap<SliceType> where
SliceType: Copy + Clone + SliceWrapper<u8>,
[src]
impl<SliceType> Copy for PredictionModeContextMap<SliceType> where
SliceType: Copy + Clone + SliceWrapper<u8>,
Auto Trait Implementations
impl<SliceType> Send for PredictionModeContextMap<SliceType> where
SliceType: Send,
impl<SliceType> Send for PredictionModeContextMap<SliceType> where
SliceType: Send,
impl<SliceType> Sync for PredictionModeContextMap<SliceType> where
SliceType: Sync,
impl<SliceType> Sync for PredictionModeContextMap<SliceType> where
SliceType: Sync,