template<class DstArrayT, class SrcArrayT, class ExtraArrayT, class NgbT>
Row : phase 1, cnum.
Definition at line 129 of file FuncNgbOp2dExtra.h. References ArrayCPB(), ArrayCW(), FuncNgbOp2dExtra_Pix_P1Cnum(), PtrRead(), and PtrWrite(). Referenced by FuncNgbOp2dExtraDispatch(). 00131 { 00132 typedef typename DstArrayT::StorType DstStorT; 00133 typedef typename DstArrayT::ArithType DstArithT; 00134 typedef typename SrcArrayT::StorType SrcStorT; 00135 typedef typename SrcArrayT::ArithType SrcArithT; 00136 typedef typename ExtraArrayT::StorType ExtraStorT; 00137 typedef typename ExtraArrayT::ArithType ExtraArithT; 00138 00139 int width = ArrayCW(dst); 00140 DstStorT* dPtr = ArrayCPB(dst, 0, y); 00141 SrcStorT* sPtr = ArrayCPB(src, 0, y); 00142 SrcStorT* ePtr = ArrayCPB(extra, 0, y); 00143 for (int x=0 ; x<width ; x++) 00144 { 00145 ngb.Init(x, y, PtrRead(sPtr, SrcArithT()), 00146 PtrRead(ePtr, ExtraArithT())); 00147 FuncNgbOp2dExtra_Pix_P1Cnum(src, extra, x, y, ngb); 00148 PtrWrite(dPtr, ngb.Result()); 00149 dPtr += DstArrayT::ElemSize(); 00150 sPtr += SrcArrayT::ElemSize(); 00151 ePtr += ExtraArrayT::ElemSize(); 00152 } 00153 }
Here is the call graph for this function:
|