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

Function bicubicInterpFunc

src/backend/oneapi/kernel/interp.hpp:89–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87
88template<typename Ty, typename Tp>
89inline static Ty bicubicInterpFunc(Ty val[4][4], Tp xratio, Tp yratio,
90 bool spline) {
91 Ty res[4];
92 res[0] = cubicInterpFunc(val[0], xratio, spline);
93 res[1] = cubicInterpFunc(val[1], xratio, spline);
94 res[2] = cubicInterpFunc(val[2], xratio, spline);
95 res[3] = cubicInterpFunc(val[3], xratio, spline);
96 return cubicInterpFunc(res, yratio, spline);
97}
98
99template<typename Ty, typename Tp, int order>
100struct Interp1 {};

Callers 1

operator()Method · 0.70

Calls 1

cubicInterpFuncFunction · 0.70

Tested by

no test coverage detected