IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
bitwiseCast.h
Go to the documentation of this file.
1 // bitwiseCast.h:
3 // ------------
4 //
15 
16 #ifndef __IPSDKUTIL_INSTRUCTIONSET_BITWISECAST_H__
17 #define __IPSDKUTIL_INSTRUCTIONSET_BITWISECAST_H__
18 
21 
22 namespace ipsdk {
23 namespace simd {
24 
27 
32 template <eInstructionSet::domain instructionSet,
33  typename TOut, class PackIn>
34 IPSDK_FORCEINLINE
36 bitwiseCast(const PackIn& in)
37 {
38  typedef typename PackIn::DataType TIn;
40 }
41 
46 template <eInstructionSet::domain instructionSet, class PackIn, class PackOut>
47 IPSDK_FORCEINLINE
48 void
49 bitwiseCast(const PackIn& in, PackOut& out)
50 {
51  typedef typename PackIn::DataType TIn;
52  typedef typename PackOut::DataType TOut;
54 }
55 
58 
59 } // end of namespace simd
60 } // end of namespace ipsdk
61 
62 #endif // __IPSDKUTIL_INSTRUCTIONSET_BITWISECAST_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
Definition: BitwiseCastPack.h:35
Vector DataType
data type used for estimation
Definition: EstimationTypes.h:58
Definition of import/export macro for library.
IPSDK_FORCEINLINE ipsdk::simd::IS2Pack< instructionSet, TOut >::Type bitwiseCast(const PackIn &in)
casts from PackIn type to PackOut type, leaving all the bits unchanged (TIn and TOut must have the sa...
Definition: bitwiseCast.h:36
Definition: IS2Pack.h:34