Function av_metrics::video::psnr_hvs::calculate_frame_psnr_hvs
source · pub fn calculate_frame_psnr_hvs<T: Pixel>(
frame1: &Frame<T>,
frame2: &Frame<T>,
bit_depth: usize,
chroma_sampling: ChromaSampling
) -> Result<PlanarMetrics, Box<dyn Error>>
Expand description
Calculates the PSNR-HVS score between two video frames. Higher is better.