pub enum RateControl {
ConstantBitrate(u64),
ConstantQuality(u32),
}
Expand description
Specifies the encoder operation
Variants§
ConstantBitrate(u64)
The encoder shall maintain the constant bitrate
ConstantQuality(u32)
The encoder shall maintain codec specific quality parameter constant (eg. QP for H.264) disregarding bitrate.
Trait Implementations§
Source§impl Clone for RateControl
impl Clone for RateControl
Source§fn clone(&self) -> RateControl
fn clone(&self) -> RateControl
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 RateControl
impl Debug for RateControl
Source§impl PartialEq for RateControl
impl PartialEq for RateControl
impl Eq for RateControl
impl StructuralPartialEq for RateControl
Auto Trait Implementations§
impl Freeze for RateControl
impl RefUnwindSafe for RateControl
impl Send for RateControl
impl Sync for RateControl
impl Unpin 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