pub struct H265SliceHeader {
pub first_slice_segment_in_pic_flag: bool,
pub nal_unit_type: u8,
pub slice_pic_parameter_set_id: u8,
pub slice_type: H265SliceType,
pub pic_order_cnt_lsb: u32,
pub short_term_ref_pic_set_sps_flag: bool,
pub short_term_ref_pic_set_idx: Option<u8>,
pub is_irap: bool,
pub is_idr: bool,
}Expand description
HEVC slice header — subset needed for StdVideoDecodeH265PictureInfo.
Fields§
§first_slice_segment_in_pic_flag: bool§nal_unit_type: u8§slice_pic_parameter_set_id: u8§slice_type: H265SliceType§pic_order_cnt_lsb: u32§short_term_ref_pic_set_sps_flag: bool§short_term_ref_pic_set_idx: Option<u8>§is_irap: boolTrue for IRAP pictures (IDR / CRA / BLA): nal_unit_type ∈ 16..=23.
is_idr: boolTrue for IDR specifically: nal_unit_type ∈ 19..=20.
Trait Implementations§
Source§impl Clone for H265SliceHeader
impl Clone for H265SliceHeader
Source§fn clone(&self) -> H265SliceHeader
fn clone(&self) -> H265SliceHeader
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for H265SliceHeader
Source§impl Debug for H265SliceHeader
impl Debug for H265SliceHeader
impl Eq for H265SliceHeader
Source§impl PartialEq for H265SliceHeader
impl PartialEq for H265SliceHeader
Source§fn eq(&self, other: &H265SliceHeader) -> bool
fn eq(&self, other: &H265SliceHeader) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for H265SliceHeader
Auto Trait Implementations§
impl Freeze for H265SliceHeader
impl RefUnwindSafe for H265SliceHeader
impl Send for H265SliceHeader
impl Sync for H265SliceHeader
impl Unpin for H265SliceHeader
impl UnsafeUnpin for H265SliceHeader
impl UnwindSafe for H265SliceHeader
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