pub struct FrameResult {
pub frame_num: i32,
pub vmaf: f64,
pub psnr: f64,
pub psnr_u: f64,
pub psnr_v: f64,
pub ssim: f64,
pub ssimulacra2: f64,
pub butteraugli: f64,
pub ms_ssim: f64,
pub vif: f64,
pub cambi: f64,
pub xpsnr: f64,
}Expand description
Quality scores for a single frame.
Fields§
§frame_num: i32Frame index within the video.
vmaf: f64VMAF score for this frame.
psnr: f64Luma (Y) PSNR (dB) for this frame.
psnr_u: f64Cb/U-plane PSNR (dB) for this frame.
psnr_v: f64Cr/V-plane PSNR (dB) for this frame.
ssim: f64SSIM for this frame.
ssimulacra2: f64SSIMULACRA2 score for this frame.
butteraugli: f64Butteraugli distance for this frame.
ms_ssim: f64Multi-scale SSIM for this frame.
vif: f64VIF for this frame.
cambi: f64CAMBI banding score for this frame (lower is better).
xpsnr: f64Weighted XPSNR (dB) for this frame.
Trait Implementations§
Source§impl Clone for FrameResult
impl Clone for FrameResult
Source§fn clone(&self) -> FrameResult
fn clone(&self) -> FrameResult
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 FrameResult
impl Debug for FrameResult
Source§impl Default for FrameResult
impl Default for FrameResult
Source§fn default() -> FrameResult
fn default() -> FrameResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FrameResult
impl<'de> Deserialize<'de> for FrameResult
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 FrameResult
impl RefUnwindSafe for FrameResult
impl Send for FrameResult
impl Sync for FrameResult
impl Unpin for FrameResult
impl UnsafeUnpin for FrameResult
impl UnwindSafe for FrameResult
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