IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
ceil.h
Go to the documentation of this file.
1 // ceil.h:
3 // -----------------
4 //
19 
20 #ifndef __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_CEIL_H__
21 #define __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_CEIL_H__
22 
24 
28 
29 namespace ipsdk {
30 namespace simd {
31 
34 
36 template <eInstructionSet::domain instructionSet, class PackT>
37 IPSDK_FORCEINLINE
38 PackT
39 ceil(const PackT& in)
40 {
41  typedef typename PackT::DataType T;
42 
43  return detail::CeilPack<instructionSet, T>::act(in);
44 }
45 
47 template <eInstructionSet::domain instructionSet, class PackT>
48 IPSDK_FORCEINLINE
49 void
50 ceil(const PackT& in, PackT& out)
51 {
52  typedef typename PackT::DataType T;
53  detail::CeilPack<instructionSet, T>::act(in, out);
54 }
55 
58 
59 } // end of namespace simd
60 } // end of namespace ipsdk
61 
62 #endif // __IPSDKUTIL_INSTRUCTIONSET_ARITHMETIC_CEIL_H__
Defines the IPSDK_FORCEINLINE.
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
Vector DataType
data type used for estimation
Definition: EstimationTypes.h:58
Definition of import/export macro for library.