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

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

Definition at line 267 of file FuncInOut.h.

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

Referenced by PatM2InOutOp().

00268 {
00269     typedef typename ArrayT::StorType StorT;
00270 
00271     int width = ArrayCW(a);
00272     int height = ArrayCH(a);
00273     for (int y=0 ; y<height ; y++)
00274     {
00275         StorT* aPtr = ArrayCPB(a, 0, y);
00276         StorT* bPtr = ArrayCPB(b, 0, y);
00277         for (int x=0 ; x<width ; x++)
00278         {
00279             pixOp.DoIt(aPtr, bPtr);
00280             aPtr += ArrayT::ElemSize();
00281             bPtr += ArrayT::ElemSize();
00282         }
00283     }
00284 }

Here is the call graph for this function:


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