1 #include "resize-linear-separable.hpp"
8 void compute_coefficients_bilinear(float* coeffs
, position_t num
, position_t denum
, position_t width
,
9 unsigned& count
, unsigned& base
)
12 if(base
< width
- 1) {
13 float fpos
= (num
% denum
) / denum
;
23 simple_resizer_linear_separable
r_bilinear("bilinear", compute_coefficients_bilinear
);