IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Namespaces | Functions
isOdd.h File Reference

isOdd function; sets all bits to 1 if input value is odd, sets all bits to 0 otherwise More...

#include <IPSDKUtil/IPSDKUtilExports.h>
#include <IPSDKUtil/InstructionSet/Arithmetic/detail/IsOddReg.h>
#include <IPSDKUtil/InstructionSet/Pack2MaskPackType.h>
#include <IPSDKUtil/InstructionSet/detail/UnaryPackOpRetMask.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, class PackT >
IPSDK_FORCEINLINE Pack2MaskPackType< PackT >::Type ipsdk::simd::isOdd (const PackT &in)
 
template<eInstructionSet::domain instructionSet, class PackT >
IPSDK_FORCEINLINE void ipsdk::simd::isOdd (const PackT &in, typename Pack2MaskPackType< PackT >::Type &out)
 

Detailed Description

isOdd function; sets all bits to 1 if input value is odd, sets all bits to 0 otherwise

Author
H. Delestre
Date
2017/04/03