pub fn affine_params_symmetric(fmin: f32, fmax: f32, qmax: i32) -> (f32, i32)Expand description
Symmetric affine parameters (scale, 0) covering [fmin, fmax]: the scale
maps the larger magnitude to qmax (C++ computeAffineParamsSymmetric).
A range of zeros, or a qmax of 0 or below, gives scale 1.0.