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

template<class DstStorT, class SrcStorT, class KerStorT, class KerArithT, class PixOpT, class RedOpT>
static void Impala::Core::Array::Pattern::FuncGenConv2dSep_Pix_Ydir ( DstStorT *  dPtr,
SrcStorT *  sPtr,
KerStorT *  kPtr,
int  kerWidth,
int  srcInc,
int  kerInc,
PixOpT &  pixOp,
RedOpT &  redOp,
KerArithT  neutralElement,
TagCallValue  dummy 
) [inline, static]

Pix : Y direction, using value call.

Does a single genconv between srcPtr and kerPtr of kerWidth pixels and stores the result at dstPtr.

Definition at line 100 of file FuncGenConv2dSep.h.

References PtrRead(), and PtrWrite().

Referenced by FuncGenConv2dSep_Line_YdirSim().

00104 {
00105     KerArithT result(neutralElement);
00106     for (int k=0; k<kerWidth; k++)
00107     {
00108         redOp.DoIt(result, pixOp.DoIt(PtrRead(sPtr, KerArithT()),
00109                                       PtrRead(kPtr, KerArithT())));
00110         sPtr += srcInc;
00111         kPtr += kerInc;
00112     }
00113     PtrWrite(dPtr, result);
00114 }

Here is the call graph for this function:


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