![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
round function; returns the round values of the elements of a pack More...
#include <IPSDKUtil/IPSDKUtilExports.h>#include <IPSDKUtil/InstructionSet/Arithmetic/detail/RoundPack.h>#include <IPSDKUtil/InstructionSet/PromotedType.h>#include <IPSDKUtil/InstructionSet/detail/UnaryPackOp.h>#include <IPSDKUtil/InstructionSet/IS2Pack.h>#include <IPSDKUtil/Tools/ForceInline.h>Go to the source code of this file.
Namespaces | |
| ipsdk | |
| Main namespace for IPSDK library. | |
| ipsdk::simd | |
| Namespace agregating IPSDK SIMD routines and classes. | |
Functions | |
| template<eInstructionSet::domain instructionSet, typename TOut , class PackIn > | |
| IPSDK_FORCEINLINE ipsdk::simd::IS2Pack< instructionSet, TOut >::Type | ipsdk::simd::round (const PackIn &in) |
| template<eInstructionSet::domain instructionSet, class PackIn , class PackOut > | |
| IPSDK_FORCEINLINE void | ipsdk::simd::round (const PackIn &in, PackOut &out) |
round function; returns the round values of the elements of a pack
given a pack P, with P = {p1, ..., pn}, round(P) returns R, with R ={ round(p1), ..., round(pn)}
ex.: round(P) = R, with P = {1.2, 1.5, 1.9, -3.2, -3.5, -3.8, 0.0, 10.0} and R = {1, 2, 2, -3, -4, -4, 0, 10}
1.8.14