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§
source§impl Clone for TagEncParamBase
impl Clone for TagEncParamBase
source§fn clone(&self) -> TagEncParamBase
fn clone(&self) -> TagEncParamBase
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 TagEncParamBase
impl Debug for TagEncParamBase
source§impl Default for TagEncParamBase
impl Default for TagEncParamBase
source§impl PartialEq for TagEncParamBase
impl PartialEq for TagEncParamBase
source§fn 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 ==
.source§impl PartialOrd for TagEncParamBase
impl PartialOrd for TagEncParamBase
source§fn partial_cmp(&self, other: &TagEncParamBase) -> Option<Ordering>
fn partial_cmp(&self, other: &TagEncParamBase) -> 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 TagEncParamBase
impl StructuralPartialEq for TagEncParamBase
Auto Trait Implementations§
impl Freeze for TagEncParamBase
impl RefUnwindSafe for TagEncParamBase
impl Send for TagEncParamBase
impl Sync for TagEncParamBase
impl Unpin for TagEncParamBase
impl UnwindSafe for TagEncParamBase
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