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

Function bicubicInterpFunc

src/backend/cuda/kernel/interp.hpp:79–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77
78template<typename Ty, typename Tp>
79__device__ inline static Ty bicubicInterpFunc(Ty val[4][4], Tp xratio,
80 Tp yratio, bool spline) {
81 Ty res[4];
82 res[0] = cubicInterpFunc(val[0], xratio, spline);
83 res[1] = cubicInterpFunc(val[1], xratio, spline);
84 res[2] = cubicInterpFunc(val[2], xratio, spline);
85 res[3] = cubicInterpFunc(val[3], xratio, spline);
86 return cubicInterpFunc(res, yratio, spline);
87}
88
89template<typename Ty, typename Tp, int xdim, int order>
90struct Interp1 {};

Callers 1

operator()Method · 0.70

Calls 1

cubicInterpFuncFunction · 0.70

Tested by

no test coverage detected