void operator()(const uchar* src, uchar* dst, int width, int cn)
{
int ksize2 = this->ksize/2, ksize2n = ksize2*cn;
- const DT* kx = this->kernel.ptr<DT>() + ksize2;
+ const DT* kx = this->kernel.template ptr<DT>() + ksize2;
bool symmetrical = (this->symmetryType & KERNEL_SYMMETRICAL) != 0;
DT* D = (DT*)dst;
int i = this->vecOp(src, dst, width, cn), j, k;
void operator()(const uchar** src, uchar* dst, int dststep, int count, int width)
{
- const ST* ky = kernel.ptr<ST>();
+ const ST* ky = kernel.template ptr<ST>();
ST _delta = delta;
int _ksize = ksize;
int i, k;
void operator()(const uchar** src, uchar* dst, int dststep, int count, int width)
{
int ksize2 = this->ksize/2;
- const ST* ky = this->kernel.ptr<ST>() + ksize2;
+ const ST* ky = this->kernel.template ptr<ST>() + ksize2;
int i, k;
bool symmetrical = (symmetryType & KERNEL_SYMMETRICAL) != 0;
ST _delta = this->delta;
void operator()(const uchar** src, uchar* dst, int dststep, int count, int width)
{
int ksize2 = this->ksize/2;
- const ST* ky = this->kernel.ptr<ST>() + ksize2;
+ const ST* ky = this->kernel.template ptr<ST>() + ksize2;
int i;
bool symmetrical = (this->symmetryType & KERNEL_SYMMETRICAL) != 0;
bool is_1_2_1 = ky[0] == 1 && ky[1] == 2;
}
if( k1 == ksize )
k0 = std::min(k0, k); // remember the first row that needs to be computed
- srows[k] = src.ptr<T>(sy);
+ srows[k] = src.template ptr<T>(sy);
prev_sy[k] = sy;
}
continue;
}
- dx = vop(src.ptr<T>(sy0), D, w);
+ dx = vop(src.template ptr<T>(sy0), D, w);
for( ; dx < w; dx++ )
{
- const T* S = src.ptr<T>(sy0) + xofs[dx];
+ const T* S = src.template ptr<T>(sy0) + xofs[dx];
WT sum = 0;
k = 0;
#if CV_ENABLE_UNROLLED
{
if( sy0 + sy >= ssize.height )
break;
- const T* S = src.ptr<T>(sy0 + sy) + sx0;
+ const T* S = src.template ptr<T>(sy0 + sy) + sx0;
for( int sx = 0; sx < scale_x*cn; sx += cn )
{
if( sx0 + sx >= ssize.width )
int sy = ytab[j].si;
{
- const T* S = src->ptr<T>(sy);
+ const T* S = src->template ptr<T>(sy);
for( dx = 0; dx < dsize.width; dx++ )
buf[dx] = (WT)0;
if( dy != prev_dy )
{
- T* D = dst->ptr<T>(prev_dy);
+ T* D = dst->template ptr<T>(prev_dy);
for( dx = 0; dx < dsize.width; dx++ )
{
}
{
- T* D = dst->ptr<T>(prev_dy);
+ T* D = dst->template ptr<T>(prev_dy);
for( dx = 0; dx < dsize.width; dx++ )
D[dx] = saturate_cast<T>(sum[dx]);
}