Struct openh264_sys2::TagEncParamBase
source · [−]#[repr(C)]pub struct TagEncParamBase {
pub iUsageType: EUsageType,
pub iPicWidth: c_int,
pub iPicHeight: c_int,
pub iTargetBitrate: c_int,
pub iRCMode: RC_MODES,
pub fMaxFrameRate: f32,
}
Expand description
@brief SVC Encoding Parameters
Fields
iUsageType: EUsageType
< application type; please refer to the definition of EUsageType
iPicWidth: c_int
< width of picture in luminance samples (the maximum of all layers if multiple spatial layers presents)
iPicHeight: c_int
< height of picture in luminance samples((the maximum of all layers if multiple spatial layers presents)
iTargetBitrate: c_int
< target bitrate desired, in unit of bps
iRCMode: RC_MODES
< rate control mode
fMaxFrameRate: f32
< maximal input frame rate
Trait Implementations
sourceimpl Clone for TagEncParamBase
impl Clone for TagEncParamBase
sourcefn clone(&self) -> TagEncParamBase
fn clone(&self) -> TagEncParamBase
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 TagEncParamBase
impl Debug for TagEncParamBase
sourceimpl Default for TagEncParamBase
impl Default for TagEncParamBase
sourceimpl PartialEq<TagEncParamBase> for TagEncParamBase
impl PartialEq<TagEncParamBase> for TagEncParamBase
sourcefn eq(&self, other: &TagEncParamBase) -> bool
fn eq(&self, other: &TagEncParamBase) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TagEncParamBase) -> bool
fn ne(&self, other: &TagEncParamBase) -> bool
This method tests for !=
.
sourceimpl PartialOrd<TagEncParamBase> for TagEncParamBase
impl PartialOrd<TagEncParamBase> for TagEncParamBase
sourcefn partial_cmp(&self, other: &TagEncParamBase) -> Option<Ordering>
fn partial_cmp(&self, other: &TagEncParamBase) -> 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 TagEncParamBase
impl StructuralPartialEq for TagEncParamBase
Auto Trait Implementations
impl RefUnwindSafe for TagEncParamBase
impl Send for TagEncParamBase
impl Sync for TagEncParamBase
impl Unpin for TagEncParamBase
impl UnwindSafe for TagEncParamBase
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