IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
sort.h
Go to the documentation of this file.
1 // sort.h:
3 // -----------------
4 //
16 
17 #ifndef __IPSDKUTIL_INSTRUCTIONSET_COMPARISON_SORT_H__
18 #define __IPSDKUTIL_INSTRUCTIONSET_COMPARISON_SORT_H__
19 
21 
26 
27 namespace ipsdk {
28 namespace simd {
29 
32 
34 template <eInstructionSet::domain instructionSet, class PackT>
35 IPSDK_FORCEINLINE
36 void
37 sort(PackT& inOut1, PackT& inOut2)
38 {
39  typedef typename PackT::DataType T;
40  detail::BinaryPackOp<instructionSet, T,
41  detail::SortReg<instructionSet, T> >::act_io_io(inOut1, inOut2);
42 }
43 
46 
47 } // end of namespace simd
48 } // end of namespace ipsdk
49 
50 #endif // __IPSDKUTIL_INSTRUCTIONSET_COMPARISON_SORT_H__
Defines the IPSDK_FORCEINLINE.
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
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: SortReg.h:28
IPSDK_FORCEINLINE void sort(PackT &inOut1, PackT &inOut2)
sort function
Definition: sort.h:37
SortReg<eInstructionSet::domain instructionSet, typename T> structure.
Definition: BinaryPackOp.h:31