pub enum RateControlMode {
Crf,
CappedCrf,
Qp,
Vbr,
}Expand description
Rate control mode for encoding.
Variants§
Crf
Constant rate factor (default).
CappedCrf
CRF with VBV/decoder-model bitrate cap.
Qp
Fixed quantizer (Netflix-style, no R-D optimization).
Vbr
2-pass variable bitrate (for final delivery encodes).
Trait Implementations§
Source§impl Clone for RateControlMode
impl Clone for RateControlMode
Source§fn clone(&self) -> RateControlMode
fn clone(&self) -> RateControlMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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
Source§fn default() -> RateControlMode
fn default() -> RateControlMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RateControlMode
impl<'de> Deserialize<'de> for RateControlMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RateControlMode
impl PartialEq for RateControlMode
Source§fn eq(&self, other: &RateControlMode) -> bool
fn eq(&self, other: &RateControlMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RateControlMode
impl Serialize for RateControlMode
impl Copy for RateControlMode
impl Eq for RateControlMode
impl StructuralPartialEq 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 UnsafeUnpin 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