pub enum DecodeOutcome {
Hardware,
Software,
Unknown,
}Expand description
Backend-neutral classification of the effective decoder.
After the media backend negotiates a decoder for a stream, this categorises the result without exposing backend element names, GPU memory modes, or inference-framework details.
Used in HealthEvent::DecodeDecision and the internal
DecodeDecisionInfo diagnostic report.
Variants§
Hardware
A hardware-accelerated video decoder is in use.
Software
A software (CPU-only) video decoder is in use.
Unknown
The backend could not determine which decoder class is active.
This can happen with custom pipeline fragments or when the backend does not expose decoder identity.
Trait Implementations§
Source§impl Clone for DecodeOutcome
impl Clone for DecodeOutcome
Source§fn clone(&self) -> DecodeOutcome
fn clone(&self) -> DecodeOutcome
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DecodeOutcome
impl Debug for DecodeOutcome
Source§impl Display for DecodeOutcome
impl Display for DecodeOutcome
Source§impl Hash for DecodeOutcome
impl Hash for DecodeOutcome
Source§impl PartialEq for DecodeOutcome
impl PartialEq for DecodeOutcome
impl Copy for DecodeOutcome
impl Eq for DecodeOutcome
impl StructuralPartialEq for DecodeOutcome
Auto Trait Implementations§
impl Freeze for DecodeOutcome
impl RefUnwindSafe for DecodeOutcome
impl Send for DecodeOutcome
impl Sync for DecodeOutcome
impl Unpin for DecodeOutcome
impl UnsafeUnpin for DecodeOutcome
impl UnwindSafe for DecodeOutcome
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