IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
toMask.h
Go to the documentation of this file.
1 // toMask.h:
3 // -----------------
4 //
14 
15 #ifndef __IPSDKUTIL_INSTRUCTIONSET_LOGICAL_TOMASK_H__
16 #define __IPSDKUTIL_INSTRUCTIONSET_LOGICAL_TOMASK_H__
17 
19 
23 
24 namespace ipsdk {
25 namespace simd {
26 
29 
31 template <eInstructionSet::domain instructionSet,
32  typename TOut,
33  typename TIn,
34  ePackType::domain packType
35 >
36 IPSDK_FORCEINLINE
37 BaseMaskPack<packType, TOut>
39 {
41 }
42 
43 template <eInstructionSet::domain instructionSet,
44  typename TOut,
45  typename TIn,
46  ePackType::domain packType
47 >
48 IPSDK_FORCEINLINE
49 void
50 toMask(const BasePack<packType, TIn>& in,
51  BaseMaskPack<packType, TOut>& out)
52 {
53  detail::ToMaskPack<instructionSet, TOut, TIn>::act(in, out);
54 }
55 
58 
59 } // end of namespace simd
60 } // end of namespace ipsdk
61 
62 #endif // __IPSDKUTIL_INSTRUCTIONSET_LOGICAL_TOMASK_H__
Defines the IPSDK_FORCEINLINE.
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
Definition: ToMaskPack.h:30
defines template structures PromotedType<T1, T2> and PromotedType3<T1, T2, T3>; their attribute Type ...
Definition of import/export macro for library.
IPSDK_FORCEINLINE BaseMaskPack< packType, TOut > toMask(const BasePack< packType, TIn > &in)
toMask function; TODO
Definition: toMask.h:38
structure containing intrinsic registers used to store vectorized data
Definition: BasePackDecl.h:29