pub struct NativeHardwareDecodeCapability {
pub codec: NativeVideoCodec,
pub decoder_name: Option<String>,
pub hardware_config: bool,
pub software_decoder: Option<String>,
}Expand description
One codec’s hardware decode registration for this platform’s backend.
Fields§
§codec: NativeVideoCodecLogical codec.
decoder_name: Option<String>Concrete FFmpeg decoder implementation, when one is linked.
hardware_config: boolWhether that decoder advertises this platform’s hardware configuration.
This is registration only. Whether a device, profile, and surface format actually work is decided when a stream is opened, and every export reports which path its frames took.
software_decoder: Option<String>The decoder a software session opens for the codec, or None when
only a hardware session can decode it (AV1 on a runtime without
libdav1d).
Trait Implementations§
impl Eq for NativeHardwareDecodeCapability
impl StructuralPartialEq for NativeHardwareDecodeCapability
Auto Trait Implementations§
impl Freeze for NativeHardwareDecodeCapability
impl RefUnwindSafe for NativeHardwareDecodeCapability
impl Send for NativeHardwareDecodeCapability
impl Sync for NativeHardwareDecodeCapability
impl Unpin for NativeHardwareDecodeCapability
impl UnsafeUnpin for NativeHardwareDecodeCapability
impl UnwindSafe for NativeHardwareDecodeCapability
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.