pub enum RateControl {
ConstQp(u8),
Crf(f32),
Bitrate(u64),
}Expand description
Rate control.
Variants§
ConstQp(u8)
Constant QP (NVENC -rc constqp -qp N).
Crf(f32)
Constant rate factor / constant quality (-crf N or NVENC -cq N).
Bitrate(u64)
Average bitrate in bits/s.
Trait Implementations§
Source§impl Clone for RateControl
impl Clone for RateControl
impl Copy for RateControl
Source§impl Debug for RateControl
impl Debug for RateControl
Source§impl Display for RateControl
impl Display for RateControl
Source§impl FromStr for RateControl
impl FromStr for RateControl
Source§impl PartialEq for RateControl
impl PartialEq for RateControl
impl StructuralPartialEq for RateControl
Auto Trait Implementations§
impl Forget for RateControl
impl Freeze for RateControl
impl RefUnwindSafe for RateControl
impl Send for RateControl
impl Sync for RateControl
impl Unpin for RateControl
impl UnsafeUnpin for RateControl
impl UnwindSafe for RateControl
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