| 37 | param::Remap::BorderMode bordertype> |
| 38 | struct GetSrcData { |
| 39 | static inline ctype get( |
| 40 | const ctype* src, int height, int width, int channel, int h, int w, int c, |
| 41 | float) { |
| 42 | height = megcv::border_interpolate<bordertype>(height, h); |
| 43 | width = megcv::border_interpolate<bordertype>(width, w); |
| 44 | return src[get_offset<format>(height, width, channel, h, w, c)]; |
| 45 | } |
| 46 | static inline int get_index( |
| 47 | int height, int width, int channel, int h, int w, int c) { |
| 48 | height = megcv::border_interpolate<bordertype>(height, h); |
no outgoing calls
no test coverage detected