template<class DstArrayT, class SrcArrayT, class MpoT>
Definition at line 84 of file FuncMpo.h. References ArrayCH(), ArrayCPB(), and ArrayCW(). 00086 { 00087 typedef typename DstArrayT::StorType DstStorT; 00088 typedef typename DstArrayT::ArithType DstArithT; 00089 typedef typename SrcArrayT::StorType SrcStorT; 00090 typedef typename SrcArrayT::ArithType SrcArithT; 00091 00092 int width = ArrayCW(dst); 00093 int height = ArrayCH(dst); 00094 for(int y=0 ; y<height ; y++) 00095 { 00096 SrcStorT* s1Ptr = ArrayCPB(src1, 0, y); 00097 SrcStorT* s2Ptr = ArrayCPB(src2, 0, y); 00098 SrcStorT* s3Ptr = ArrayCPB(src3, 0, y); 00099 SrcStorT* s4Ptr = ArrayCPB(src4, 0, y); 00100 DstStorT* dPtr = ArrayCPB(dst, 0, y); 00101 for(int x=0 ; x<width ; x++) 00102 { 00103 //call by pointer natuurlijk 00104 mpo.DoIt(dPtr, s1Ptr, s2Ptr, s3Ptr, s4Ptr); 00105 dPtr += DstArrayT::ElemSize(); 00106 s1Ptr += SrcArrayT::ElemSize(); 00107 s2Ptr += SrcArrayT::ElemSize(); 00108 s3Ptr += SrcArrayT::ElemSize(); 00109 s4Ptr += SrcArrayT::ElemSize(); 00110 } 00111 } 00112 }
Here is the call graph for this function:
|