IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
bitwiseAndNot.h
Go to the documentation of this file.
1 // bitwiseAndNot.h:
3 // -----------------
4 //
14 
15 #ifndef __IPSDKUTIL_INSTRUCTIONSET_LOGICAL_BITWISEANDNOT_H__
16 #define __IPSDKUTIL_INSTRUCTIONSET_LOGICAL_BITWISEANDNOT_H__
17 
19 
24 
25 namespace ipsdk {
26 namespace simd {
27 
30 
32 template <eInstructionSet::domain instructionSet, class PackT>
33 IPSDK_FORCEINLINE
34 PackT
35 bitwiseAndNot(const PackT& in1,
36  const PackT& in2)
37 {
38  typedef typename PackT::DataType T;
39  return detail::BinaryPackOp<instructionSet, T,
41 }
42 
43 template <eInstructionSet::domain instructionSet, class PackT>
44 IPSDK_FORCEINLINE
45 void
46 bitwiseAndNot(const PackT& in1,
47  const PackT& in2,
48  PackT& out)
49 {
50  typedef typename PackT::DataType T;
51  detail::BinaryPackOp<instructionSet, T,
52  detail::BitwiseAndNotReg<instructionSet, T> >::act(in1, in2, out);
53 }
54 
57 
58 } // end of namespace simd
59 } // end of namespace ipsdk
60 
61 #endif // __IPSDKUTIL_INSTRUCTIONSET_LOGICAL_BITWISEANDNOT_H__
IPSDK_FORCEINLINE PackT bitwiseAndNot(const PackT &in1, const PackT &in2)
bitwiseAndNot function; TODO
Definition: bitwiseAndNot.h:35
Defines the IPSDK_FORCEINLINE.
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
Definition: BitwiseAndNotReg.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.
Definition: BinaryPackOp.h:31