template struct cv::cudev::BinaryTransformPtr

#include <transform.hpp>

template <
    class Src1Ptr,
    class Src2Ptr,
    class Op
    >
struct BinaryTransformPtr
{
    // typedefs

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

    // fields

    Op op;
    Src1Ptr src1;
    Src2Ptr src2;

    // methods

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

// direct descendants

template <
    class Src1Ptr,
    class Src2Ptr,
    class Op
    >
struct BinaryTransformPtrSz;