pub enum PoolStrategy {
Mean,
HarmonicMean,
Min,
Max,
P1,
P5,
P10,
Median,
}Expand description
A strategy for reducing a series of per-frame scores to a single value.
Variants§
Mean
Arithmetic mean.
HarmonicMean
Harmonic mean — penalises low outliers; the convention Netflix uses for VMAF.
Min
Minimum (single worst frame for higher-is-better metrics).
Max
Maximum (single best frame for higher-is-better metrics).
P1
1st percentile — worst-1% pooling, the part of the clip viewers notice most.
P5
5th percentile.
P10
10th percentile.
Median
Median (50th percentile).
Implementations§
Trait Implementations§
Source§impl Clone for PoolStrategy
impl Clone for PoolStrategy
Source§fn clone(&self) -> PoolStrategy
fn clone(&self) -> PoolStrategy
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 Copy for PoolStrategy
Source§impl Debug for PoolStrategy
impl Debug for PoolStrategy
Source§impl<'de> Deserialize<'de> for PoolStrategy
impl<'de> Deserialize<'de> for PoolStrategy
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
impl Eq for PoolStrategy
Source§impl PartialEq for PoolStrategy
impl PartialEq for PoolStrategy
Source§fn eq(&self, other: &PoolStrategy) -> bool
fn eq(&self, other: &PoolStrategy) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PoolStrategy
impl Serialize for PoolStrategy
impl StructuralPartialEq for PoolStrategy
Auto Trait Implementations§
impl Freeze for PoolStrategy
impl RefUnwindSafe for PoolStrategy
impl Send for PoolStrategy
impl Sync for PoolStrategy
impl Unpin for PoolStrategy
impl UnsafeUnpin for PoolStrategy
impl UnwindSafe for PoolStrategy
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