IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
asin.h
Go to the documentation of this file.
1 // asin.h:
3 // -----------------
4 //
14 
15 #ifndef __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_ASIN_H__
16 #define __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_ASIN_H__
17 
19 
23 
24 namespace ipsdk {
25 namespace simd {
26 
29 
30 template <eInstructionSet::domain IS, class PackT>
31 IPSDK_FORCEINLINE
32 PackT
33 asin(const PackT& in)
34 {
35  typedef typename PackT::DataType T;
36  return detail::AsinPack<IS, T>::act(in);
37 }
38 
39 template <eInstructionSet::domain IS, class PackT>
40 IPSDK_FORCEINLINE
41 void
42 asin(const PackT& in, PackT& out)
43 {
44  typedef typename PackT::DataType T;
45  detail::AsinPack<IS, T>::act(in, out);
46 }
47 
50 
51 } // end of namespace simd
52 } // end of namespace ipsdk
53 
54 #endif // __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_ASIN_H__
AsinPack<eInstructionSet::domain instructionSet, typename T, typename Enable=void> structure...
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.