IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
TernaryPackOp.h
Go to the documentation of this file.
1 // TernaryPackOp.h:
3 // ------------
4 //
14 
15 #ifndef __IPSDKUTIL_INSTRUCTIONSET_DETAIL_STD_TERNARYPACKOP_H__
16 #define __IPSDKUTIL_INSTRUCTIONSET_DETAIL_STD_TERNARYPACKOP_H__
17 
23 
24 namespace ipsdk {
25 namespace simd {
26 namespace detail {
27 
30 
31 // template structure associated to unload function
32 template <typename T, class OpClass>
34 {
35  static IPSDK_FORCEINLINE
40  {
42  out._val = OpClass::act(in1._val, in2._val, in3._val);
43  return out;
44  }
45 
46  static IPSDK_FORCEINLINE
47  void
52  {
53  out._val = OpClass::act(in1._val, in2._val, in3._val);
54  }
55 };
56 
59 
60 } // end of namespace detail
61 } // end of namespace simd
62 } // end of namespace ipsdk
63 
64 #endif // __IPSDKUTIL_INSTRUCTIONSET_DETAIL_STD_TERNARYPACKOP_H__
Defines the IPSDK_FORCEINLINE.
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
BasePack class; defines a set of scalars (for instruction set "standard") or registers (for all other...
eInstructionSet
Enumerate for processor instruction set description.
Definition: InstructionSetTypes.h:31
Definition: TernaryPackOp.h:31
Predefined types associated to instruction set management.
Definition of import/export macro for library.
compiler optimisations only
Definition: InstructionSetTypes.h:34