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

template<class DstArrayT, class SrcArrayT, class UpoT>
void Impala::Core::Array::Pattern::FuncUpo ( DstArrayT *  dst,
SrcArrayT *  src,
UpoT &  upo,
TagTransInVar  dummy,
TagCallPointer  dummy2 
)

Definition at line 47 of file FuncUpo.h.

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

00049 {
00050     typedef typename DstArrayT::StorType DstStorT;
00051     typedef typename DstArrayT::ArithType DstArithT;
00052     typedef typename SrcArrayT::StorType SrcStorT;
00053     typedef typename SrcArrayT::ArithType SrcArithT;
00054 
00055     int width = ArrayCW(dst);
00056     int height = ArrayCH(dst);
00057     for (int y=0 ; y<height ; y++)
00058     {
00059         SrcStorT* sPtr = ArrayCPB(src, 0, y);
00060         DstStorT* dPtr = ArrayCPB(dst, 0, y);
00061         for (int x=0 ; x<width ; x++)
00062         {
00063             upo.DoIt(dPtr, sPtr);
00064             dPtr += DstArrayT::ElemSize();
00065             sPtr += SrcArrayT::ElemSize();
00066         }
00067     }
00068 }

Here is the call graph for this function:


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