pub enum HwBackend {
VideoToolbox,
Vaapi,
MediaCodec,
}Expand description
A platform hardware-decode API — the fixed set from docs/SUPPORT.md.
Variants§
VideoToolbox
Apple VideoToolbox (macOS 11+, iOS 14+).
Vaapi
VAAPI / libva on linux-gnu, dlopen’d at runtime (absence degrades to “no decoder”, never a link failure).
MediaCodec
Android NDK MediaCodec.
Implementations§
Trait Implementations§
impl Copy for HwBackend
impl Eq for HwBackend
impl StructuralPartialEq for HwBackend
Auto Trait Implementations§
impl Freeze for HwBackend
impl RefUnwindSafe for HwBackend
impl Send for HwBackend
impl Sync for HwBackend
impl Unpin for HwBackend
impl UnsafeUnpin for HwBackend
impl UnwindSafe for HwBackend
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