IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
isFloatIntegral.h
Go to the documentation of this file.
1 // isFloatIntegral.h:
3 // -----------------
4 //
14 
15 #ifndef __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_ISFLOATINTEGRAL_H__
16 #define __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_ISFLOATINTEGRAL_H__
17 
19 
23 
24 namespace ipsdk {
25 namespace simd {
26 
29 
31 template <eInstructionSet::domain instructionSet, class PackT>
32 IPSDK_FORCEINLINE
33 PackT
34 isFloatIntegral(const PackT& in)
35 {
36  typedef typename PackT::DataType T;
37 
38  return detail::IsFloatIntegralPack<instructionSet, T>::act(in);
39 }
40 
42 template <eInstructionSet::domain instructionSet, class PackT>
43 IPSDK_FORCEINLINE
44 void
45 isFloatIntegral(const PackT& in, PackT& out)
46 {
47  typedef typename PackT::DataType T;
48  detail::IsFloatIntegralPack<instructionSet, T>::act(in, out);
49 }
50 
53 
54 } // end of namespace simd
55 } // end of namespace ipsdk
56 
57 #endif // __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_ISFLOATINTEGRAL_H__
Defines the IPSDK_FORCEINLINE.
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
Vector DataType
data type used for estimation
Definition: EstimationTypes.h:58
Definition of import/export macro for library.