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§
source§impl Clone for SRateThresholds
impl Clone for SRateThresholds
source§fn clone(&self) -> SRateThresholds
fn clone(&self) -> SRateThresholds
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 Debug for SRateThresholds
impl Debug for SRateThresholds
source§impl Default for SRateThresholds
impl Default for SRateThresholds
source§fn default() -> SRateThresholds
fn default() -> SRateThresholds
Returns the “default value” for a type. Read more
source§impl Hash for SRateThresholds
impl Hash for SRateThresholds
source§impl Ord for SRateThresholds
impl Ord for SRateThresholds
source§fn cmp(&self, other: &SRateThresholds) -> Ordering
fn cmp(&self, other: &SRateThresholds) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for SRateThresholds
impl PartialEq for SRateThresholds
source§fn 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 ==
.source§impl PartialOrd for SRateThresholds
impl PartialOrd for SRateThresholds
source§fn partial_cmp(&self, other: &SRateThresholds) -> Option<Ordering>
fn partial_cmp(&self, other: &SRateThresholds) -> Option<Ordering>
1.0.0 · source§fn 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 moreimpl Copy for SRateThresholds
impl Eq for SRateThresholds
impl StructuralPartialEq for SRateThresholds
Auto Trait Implementations§
impl Freeze for SRateThresholds
impl RefUnwindSafe for SRateThresholds
impl Send for SRateThresholds
impl Sync for SRateThresholds
impl Unpin for SRateThresholds
impl UnwindSafe for SRateThresholds
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