Enum opencv::cudacodec::EncodePreset
source · #[repr(C)]
pub enum EncodePreset {
ENC_PRESET_P1,
ENC_PRESET_P2,
ENC_PRESET_P3,
ENC_PRESET_P4,
ENC_PRESET_P5,
ENC_PRESET_P6,
ENC_PRESET_P7,
}
Expand description
Nvidia Encoding Presets. Performance degrades and quality improves as we move from P1 to P7.
Variants§
Trait Implementations§
source§impl Clone for EncodePreset
impl Clone for EncodePreset
source§fn clone(&self) -> EncodePreset
fn clone(&self) -> EncodePreset
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 EncodePreset
impl Debug for EncodePreset
source§impl PartialEq<EncodePreset> for EncodePreset
impl PartialEq<EncodePreset> for EncodePreset
source§fn eq(&self, other: &EncodePreset) -> bool
fn eq(&self, other: &EncodePreset) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for EncodePreset
impl Eq for EncodePreset
impl StructuralEq for EncodePreset
impl StructuralPartialEq for EncodePreset
Auto Trait Implementations§
impl RefUnwindSafe for EncodePreset
impl Send for EncodePreset
impl Sync for EncodePreset
impl Unpin for EncodePreset
impl UnwindSafe for EncodePreset
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