pub struct NativeVideoEncoderCapability {
pub codec: NativeVideoCodec,
pub encoder_name: String,
pub class: NativeEncoderClass,
pub hardware_accelerated: bool,
pub preferred: bool,
pub minimum_width: u32,
pub minimum_height: u32,
}Expand description
One linked video encoder available to the native sinks.
Fields§
§codec: NativeVideoCodecStable logical codec requested through VideoEncodeConfig.
encoder_name: StringConcrete FFmpeg encoder implementation for this codec.
class: NativeEncoderClassHow the linked runtime declares this encoder executes.
hardware_accelerated: boolWhether this entry runs the encoder on the GPU. A hybrid encoder is
listed once per way it runs here (hybrid_encoders_use_hardware).
preferred: boolWhether this is the default encoder for its logical codec.
minimum_width: u32Smallest even width accepted by this concrete encoder.
minimum_height: u32Smallest even height accepted by this concrete encoder.
Trait Implementations§
Source§impl Clone for NativeVideoEncoderCapability
impl Clone for NativeVideoEncoderCapability
Source§impl Debug for NativeVideoEncoderCapability
impl Debug for NativeVideoEncoderCapability
impl Eq for NativeVideoEncoderCapability
impl StructuralPartialEq for NativeVideoEncoderCapability
Auto Trait Implementations§
impl Freeze for NativeVideoEncoderCapability
impl RefUnwindSafe for NativeVideoEncoderCapability
impl Send for NativeVideoEncoderCapability
impl Sync for NativeVideoEncoderCapability
impl Unpin for NativeVideoEncoderCapability
impl UnsafeUnpin for NativeVideoEncoderCapability
impl UnwindSafe for NativeVideoEncoderCapability
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.