pub enum HwAccelType {
None,
Cuda,
Qsv,
Vaapi,
VideoToolbox,
Amf,
}Expand description
Hardware acceleration backend type.
Variants§
None
Software (no hardware acceleration).
Cuda
NVIDIA CUDA / NVENC / NVDEC.
Qsv
Intel Quick Sync Video.
Vaapi
VA-API (Linux open-source GPU acceleration).
VideoToolbox
Apple VideoToolbox.
Amf
AMD AMF (Advanced Media Framework).
Implementations§
Source§impl HwAccelType
impl HwAccelType
Trait Implementations§
Source§impl Clone for HwAccelType
impl Clone for HwAccelType
Source§fn clone(&self) -> HwAccelType
fn clone(&self) -> HwAccelType
Returns a duplicate 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 HwAccelType
impl Debug for HwAccelType
Source§impl Hash for HwAccelType
impl Hash for HwAccelType
Source§impl PartialEq for HwAccelType
impl PartialEq for HwAccelType
impl Copy for HwAccelType
impl Eq for HwAccelType
impl StructuralPartialEq for HwAccelType
Auto Trait Implementations§
impl Freeze for HwAccelType
impl RefUnwindSafe for HwAccelType
impl Send for HwAccelType
impl Sync for HwAccelType
impl Unpin for HwAccelType
impl UnsafeUnpin for HwAccelType
impl UnwindSafe for HwAccelType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more