IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
isGreaterEqual.h
Go to the documentation of this file.
1 // isGreaterEqual.h:
3 // -----------------
4 //
14 
15 #ifndef __IPSDKUTIL_INSTRUCTIONSET_COMPARISON_ISGREATEREQUAL_H__
16 #define __IPSDKUTIL_INSTRUCTIONSET_COMPARISON_ISGREATEREQUAL_H__
17 
19 
25 
26 namespace ipsdk {
27 namespace simd {
28 
31 
34 template <eInstructionSet::domain instructionSet, class PackT>
35 IPSDK_FORCEINLINE
36 typename Pack2MaskPackType<PackT>::Type
37 isGreaterEqual(const PackT& in1, const PackT& in2)
38 {
39  typedef typename PackT::DataType T;
40  return detail::BinaryPackOpRetMask<instructionSet, T,
42 }
43 
44 template <eInstructionSet::domain instructionSet, class PackT>
45 IPSDK_FORCEINLINE
46 void
47 isGreaterEqual(const PackT& in1, const PackT& in2, typename Pack2MaskPackType<PackT>::Type& out)
48 {
49  typedef typename PackT::DataType T;
50  detail::BinaryPackOpRetMask<instructionSet, T,
51  detail::IsGreaterEqualReg<instructionSet, T> >::act(in1, in2, out);
52 }
53 
56 
57 } // end of namespace simd
58 } // end of namespace ipsdk
59 
60 #endif // __IPSDKUTIL_INSTRUCTIONSET_COMPARISON_ISGREATEREQUAL_H__
Defines the IPSDK_FORCEINLINE.
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
IPSDK_FORCEINLINE Pack2MaskPackType< PackT >::Type isGreaterEqual(const PackT &in1, const PackT &in2)
isGreaterEqual function; vectorized comparison ("is greater than or equal to" test) of data contained...
Definition: isGreaterEqual.h:37
Definition: BinaryPackOpRetMask.h:31
Definition: IsGreaterEqualRegDecl.h:30
defines template structures PromotedType<T1, T2> and PromotedType3<T1, T2, T3>; their attribute Type ...
Vector DataType
data type used for estimation
Definition: EstimationTypes.h:58
Definition of import/export macro for library.