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

centered modulo function; returns the remainder of the integral division of pack A with pack B; result is in range [-mod/2; mod/2[ More...

#include <IPSDKUtil/IPSDKUtilExports.h>
#include <IPSDKUtil/InstructionSet/assign.h>
#include <IPSDKUtil/InstructionSet/Arithmetic/add.h>
#include <IPSDKUtil/InstructionSet/Arithmetic/sub.h>
#include <IPSDKUtil/InstructionSet/Arithmetic/div.h>
#include <IPSDKUtil/InstructionSet/Arithmetic/modulo.h>
#include <IPSDKUtil/InstructionSet/Comparison/isGreaterEqual.h>
#include <IPSDKUtil/InstructionSet/Comparison/isLess.h>
#include <IPSDKUtil/InstructionSet/Logical/ifElse.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 IS, typename T >
IPSDK_FORCEINLINE void ipsdk::simd::moduloCentered (const simd::Pack< IS, T > &packVal, const simd::Pack< IS, T > &packModuloVal, simd::Pack< IS, T > &packResult)
 
template<eInstructionSet::domain IS, typename T >
IPSDK_FORCEINLINE void ipsdk::simd::moduloCentered (const simd::Pack< IS, T > &packVal, const simd::Pack< IS, T > &packModuloVal, const simd::Pack< IS, T > &packHalfModuloVal, const simd::Pack< IS, T > &packMHalfModuloVal, simd::Pack< IS, T > &packResult)
 

Detailed Description

centered modulo function; returns the remainder of the integral division of pack A with pack B; result is in range [-mod/2; mod/2[

Author
R. Abbal
Date
2024/10/14