pub struct Header { /* private fields */ }
Implementations§
source§impl Header
impl Header
sourcepub fn show_frame(&self) -> bool
pub fn show_frame(&self) -> bool
Get a reference to the header’s show frame.
sourcepub fn data_chunk_size(&self) -> u8
pub fn data_chunk_size(&self) -> u8
Get a reference to the header’s data chunk size.
sourcepub fn first_part_size(&self) -> u32
pub fn first_part_size(&self) -> u32
Get a reference to the header’s first part size.
sourcepub fn horiz_scale_code(&self) -> u8
pub fn horiz_scale_code(&self) -> u8
Get a reference to the header’s horiz scale code.
sourcepub fn vert_scale_code(&self) -> u8
pub fn vert_scale_code(&self) -> u8
Get a reference to the header’s vert scale code.
sourcepub fn color_space(&self) -> bool
pub fn color_space(&self) -> bool
Get a reference to the header’s color space.
sourcepub fn clamping_type(&self) -> bool
pub fn clamping_type(&self) -> bool
Get a reference to the header’s clamping type.
sourcepub fn filter_type(&self) -> bool
pub fn filter_type(&self) -> bool
Get a reference to the header’s filter type.
sourcepub fn loop_filter_level(&self) -> u8
pub fn loop_filter_level(&self) -> u8
Get a reference to the header’s loop filter level.
sourcepub fn sharpness_level(&self) -> u8
pub fn sharpness_level(&self) -> u8
Get a reference to the header’s sharpness level.
sourcepub fn log2_nbr_of_dct_partitions(&self) -> u8
pub fn log2_nbr_of_dct_partitions(&self) -> u8
Get a reference to the header’s log2 nbr of dct partitions.
sourcepub fn partition_size(&self) -> [u32; 8]
pub fn partition_size(&self) -> [u32; 8]
Get a reference to the header’s partition size.
sourcepub fn quant_indices(&self) -> &QuantIndices
pub fn quant_indices(&self) -> &QuantIndices
Get a reference to the header’s quant indices.
sourcepub fn refresh_entropy_probs(&self) -> bool
pub fn refresh_entropy_probs(&self) -> bool
Get a reference to the header’s refresh entropy probs.
sourcepub fn refresh_last(&self) -> bool
pub fn refresh_last(&self) -> bool
Get a reference to the header’s refresh last.
sourcepub fn refresh_golden_frame(&self) -> bool
pub fn refresh_golden_frame(&self) -> bool
Get a reference to the header’s refresh golden frame.
sourcepub fn refresh_alternate_frame(&self) -> bool
pub fn refresh_alternate_frame(&self) -> bool
Get a reference to the header’s refresh alternate frame.
sourcepub fn copy_buffer_to_golden(&self) -> u8
pub fn copy_buffer_to_golden(&self) -> u8
Get a reference to the header’s copy buffer to golden.
sourcepub fn copy_buffer_to_alternate(&self) -> u8
pub fn copy_buffer_to_alternate(&self) -> u8
Get a reference to the header’s copy buffer to alternate.
sourcepub fn sign_bias_golden(&self) -> bool
pub fn sign_bias_golden(&self) -> bool
Get a reference to the header’s sign bias golden.
sourcepub fn sign_bias_alternate(&self) -> bool
pub fn sign_bias_alternate(&self) -> bool
Get a reference to the header’s sign bias alternate.
sourcepub fn coeff_prob(&self) -> [[[[u8; 11]; 3]; 8]; 4]
pub fn coeff_prob(&self) -> [[[[u8; 11]; 3]; 8]; 4]
Get a reference to the header’s coeff prob.
sourcepub fn mb_no_coeff_skip(&self) -> bool
pub fn mb_no_coeff_skip(&self) -> bool
Get a reference to the header’s mb no coeff skip.
sourcepub fn prob_skip_false(&self) -> u8
pub fn prob_skip_false(&self) -> u8
Get a reference to the header’s prob skip false.
sourcepub fn prob_intra(&self) -> u8
pub fn prob_intra(&self) -> u8
Get a reference to the header’s prob intra.
sourcepub fn prob_golden(&self) -> u8
pub fn prob_golden(&self) -> u8
Get a reference to the header’s prob golden.
sourcepub fn mode_probs(&self) -> &ModeProbs
pub fn mode_probs(&self) -> &ModeProbs
Get a reference to the header’s mode probs.
sourcepub fn header_size(&self) -> u32
pub fn header_size(&self) -> u32
Get a reference to the header’s header size.