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

isEqual function More...

#include <IPSDKUtil/IPSDKUtilExports.h>
#include <IPSDKUtil/InstructionSet/Pack2MaskPackType.h>
#include <IPSDKUtil/InstructionSet/Comparison/detail/IsEqualReg.h>
#include <IPSDKUtil/InstructionSet/PromotedType.h>
#include <IPSDKUtil/InstructionSet/detail/BinaryPackOpRetMask.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::isEqual (const PackT &in1, const PackT &in2)
 isEqual function; tests if all the elements of the first operand pack equal the elements of the second operand pack
 
template<eInstructionSet::domain instructionSet, class PackT >
IPSDK_FORCEINLINE void ipsdk::simd::isEqual (const PackT &in1, const PackT &in2, typename Pack2MaskPackType< PackT >::Type &out)
 

Detailed Description

isEqual function

Author
H. Delestre
Date
2014/02/24

given 2 packs A and B, with A = {a1, ..., an} and B = {b1, ..., bn}, add(A, B) returns C, with C ={ a1==b1, ..., an==bn}