| 35 | |
| 36 | template<typename InT, typename LocT> |
| 37 | InT bilinearInterpFunc(InT val[2][2], LocT xratio, LocT yratio) { |
| 38 | InT res[2]; |
| 39 | res[0] = linearInterpFunc(val[0], xratio); |
| 40 | res[1] = linearInterpFunc(val[1], xratio); |
| 41 | return linearInterpFunc(res, yratio); |
| 42 | } |
| 43 | |
| 44 | template<typename InT, typename LocT> |
| 45 | InT cubicInterpFunc(InT val[4], LocT xratio, bool spline) { |
no test coverage detected