template struct cv::cudev::UnaryTransformPtr

#include <transform.hpp>

template <
    class SrcPtr,
    class Op
    >
struct UnaryTransformPtr
{
    // typedefs

    typedef PtrTraits<SrcPtr>::index_type index_type;
    typedef Op::result_type value_type;

    // fields

    Op op;
    SrcPtr src;

    // methods

    __device__ __forceinline__ Op::result_type
    operator()(
        typename PtrTraits<SrcPtr>::index_type y,
        typename PtrTraits<SrcPtr>::index_type x
        ) const;
};

// direct descendants

template <
    class SrcPtr,
    class Op
    >
struct UnaryTransformPtrSz;