pub struct NativeCodecCapabilities {
pub video: Vec<NativeVideoEncoderCapability>,
pub audio: Vec<NativeAudioEncoderCapability>,
}Expand description
Runtime codec inventory for the native sinks.
Which containers offer which codec is the engine’s policy
(alpha2_media::Container), the same on every runtime; this says which
of those codecs this runtime can encode.
Fields§
§video: Vec<NativeVideoEncoderCapability>Video encoders accepted by NativeVideoEncodeSink and
NativeAvEncodeSink.
audio: Vec<NativeAudioEncoderCapability>Audio encoders accepted by NativeAvEncodeSink and the
GPU-resident and packet-copy exports.
Trait Implementations§
Source§impl Clone for NativeCodecCapabilities
impl Clone for NativeCodecCapabilities
Source§impl Debug for NativeCodecCapabilities
impl Debug for NativeCodecCapabilities
impl Eq for NativeCodecCapabilities
Source§impl PartialEq for NativeCodecCapabilities
impl PartialEq for NativeCodecCapabilities
impl StructuralPartialEq for NativeCodecCapabilities
Auto Trait Implementations§
impl Freeze for NativeCodecCapabilities
impl RefUnwindSafe for NativeCodecCapabilities
impl Send for NativeCodecCapabilities
impl Sync for NativeCodecCapabilities
impl Unpin for NativeCodecCapabilities
impl UnsafeUnpin for NativeCodecCapabilities
impl UnwindSafe for NativeCodecCapabilities
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.