IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Classes | Namespaces
SaturatedCastReg.h File Reference
#include <IPSDKUtil/IPSDKUtilExports.h>
#include <IPSDKUtil/InstructionSet/detail/BaseReg.h>
#include <IPSDKUtil/InstructionSet/detail/SaturatedCastReg.h>
#include <IPSDKUtil/Tools/ForceInline.h>
#include <IPSDKUtil/Tools/NumericLimits.h>
#include <boost/type_traits/is_same.hpp>
#include <boost/type_traits/is_signed.hpp>

Go to the source code of this file.

Classes

struct  ipsdk::simd::detail::SaturatedCastReg< eInstructionSet::eIS_Standard, TIn, TOut, typename boost::enable_if_c< boost::is_same< TIn, TOut >::value >::type >
 
struct  ipsdk::simd::detail::SaturatedCastReg< eInstructionSet::eIS_Standard, TIn, TOut, typename boost::enable_if_c< boost::is_integral< TIn >::value &&boost::is_integral< TOut >::value &&boost::is_signed< TIn >::value==boost::is_signed< TOut >::value &&sizeof(TIn)< sizeof(TOut) >::type >{ static IPSDK_FORCEINLINE TOut act(const TIn &in) { return static_cast< TOut >(in);} static IPSDK_FORCEINLINE void act(const TIn &in, TOut &out) { out=static_cast< TOut >(in);}};template< typename TIn, typename TOut >struct SaturatedCastReg< eInstructionSet::eIS_Standard, TIn, TOut, typename boost::enable_if_c< boost::is_integral< TIn >::value &&boost::is_integral< TOut >::value &&boost::is_signed< TIn >::value &&!boost::is_signed< TOut >::value &&sizeof(TOut)>=sizeof(TIn) >::type >
 

Namespaces

 ipsdk
 Main namespace for IPSDK library.
 
 ipsdk::simd
 Namespace agregating IPSDK SIMD routines and classes.
 

Detailed Description

Author
H. Delestre
Date
2015/01/29