Struct openh264_sys2::SRateThresholds
source · [−]#[repr(C)]pub struct SRateThresholds {
pub iWidth: c_int,
pub iHeight: c_int,
pub iThresholdOfInitRate: c_int,
pub iThresholdOfMaxRate: c_int,
pub iThresholdOfMinRate: c_int,
pub iMinThresholdFrameRate: c_int,
pub iSkipFrameRate: c_int,
pub iSkipFrameStep: c_int,
}
Expand description
@brief thresholds of the initial, maximal and minimal rate
Fields
iWidth: c_int
< frame width
iHeight: c_int
< frame height
iThresholdOfInitRate: c_int
< threshold of initial rate
iThresholdOfMaxRate: c_int
< threshold of maximal rate
iThresholdOfMinRate: c_int
< threshold of minimal rate
iMinThresholdFrameRate: c_int
< min frame rate min
iSkipFrameRate: c_int
< skip to frame rate min
iSkipFrameStep: c_int
< how many frames to skip
Trait Implementations
sourceimpl Clone for SRateThresholds
impl Clone for SRateThresholds
sourcefn clone(&self) -> SRateThresholds
fn clone(&self) -> SRateThresholds
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 Debug for SRateThresholds
impl Debug for SRateThresholds
sourceimpl Default for SRateThresholds
impl Default for SRateThresholds
sourcefn default() -> SRateThresholds
fn default() -> SRateThresholds
Returns the “default value” for a type. Read more
sourceimpl Hash for SRateThresholds
impl Hash for SRateThresholds
sourceimpl Ord for SRateThresholds
impl Ord for SRateThresholds
sourceimpl PartialEq<SRateThresholds> for SRateThresholds
impl PartialEq<SRateThresholds> for SRateThresholds
sourcefn eq(&self, other: &SRateThresholds) -> bool
fn eq(&self, other: &SRateThresholds) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SRateThresholds) -> bool
fn ne(&self, other: &SRateThresholds) -> bool
This method tests for !=
.
sourceimpl PartialOrd<SRateThresholds> for SRateThresholds
impl PartialOrd<SRateThresholds> for SRateThresholds
sourcefn partial_cmp(&self, other: &SRateThresholds) -> Option<Ordering>
fn partial_cmp(&self, other: &SRateThresholds) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for SRateThresholds
impl Eq for SRateThresholds
impl StructuralEq for SRateThresholds
impl StructuralPartialEq for SRateThresholds
Auto Trait Implementations
impl RefUnwindSafe for SRateThresholds
impl Send for SRateThresholds
impl Sync for SRateThresholds
impl Unpin for SRateThresholds
impl UnwindSafe for SRateThresholds
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