IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
bool_mask_cast.h
Go to the documentation of this file.
1 // bool_mask_cast.h:
3 // -----------------
4 //
14 
15 #ifndef __IPSDKUTIL_INSTRUCTIONSET_BOOL_MASK_CAST_H__
16 #define __IPSDKUTIL_INSTRUCTIONSET_BOOL_MASK_CAST_H__
17 
19 
20 namespace ipsdk {
21 namespace simd {
22 
25 
26 template <eInstructionSet::domain IS, class PackIn, class PackOut>
27 IPSDK_FORCEINLINE void
28 bool_mask_cast(const PackIn& in, PackOut& out)
29 {
30  typedef typename PackIn::DataType TIn;
31  typedef typename PackOut::DataType TOut;
32  detail::BoolMaskCast<IS, TIn, TOut>::act(in, out);
33 }
34 
37 
38 } // end of namespace simd
39 } // end of namespace ipsdk
40 
41 #endif // __IPSDKUTIL_INSTRUCTIONSET_BOOL_MASK_CAST_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
Vector DataType
data type used for estimation
Definition: EstimationTypes.h:58
structure used to cast boolean mask valued to 0xFFFF... or 0x000... from a type to an other ...