pub struct DecoderPluginCapabilitySummary {Show 14 fields
pub typed_codecs: Vec<DecoderPluginCodecSummary>,
pub codecs: Vec<String>,
pub supports_native_frame_output: bool,
pub native_requirements: Option<DecoderNativeRequirements>,
pub supports_hardware_decode: bool,
pub supports_cpu_video_frames: bool,
pub supports_audio_packets: bool,
pub supports_audio_frames: bool,
pub supports_pcm_frames: bool,
pub supports_gpu_handles: bool,
pub supports_presentation_release: bool,
pub supports_flush: bool,
pub supports_drain: bool,
pub max_sessions: Option<u32>,
}Expand description
Compact capability summary for one decoder plugin.
Fields§
§typed_codecs: Vec<DecoderPluginCodecSummary>§codecs: Vec<String>§supports_native_frame_output: bool§native_requirements: Option<DecoderNativeRequirements>§supports_hardware_decode: bool§supports_cpu_video_frames: bool§supports_audio_packets: bool§supports_audio_frames: bool§supports_pcm_frames: bool§supports_gpu_handles: bool§supports_presentation_release: bool§supports_flush: bool§supports_drain: bool§max_sessions: Option<u32>Trait Implementations§
Source§impl Clone for DecoderPluginCapabilitySummary
impl Clone for DecoderPluginCapabilitySummary
Source§fn clone(&self) -> DecoderPluginCapabilitySummary
fn clone(&self) -> DecoderPluginCapabilitySummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Eq for DecoderPluginCapabilitySummary
Source§impl From<&DecoderCapabilities> for DecoderPluginCapabilitySummary
impl From<&DecoderCapabilities> for DecoderPluginCapabilitySummary
Source§fn from(capabilities: &DecoderCapabilities) -> Self
fn from(capabilities: &DecoderCapabilities) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for DecoderPluginCapabilitySummary
Auto Trait Implementations§
impl Freeze for DecoderPluginCapabilitySummary
impl RefUnwindSafe for DecoderPluginCapabilitySummary
impl Send for DecoderPluginCapabilitySummary
impl Sync for DecoderPluginCapabilitySummary
impl Unpin for DecoderPluginCapabilitySummary
impl UnsafeUnpin for DecoderPluginCapabilitySummary
impl UnwindSafe for DecoderPluginCapabilitySummary
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
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.