Enum openh264::encoder::RateControlMode
source · pub enum RateControlMode {
Quality,
Bitrate,
Bufferbased,
Timestamp,
BitrateModePostSkip,
Off,
}Expand description
Specifies the mode used by the encoder to control the rate.
Variants§
Quality
Quality mode.
Bitrate
Bitrate mode.
Bufferbased
No bitrate control, only using buffer status, adjust the video quality.
Timestamp
Rate control based timestamp.
BitrateModePostSkip
This is in-building RC MODE, WILL BE DELETED after algorithm tuning!
Off
Rate control off mode.
Trait Implementations§
source§impl Clone for RateControlMode
impl Clone for RateControlMode
source§fn clone(&self) -> RateControlMode
fn clone(&self) -> RateControlMode
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 RateControlMode
impl Debug for RateControlMode
source§impl Default for RateControlMode
impl Default for RateControlMode
impl Copy for RateControlMode
Auto Trait Implementations§
impl Freeze for RateControlMode
impl RefUnwindSafe for RateControlMode
impl Send for RateControlMode
impl Sync for RateControlMode
impl Unpin for RateControlMode
impl UnwindSafe for RateControlMode
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