#[repr(i64)]pub enum AmfRateControl {
Cqp = 1,
QualityVbr = 5,
}Expand description
AMF AV1 rate control modes actually used by this service.
Values match AMF_VIDEO_ENCODER_AV1_RATE_CONTROL_METHOD_*.
Variants§
Cqp = 1
AMF_VIDEO_ENCODER_AV1_RATE_CONTROL_METHOD_CQP = 1. Every
frame gets the same q-index. Archival.
QualityVbr = 5
AMF_VIDEO_ENCODER_AV1_RATE_CONTROL_METHOD_QUALITY_VBR = 5.
Quality-target VBR — bitrate floats to hit a perceptual level.
Trait Implementations§
Source§impl Clone for AmfRateControl
impl Clone for AmfRateControl
Source§fn clone(&self) -> AmfRateControl
fn clone(&self) -> AmfRateControl
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 moreimpl Copy for AmfRateControl
Source§impl Debug for AmfRateControl
impl Debug for AmfRateControl
impl Eq for AmfRateControl
Source§impl PartialEq for AmfRateControl
impl PartialEq for AmfRateControl
Source§fn eq(&self, other: &AmfRateControl) -> bool
fn eq(&self, other: &AmfRateControl) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AmfRateControl
Auto Trait Implementations§
impl Freeze for AmfRateControl
impl RefUnwindSafe for AmfRateControl
impl Send for AmfRateControl
impl Sync for AmfRateControl
impl Unpin for AmfRateControl
impl UnsafeUnpin for AmfRateControl
impl UnwindSafe for AmfRateControl
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