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

template<class SrcArrayT, class ExtraArrayT, class NgbT>
void Impala::Core::Array::Pattern::FuncNgbOp2dExtra_Pix_P1Cnum ( SrcArrayT *  src,
ExtraArrayT *  extra,
int  x,
int  y,
NgbT &  ngb 
) [inline]

Pix : phase 1, cnum.

Definition at line 51 of file FuncNgbOp2dExtra.h.

References ArrayCPB(), and PtrRead().

Referenced by FuncNgbOp2dExtra_Row().

00053 {
00054     typedef typename SrcArrayT::StorType SrcStorT;
00055     typedef typename SrcArrayT::ArithType SrcArithT;
00056     typedef typename ExtraArrayT::StorType ExtraStorT;
00057     typedef typename ExtraArrayT::ArithType ExtraArithT;
00058     typedef typename NgbT::CnumType CnumType;
00059 
00060     for (CnumType cnum = ngb.Begin() ; cnum != ngb.End() ; cnum.Inc())
00061     {
00062         SrcStorT* nPtr = ArrayCPB(src, x + cnum.X(), y + cnum.Y());
00063         SrcStorT* ePtr = ArrayCPB(extra, x + cnum.X(), y + cnum.Y());
00064         ngb.NextEl(cnum.X(), cnum.Y(), PtrRead(nPtr, SrcArithT()),
00065                    PtrRead(ePtr, ExtraArithT()));
00066     }
00067 }

Here is the call graph for this function:


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