Function av_metrics::video::ssim::calculate_video_ssim
source · pub fn calculate_video_ssim<D: Decoder, F: Fn(usize) + Send>(
decoder1: &mut D,
decoder2: &mut D,
frame_limit: Option<usize>,
progress_callback: F
) -> Result<PlanarMetrics, Box<dyn Error>>
Expand description
Calculates the SSIM score between two videos. Higher is better.