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§
source§impl Clone for SSliceArgument
impl Clone for SSliceArgument
source§fn clone(&self) -> SSliceArgument
fn clone(&self) -> SSliceArgument
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 Default for SSliceArgument
impl Default for SSliceArgument
impl Copy for SSliceArgument
Auto Trait Implementations§
impl Freeze for SSliceArgument
impl RefUnwindSafe for SSliceArgument
impl Send for SSliceArgument
impl Sync for SSliceArgument
impl Unpin for SSliceArgument
impl UnwindSafe for SSliceArgument
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