| 77 | |
| 78 | template<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 | |
| 89 | template<typename Ty, typename Tp, int xdim, int order> |
| 90 | struct Interp1 {}; |
no test coverage detected