pub struct FrameComplexity {
pub pts: Duration,
pub spatial: f64,
pub temporal: f64,
pub dct_energy: f64,
}Expand description
Complexity metrics for a single frame.
Fields§
§pts: DurationPresentation timestamp of the frame.
spatial: f64Spatial complexity: normalized luma entropy (0-1).
temporal: f64Temporal complexity: inter-frame luma difference (0-255).
dct_energy: f64Average DCT coefficient energy.
Trait Implementations§
Source§impl Clone for FrameComplexity
impl Clone for FrameComplexity
Source§fn clone(&self) -> FrameComplexity
fn clone(&self) -> FrameComplexity
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 moreSource§impl Debug for FrameComplexity
impl Debug for FrameComplexity
Source§impl<'de> Deserialize<'de> for FrameComplexity
impl<'de> Deserialize<'de> for FrameComplexity
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FrameComplexity
impl RefUnwindSafe for FrameComplexity
impl Send for FrameComplexity
impl Sync for FrameComplexity
impl Unpin for FrameComplexity
impl UnsafeUnpin for FrameComplexity
impl UnwindSafe for FrameComplexity
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