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

InvEw.h

Go to the documentation of this file.
00001 #ifndef Impala_Core_Array_InvEw_h
00002 #define Impala_Core_Array_InvEw_h
00003 
00004 #include <vector>
00005 #include "Core/Array/Pattern/PatM6PixOp.h"
00006 #include "Core/Array/Trait/M6poEw.h"
00007 
00008 namespace Impala
00009 {
00010 namespace Core
00011 {
00012 namespace Array
00013 {
00014 
00015 
00016 // s1 - s6 should contain Ex, Elx, Ellx, Ey, Ely, Elly
00017 template<class DstArrayT, class SrcArrayT>
00018 inline void
00019 InvEw(DstArrayT*& dst, SrcArrayT* s1, SrcArrayT* s2, SrcArrayT* s3,
00020       SrcArrayT* s4, SrcArrayT* s5, SrcArrayT* s6)
00021 {
00022     Trait::M6poEw<DstArrayT, SrcArrayT> mpo;
00023     Pattern::PatM6PixOp(dst, s1, s2, s3, s4, s5, s6, mpo);
00024 }
00025 
00026 
00027 // relies on eList to contain E, Ex, Ey, El, Elx, Ely, Ell, Ellx, Elly
00028 template<class ArrayT>
00029 inline void
00030 InvEw(ArrayT*& dst, const std::vector<ArrayT*>& eList)
00031 {
00032     InvEw(dst,
00033           //eList[0], eList[3], eList[6],
00034           eList[1], eList[4], eList[7],
00035           eList[2], eList[5], eList[8]);
00036 }
00037 
00038 
00039 } // namespace Array
00040 } // namespace Core
00041 } // namespace Impala
00042 
00043 #endif

Generated on Fri Mar 19 09:30:47 2010 for ImpalaSrc by  doxygen 1.5.1