MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / bicubicInterpFunc

Function bicubicInterpFunc

src/backend/cpu/kernel/interp.hpp:71–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69
70template<typename InT, typename LocT>
71InT bicubicInterpFunc(InT val[4][4], LocT xratio, LocT yratio, bool spline) {
72 InT res[4];
73 res[0] = cubicInterpFunc(val[0], xratio, spline);
74 res[1] = cubicInterpFunc(val[1], xratio, spline);
75 res[2] = cubicInterpFunc(val[2], xratio, spline);
76 res[3] = cubicInterpFunc(val[3], xratio, spline);
77 return cubicInterpFunc(res, yratio, spline);
78}
79
80template<typename InT, typename LocT, int order>
81struct Interp1 {};

Callers 1

operator()Method · 0.70

Calls 1

cubicInterpFuncFunction · 0.70

Tested by

no test coverage detected