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_Xdir ( DstArrayT *  dst,
SrcArrayT *  src,
KerArrayT *  ker,
PixOpT &  pixOp,
RedOpT &  redOp,
int  y,
TagCallValue  tag 
) [static]

Line : X direction, using value call.

Processes an entire line designated by y using value call. Calls FuncGenConv2dSep_Pix_Xdir "width" times to do a neighbourhood.

Definition at line 131 of file FuncGenConv2dSep.h.

References ArrayCPB(), ArrayCW(), and FuncGenConv2dSep_Pix_Xdir().

Referenced by FuncGenConv2dSepDispatch_H().

00134 {
00135     typedef typename DstArrayT::StorType DstStorT;
00136     typedef typename DstArrayT::ArithType DstArithT;
00137     typedef typename SrcArrayT::StorType SrcStorT;
00138     typedef typename SrcArrayT::ArithType SrcArithT;
00139     typedef typename KerArrayT::StorType KerStorT;
00140     typedef typename KerArrayT::ArithType KerArithT;
00141 
00142     int width = ArrayCW(dst);
00143     int kerWidth = ArrayCW(ker);
00144     int kerBW = ArrayCW(ker) / 2;
00145     KerArithT neutralElement = RedOpT::NeutralElement();
00146     DstStorT* dPtr = ArrayCPB(dst, 0, y);
00147     SrcStorT* sPtr = ArrayCPB(src, -kerBW, y);
00148     KerStorT* kPtr = ArrayCPB(ker, 0, 0);
00149     for (int x=0 ; x<width ; x++)
00150     {
00151         FuncGenConv2dSep_Pix_Xdir(dPtr, sPtr, kPtr, kerWidth,
00152                                   SrcArrayT::ElemSize(), KerArrayT::ElemSize(),
00153                                   pixOp, redOp, neutralElement, tag);
00154         dPtr += DstArrayT::ElemSize();
00155         sPtr += SrcArrayT::ElemSize();
00156     }
00157 }

Here is the call graph for this function:


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