| 38 | |
| 39 | template<typename Ty, typename Tp> |
| 40 | __device__ Ty linearInterpFunc(Ty val[2], Tp ratio) { |
| 41 | return (1 - ratio) * val[0] + ratio * val[1]; |
| 42 | } |
| 43 | |
| 44 | template<typename Ty, typename Tp> |
| 45 | __device__ Ty bilinearInterpFunc(Ty val[2][2], Tp xratio, Tp yratio) { |
no outgoing calls
no test coverage detected