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

Endian.h

Go to the documentation of this file.
00001 #ifndef Impala_Core_Array_Endian_h
00002 #define Impala_Core_Array_Endian_h
00003 
00004 #include "Core/Array/Pattern/PatUnaryPixOp.h"
00005 #include "Core/Array/Trait/UpoEndian.h"
00006 
00007 namespace Impala
00008 {
00009 namespace Core
00010 {
00011 namespace Array
00012 {
00013 
00014 
00015 template<class DstArrayT, class SrcArrayT>
00016 inline void
00017 Endian(DstArrayT*& dst, SrcArrayT* src)
00018 {
00019 #ifdef BIG_ENDIAN_IO
00020     Trait::UpoEndian<DstArrayT, SrcArrayT> upo;
00021     Pattern::PatUnaryPixOp(dst, src, upo);
00022 #endif
00023 }
00024 
00025 } // namespace Array
00026 } // namespace Core
00027 } // namespace Impala
00028 
00029 #endif

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