IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
ScanReg.h
Go to the documentation of this file.
1 // ScanReg.h:
3 // -------------------
4 //
14 
15 #ifndef __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_DETAIL_STD_SCANREG_H__
16 #define __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_DETAIL_STD_SCANREG_H__
17 
20 
21 #include <math.h>
22 
23 namespace ipsdk {
24 namespace simd {
25 namespace detail {
26 
29 
31 template <typename T>
33 {
34  static IPSDK_FORCEINLINE
35  T
36  act(const T& in)
37  {
38  return in;
39  }
40 
41  static IPSDK_FORCEINLINE
42  void
43  act(const T& in, T& out)
44  {
45  out = in;
46  }
47 };
48 
51 
52 } // end of namespace detail
53 } // end of namespace simd
54 } // end of namespace ipsdk
55 
56 #endif // __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_DETAIL_STD_SCANREG_H__
Defines the IPSDK_FORCEINLINE.
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
template structure which is specialized to implement the cumulative sum on 2 registers, depending on the used instructionSet and on the types of the buffers loaded in the registers
Definition: ScanReg.h:36
eInstructionSet
Enumerate for processor instruction set description.
Definition: InstructionSetTypes.h:31
Definition of import/export macro for library.
compiler optimisations only
Definition: InstructionSetTypes.h:34