Template Class InterpolationWrapImpl

Nested Relationships

Nested Types

Inheritance Relationships

Derived Type

Class Documentation

template<class BW, NVCVInterpolationType I>
class InterpolationWrapImpl

Subclassed by nvcv::cuda::InterpolationWrap< BW, I >

Public Types

using BorderWrapper = BW
using TensorWrapper = typename BorderWrapper::TensorWrapper
using ValueType = typename BorderWrapper::ValueType

Public Functions

InterpolationWrapImpl() = default
inline explicit __host__ InterpolationWrapImpl(const TensorDataStridedCuda &tensor, ValueType borderValue = {})
template<typename... Args> inline explicit __host__ __device__ InterpolationWrapImpl (TensorWrapper tensorWrap, ValueType borderValue, Args... tensorShape)
inline explicit __host__ __device__ InterpolationWrapImpl (BorderWrapper borderWrap)
inline const __host__ __device__ BorderWrapper & borderWrap () const
inline __host__ __device__ float scaleX () const
inline __host__ __device__ float scaleY () const
inline __host__ __device__ bool isIntegerArea () const

Public Static Attributes

static constexpr int kNumDimensions = BorderWrapper::kNumDimensions
static constexpr NVCVInterpolationType kInterpolationType = I
static constexpr auto kActiveDimensions = BorderWrapper::kActiveDimensions
static constexpr int kNumActiveDimensions = BorderWrapper::kNumActiveDimensions
static constexpr ActiveCoordMap kCoordMap = {}

Protected Functions

template<typename DimType> inline const __host__ __device__ ValueType & doGetValue (DimType c, int x, int y) const

Protected Attributes

const BorderWrapper m_borderWrap = {}
struct ActiveCoordMap

Public Functions

inline constexpr ActiveCoordMap()

Public Members

int id[kNumDimensions]