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_Xdir ( DstStorT *  dPtr,
SrcStorT *  sPtr,
KerStorT *  kPtr,
int  kerWidth,
int  srcInc,
int  kerInc,
PixOpT &  pixOp,
RedOpT &  redOp,
KerArithT  neutralElement,
TagCallValue  dummy 
) [inline, static]

Pix : X direction, using value call.

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

Definition at line 76 of file FuncGenConv2dSep.h.

References PtrRead(), and PtrWrite().

Referenced by FuncGenConv2dSep_Line_Xdir().

00080 {
00081     KerArithT result(neutralElement);
00082     for (int k=0; k<kerWidth; k++)
00083     {
00084         redOp.DoIt(result, pixOp.DoIt(PtrRead(sPtr, KerArithT()),
00085                                       PtrRead(kPtr, KerArithT())));
00086         sPtr += srcInc;
00087         kPtr += kerInc;
00088     }
00089     PtrWrite(dPtr, result);
00090 }

Here is the call graph for this function:


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