Struct cros_libva::buffer::HevcLongSliceFlags
source · pub struct HevcLongSliceFlags(/* private fields */);Expand description
Wrapper over the long_slice_flags bindgen field in VASliceParameterBufferHEVC.
Implementations§
source§impl HevcLongSliceFlags
impl HevcLongSliceFlags
sourcepub fn new(
last_slice_of_pic: u32,
dependent_slice_segment_flag: u32,
slice_type: u32,
color_plane_id: u32,
slice_sao_luma_flag: u32,
slice_sao_chroma_flag: u32,
mvd_l1_zero_flag: u32,
cabac_init_flag: u32,
slice_temporal_mvp_enabled_flag: u32,
slice_deblocking_filter_disabled_flag: u32,
collocated_from_l0_flag: u32,
slice_loop_filter_across_slices_enabled_flag: u32,
) -> Self
pub fn new( last_slice_of_pic: u32, dependent_slice_segment_flag: u32, slice_type: u32, color_plane_id: u32, slice_sao_luma_flag: u32, slice_sao_chroma_flag: u32, mvd_l1_zero_flag: u32, cabac_init_flag: u32, slice_temporal_mvp_enabled_flag: u32, slice_deblocking_filter_disabled_flag: u32, collocated_from_l0_flag: u32, slice_loop_filter_across_slices_enabled_flag: u32, ) -> Self
Creates the bindgen field
Auto Trait Implementations§
impl Freeze for HevcLongSliceFlags
impl RefUnwindSafe for HevcLongSliceFlags
impl Send for HevcLongSliceFlags
impl Sync for HevcLongSliceFlags
impl Unpin for HevcLongSliceFlags
impl UnwindSafe for HevcLongSliceFlags
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