Struct cros_codecs::decoders::h264::parser::SliceHeader
source · pub struct SliceHeader { /* private fields */ }
Implementations§
source§impl SliceHeader
impl SliceHeader
pub fn first_mb_in_slice(&self) -> u32
pub fn slice_type(&self) -> &SliceType
pub fn pic_parameter_set_id(&self) -> u8
pub fn colour_plane_id(&self) -> u8
pub fn frame_num(&self) -> u16
pub fn field_pic_flag(&self) -> bool
pub fn bottom_field_flag(&self) -> bool
pub fn idr_pic_id(&self) -> u16
pub fn pic_order_cnt_lsb(&self) -> u16
pub fn delta_pic_order_cnt_bottom(&self) -> i32
pub fn delta_pic_order_cnt(&self) -> [i32; 2]
pub fn redundant_pic_cnt(&self) -> u8
pub fn direct_spatial_mv_pred_flag(&self) -> bool
pub fn num_ref_idx_active_override_flag(&self) -> bool
pub fn num_ref_idx_l0_active_minus1(&self) -> u8
pub fn num_ref_idx_l1_active_minus1(&self) -> u8
pub fn ref_pic_list_modification_flag_l0(&self) -> bool
pub fn ref_pic_list_modification_l0(&self) -> &Vec<RefPicListModification>
pub fn ref_pic_list_modification_flag_l1(&self) -> bool
pub fn ref_pic_list_modification_l1(&self) -> &Vec<RefPicListModification>
pub fn pred_weight_table(&self) -> &PredWeightTable
pub fn dec_ref_pic_marking(&self) -> &RefPicMarking
pub fn cabac_init_idc(&self) -> u8
pub fn slice_qp_delta(&self) -> i8
pub fn sp_for_switch_flag(&self) -> bool
pub fn slice_qs_delta(&self) -> i8
pub fn disable_deblocking_filter_idc(&self) -> u8
pub fn slice_alpha_c0_offset_div2(&self) -> i8
pub fn slice_beta_offset_div2(&self) -> i8
pub fn max_pic_num(&self) -> u32
pub fn header_bit_size(&self) -> usize
pub fn n_emulation_prevention_bytes(&self) -> usize
Trait Implementations§
source§impl Clone for SliceHeader
impl Clone for SliceHeader
source§fn clone(&self) -> SliceHeader
fn clone(&self) -> SliceHeader
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SliceHeader
impl Debug for SliceHeader
source§impl Default for SliceHeader
impl Default for SliceHeader
source§fn default() -> SliceHeader
fn default() -> SliceHeader
Returns the “default value” for a type. Read more
source§impl PartialEq<SliceHeader> for SliceHeader
impl PartialEq<SliceHeader> for SliceHeader
source§fn eq(&self, other: &SliceHeader) -> bool
fn eq(&self, other: &SliceHeader) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SliceHeader
impl StructuralEq for SliceHeader
impl StructuralPartialEq for SliceHeader
Auto Trait Implementations§
impl RefUnwindSafe for SliceHeader
impl Send for SliceHeader
impl Sync for SliceHeader
impl Unpin for SliceHeader
impl UnwindSafe for SliceHeader
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