template struct cv::cudev::ResizePtrSz

#include <resize.hpp>

template <class SrcPtr>
struct ResizePtrSz: public cv::cudev::ResizePtr
{
    // fields

    int cols;
    int rows;

    // methods

    template <typename T>
    __host__ void
    assignTo(
        GpuMat_<T>& dst,
        Stream& stream = Stream::Null()
        ) const;
};

Inherited Members

public:
    // typedefs

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

    // fields

    float fx;
    float fy;
    SrcPtr src;

    // methods

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