]> git.sesse.net Git - movit/blobdiff - resample_effect.h
Refactor calculate_scaling_weights() so that it is possible to get weights without...
[movit] / resample_effect.h
index 027a497cc5fb5d6616ad43190117e4f91ed025d9..6a96ded56e41334637c667ca480194b7f26433f4 100644 (file)
@@ -44,7 +44,7 @@ struct ScalingWeights {
        std::unique_ptr<Tap<fp16_int_t>[]> bilinear_weights_fp16;
        std::unique_ptr<Tap<float>[]> bilinear_weights_fp32;
 };
-ScalingWeights calculate_scaling_weights(unsigned src_size, unsigned dst_size, float zoom, float offset);
+ScalingWeights calculate_bilinear_scaling_weights(unsigned src_size, unsigned dst_size, float zoom, float offset);
 
 // A simple manager for support data stored in a 2D texture.
 // Consider moving it to a shared location of more classes