#[repr(u32)]pub enum NvencRateControl {
ConstQp = 0,
VbrTargetQuality = 1,
}Expand description
NVENC rate control modes actually used by this service. The numeric
value matches the SDK’s NV_ENC_PARAMS_RC_MODE.
Variants§
ConstQp = 0
NV_ENC_PARAMS_RC_CONSTQP = 0. Every frame gets the same QP.
Strict archival mode — bitrate floats.
VbrTargetQuality = 1
NV_ENC_PARAMS_RC_VBR = 1 with targetQuality set. NVENC’s
CQ mode — quality-stable across content.
Trait Implementations§
Source§impl Clone for NvencRateControl
impl Clone for NvencRateControl
Source§fn clone(&self) -> NvencRateControl
fn clone(&self) -> NvencRateControl
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 NvencRateControl
Source§impl Debug for NvencRateControl
impl Debug for NvencRateControl
impl Eq for NvencRateControl
Source§impl PartialEq for NvencRateControl
impl PartialEq for NvencRateControl
Source§fn eq(&self, other: &NvencRateControl) -> bool
fn eq(&self, other: &NvencRateControl) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NvencRateControl
Auto Trait Implementations§
impl Freeze for NvencRateControl
impl RefUnwindSafe for NvencRateControl
impl Send for NvencRateControl
impl Sync for NvencRateControl
impl Unpin for NvencRateControl
impl UnsafeUnpin for NvencRateControl
impl UnwindSafe for NvencRateControl
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