Struct dynlink_nvidia_encode::api::EncodeConfig
source · pub struct EncodeConfig { /* private fields */ }
Expand description
Encoder configuration for a encode session
Implementations§
source§impl EncodeConfig
impl EncodeConfig
pub fn set_rate_control_mode(&mut self, mode: RateControlMode)
pub fn set_average_bit_rate(&mut self, value: u32)
pub fn set_max_bit_rate(&mut self, value: u32)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EncodeConfig
impl RefUnwindSafe for EncodeConfig
impl !Send for EncodeConfig
impl !Sync for EncodeConfig
impl Unpin for EncodeConfig
impl UnwindSafe for EncodeConfig
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