Struct openh264_sys2::SSliceArgument
source · [−]#[repr(C)]pub struct SSliceArgument {
pub uiSliceMode: SliceModeEnum,
pub uiSliceNum: c_uint,
pub uiSliceMbNum: [c_uint; 35],
pub uiSliceSizeConstraint: c_uint,
}
Expand description
@brief Structure for slice argument
Fields
uiSliceMode: SliceModeEnum
< by default, uiSliceMode will be SM_SINGLE_SLICE
uiSliceNum: c_uint
< only used when uiSliceMode=1, when uiSliceNum=0 means auto design it with cpu core number
uiSliceMbNum: [c_uint; 35]
< only used when uiSliceMode=2; when =0 means setting one MB row a slice
uiSliceSizeConstraint: c_uint
< now only used when uiSliceMode=4
Trait Implementations
sourceimpl Clone for SSliceArgument
impl Clone for SSliceArgument
sourcefn clone(&self) -> SSliceArgument
fn clone(&self) -> SSliceArgument
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for SSliceArgument
impl Default for SSliceArgument
impl Copy for SSliceArgument
Auto Trait Implementations
impl RefUnwindSafe for SSliceArgument
impl Send for SSliceArgument
impl Sync for SSliceArgument
impl Unpin for SSliceArgument
impl UnwindSafe for SSliceArgument
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more