Home | History | Annotate | Download | only in src

Lines Matching refs:WT

1394 template<typename T, typename WT, typename AT, int ONE, class VecOp>
1398 typedef WT buf_type;
1401 void operator()(const T** src, WT** dst, int count,
1414 WT *D0 = dst[k], *D1 = dst[k+1];
1418 WT a0 = alpha[dx*2], a1 = alpha[dx*2+1];
1419 WT t0 = S0[sx]*a0 + S0[sx + cn]*a1;
1420 WT t1 = S1[sx]*a0 + S1[sx + cn]*a1;
1427 D0[dx] = WT(S0[sx]*ONE); D1[dx] = WT(S1[sx]*ONE);
1434 WT *D = dst[k];
1442 D[dx] = WT(S[xofs[dx]]*ONE);
1448 template<typename T, typename WT, typename AT, class CastOp, class VecOp>
1452 typedef WT buf_type;
1455 void operator()(const WT** src, T* dst, const AT* beta, int width ) const
1457 WT b0 = beta[0], b1 = beta[1];
1458 const WT *S0 = src[0], *S1 = src[1];
1466 WT t0, t1;
1509 template<typename T, typename WT, typename AT>
1513 typedef WT buf_type;
1516 void operator()(const T** src, WT** dst, int count,
1523 WT *D = dst[k];
1530 WT v = 0;
1561 template<typename T, typename WT, typename AT, class CastOp, class VecOp>
1565 typedef WT buf_type;
1568 void operator()(const WT** src, T* dst, const AT* beta, int width ) const
1570 WT b0 = beta[0], b1 = beta[1], b2 = beta[2], b3 = beta[3];
1571 const WT *S0 = src[0], *S1 = src[1], *S2 = src[2], *S3 = src[3];
1582 template<typename T, typename WT, typename AT>
1586 typedef WT buf_type;
1589 void operator()(const T** src, WT** dst, int count,
1596 WT *D = dst[k];
1603 WT v = 0;
1636 template<typename T, typename WT, typename AT, class CastOp, class VecOp>
1640 typedef WT buf_type;
1643 void operator()(const WT** src, T* dst, const AT* beta, int width ) const
1651 WT b = beta[0];
1652 const WT* S = src[0];
1653 WT s0 = S[x]*b, s1 = S[x+1]*b, s2 = S[x+2]*b, s3 = S[x+3]*b;
1689 typedef typename HResize::buf_type WT;
1713 AutoBuffer<WT> _buffer(bufstep*ksize);
1715 WT* rows[MAX_ESIZE]={0};
1721 rows[k] = (WT*)_buffer + bufstep*k;
1749 hresize( (const T**)(srows + k0), (WT**)(rows + k0), ksize - k0, xofs, (const AT*)(alpha),
1751 vresize( (const WT**)rows, (T*)(dst.data + dst.step*dy), beta, dsize.width );
1792 template <typename T, typename WT>
2407 template <typename T, typename WT, typename VecOp>
2449 WT sum = 0;
2463 WT sum = 0;
2494 template<typename T, typename WT, typename VecOp>
2499 resizeAreaFast_Invoker<T, WT, VecOp> invoker(src, dst, scale_x,
2511 template<typename T, typename WT> class ResizeArea_Invoker :
2534 AutoBuffer<WT> _buffer(dsize.width*2);
2537 WT *buf = _buffer, *sum = buf + dsize.width;
2541 sum[dx] = (WT)0;
2545 WT beta = ytab[j].alpha;
2552 buf[dx] = (WT)0;
2558 WT alpha = xtab[k].alpha;
2566 WT alpha = xtab[k].alpha;
2567 WT t0 = buf[dxn] + S[sxn]*alpha;
2568 WT t1 = buf[dxn+1] + S[sxn+1]*alpha;
2576 WT alpha = xtab[k].alpha;
2577 WT t0 = buf[dxn] + S[sxn]*alpha;
2578 WT t1 = buf[dxn+1] + S[sxn+1]*alpha;
2579 WT t2 = buf[dxn+2] + S[sxn+2]*alpha;
2588 WT alpha = xtab[k].alpha;
2589 WT t0 = buf[dxn] + S[sxn]*alpha;
2590 WT t1 = buf[dxn+1] + S[sxn+1]*alpha;
2603 WT alpha = xtab[k].alpha;
2645 template <typename T, typename WT>
2652 ResizeArea_Invoker<T, WT>(src, dst, xtab, xtab_size, ytab, ytab_size, tabofs),
2987 "-D WT=%s -D convertToWT=%s -D convertToDT=%s -D cn=%d "
3004 "-D WT=%s -D convertToWT=%s -D convertToDT=%s -D cn=%d "
3806 typedef typename CastOp::type1 WT;
3861 *D = castOp(WT(S[0]*w[0] + S[1]*w[1] + S[sstep]*w[2] + S[sstep+1]*w[3]));
3870 WT t0 = S[0]*w[0] + S[2]*w[1] + S[sstep]*w[2] + S[sstep+2]*w[3];
3871 WT t1 = S[1]*w[0] + S[3]*w[1] + S[sstep+1]*w[2] + S[sstep+3]*w[3];
3880 WT t0 = S[0]*w[0] + S[3]*w[1] + S[sstep]*w[2] + S[sstep+3]*w[3];
3881 WT t1 = S[1]*w[0] + S[4]*w[1] + S[sstep+1]*w[2] + S[sstep+4]*w[3];
3882 WT t2 = S[2]*w[0] + S[5]*w[1] + S[sstep+2]*w[2] + S[sstep+5]*w[3];
3891 WT t0 = S[0]*w[0] + S[4]*w[1] + S[sstep]*w[2] + S[sstep+4]*w[3];
3892 WT t1 = S[1]*w[0] + S[5]*w[1] + S[sstep+1]*w[2] + S[sstep+5]*w[3];
3906 WT t0 = S[k]*w[0] + S[k+cn]*w[1] + S[sstep+k]*w[2] + S[sstep+k+cn]*w[3];
3957 D[0] = castOp(WT(v0*w[0] + v1*w[1] + v2*w[2] + v3*w[3]));
4003 D[k] = castOp(WT(v0[k]*w[0] + v1[k]*w[1] + v2[k]*w[2] + v3[k]*w[3]));
4018 typedef typename CastOp::type1 WT;
4056 WT sum = S[0]*w[0] + S[cn]*w[1] + S[cn*2]*w[2] + S[cn*3]*w[3];
4092 WT cv = cval[k], sum = cv*ONE;
4123 typedef typename CastOp::type1 WT;
4161 WT sum = 0;
4195 WT cv = cval[k], sum = cv*ONE;
4538 + format(" -D WT=%s -D convertToT=%s -D convertToWT=%s"
5503 opts = format("-D INTER_%s -D T=%s -D T1=%s -D ST=%s -D WT=%s -D depth=%d"