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

template<class ArrayT, class PixOpT>
void Impala::Core::Array::Pattern::FuncM3InOutDispatch ( ArrayT *  a,
ArrayT *  b,
ArrayT *  c,
PixOpT &  pixOp 
)

Definition at line 288 of file FuncInOut.h.

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

Referenced by PatM3InOutOp().

00289 {
00290     typedef typename ArrayT::StorType StorT;
00291 
00292     int width = ArrayCW(a);
00293     int height = ArrayCH(a);
00294     for (int y=0 ; y<height ; y++)
00295     {
00296         StorT* aPtr = ArrayCPB(a, 0, y);
00297         StorT* bPtr = ArrayCPB(b, 0, y);
00298         StorT* cPtr = ArrayCPB(c, 0, y);
00299         for (int x=0 ; x<width ; x++)
00300         {
00301             pixOp.DoIt(aPtr, bPtr, cPtr);
00302             aPtr += ArrayT::ElemSize();
00303             bPtr += ArrayT::ElemSize();
00304             cPtr += ArrayT::ElemSize();
00305         }
00306     }
00307 }

Here is the call graph for this function:


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