Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

template<class DstArrayT, class SrcArrayT, class KerArrayT, class PixOpT, class RedOpT>
static void Impala::Core::Array::Pattern::FuncGenConv2dSep_Line_YdirSim ( DstArrayT *  dst,
SrcArrayT *  src,
KerArrayT *  ker,
PixOpT &  pixOp,
RedOpT &  redOp,
int  y,
TagCallValue  tag 
) [static]

Line : Y direction, simple, using value call.

Definition at line 345 of file FuncGenConv2dSep.h.

References ArrayCPB(), ArrayCW(), ArrayInc(), and FuncGenConv2dSep_Pix_Ydir().

Referenced by FuncGenConv2dSepDispatch_V().

00348 {
00349     typedef typename DstArrayT::StorType DstStorT;
00350     typedef typename DstArrayT::ArithType DstArithT;
00351     typedef typename SrcArrayT::StorType SrcStorT;
00352     typedef typename SrcArrayT::ArithType SrcArithT;
00353     typedef typename KerArrayT::StorType KerStorT;
00354     typedef typename KerArrayT::ArithType KerArithT;
00355 
00356     int width = ArrayCW(dst);
00357     int kerWidth = ArrayCW(ker);
00358     int kerBW = ArrayCW(ker) / 2;
00359     int srcInc = ArrayInc(src, 0, 1);
00360     KerArithT neutralElement = RedOpT::NeutralElement();
00361     DstStorT* dPtr = ArrayCPB(dst, 0, y);
00362     SrcStorT* sPtr = ArrayCPB(src, 0, -kerBW + y);
00363     KerStorT* kPtr = ArrayCPB(ker, 0, 0);
00364     for (int x=0 ; x<width ; x++)
00365     {
00366         FuncGenConv2dSep_Pix_Ydir(dPtr, sPtr, kPtr, kerWidth, srcInc,
00367                                   KerArrayT::ElemSize(), pixOp, redOp,
00368                                   neutralElement, tag);
00369         sPtr += SrcArrayT::ElemSize();
00370         dPtr += DstArrayT::ElemSize();
00371     }
00372 }

Here is the call graph for this function:


Generated on Fri Mar 19 11:01:07 2010 for ImpalaSrc by  doxygen 1.5.1