Function get_scaling_factor
Source pub fn get_scaling_factor(src_encoding: &str, dst_encoding: &str) -> f64
Expand description
Returns the scaling factor when converting between encodings with
different bit depths
§Arguments
src_encoding - The source encoding
dst_encoding - The destination encoding
§Returns
The scaling factor when converting between encodings with different bit depths