pub trait QualityPSNRTraitConst: QualityBaseTraitConst {
// Required method
fn as_raw_QualityPSNR(&self) -> *const c_void;
// Provided methods
fn empty(&self) -> Result<bool> { ... }
fn get_max_pixel_value(&self) -> Result<f64> { ... }
}
Expand description
Constant methods for crate::quality::QualityPSNR
Required Methods§
fn as_raw_QualityPSNR(&self) -> *const c_void
Provided Methods§
sourcefn get_max_pixel_value(&self) -> Result<f64>
fn get_max_pixel_value(&self) -> Result<f64>
return the maximum pixel value used for PSNR computation
Object Safety§
This trait is not object safe.