pub enum Backend {
VideoToolbox,
Vaapi,
Cuda,
D3d11va,
}Expand description
Hardware decoding backend.
hwdecode only manages hardware decoders — software fallback is
out of scope. If no backend in [probe_order] for the current platform
can decode a stream, crate::VideoDecoder::open returns
crate::Error::AllBackendsFailed and the caller decides how to fall
back (e.g. by opening an ffmpeg::decoder::Video directly).
Variants§
VideoToolbox
Apple VideoToolbox (macOS, iOS, iPadOS, tvOS, visionOS).
Vaapi
Linux Video Acceleration API (Intel / AMD GPUs).
Cuda
NVIDIA NVDEC via CUDA (Linux / Windows on NVIDIA hardware).
D3d11va
Microsoft Direct3D 11 Video Acceleration (Windows).
Trait Implementations§
impl Copy for Backend
impl Eq for Backend
impl StructuralPartialEq for Backend
Auto Trait Implementations§
impl Freeze for Backend
impl RefUnwindSafe for Backend
impl Send for Backend
impl Sync for Backend
impl Unpin for Backend
impl UnsafeUnpin for Backend
impl UnwindSafe for Backend
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