IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
CastReg.h
Go to the documentation of this file.
1 // CastReg.h:
3 // ------------
4 //
14 
15 #ifndef __IPSDKUTIL_INSTRUCTIONSET_DETAIL_STD_CASTREG_H__
16 #define __IPSDKUTIL_INSTRUCTIONSET_DETAIL_STD_CASTREG_H__
17 
21 
22 
23 namespace ipsdk {
24 namespace simd {
25 namespace detail {
26 
29 
30 template <typename TIn, typename TOut>
32 {
33  static IPSDK_FORCEINLINE
34  void act(const TIn& in,
35  TOut& out)
36  {
37  out = static_cast<TOut>(in);
38  }
39 };
40 
43 
44 } // end of namespace detail
45 } // end of namespace simd
46 } // end of namespace ipsdk
47 
48 #endif // __IPSDKUTIL_INSTRUCTIONSET_DETAIL_STD_CASTREG_H__
Defines the IPSDK_FORCEINLINE.
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
Definition: CastReg.h:30
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