IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Classes | Namespaces
SaturatedCastPack.h File Reference
#include <IPSDKUtil/IPSDKUtilExports.h>
#include <IPSDKUtil/InstructionSet/detail/CastPack.h>
#include <IPSDKUtil/InstructionSet/detail/SaturatedCastPack.h>
#include <IPSDKUtil/InstructionSet/BasePack.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::SaturatedCastPack< eInstructionSet::eIS_Standard, TIn, TOut, typename boost::enable_if_c< boost::is_same< TIn, TOut >::value >::type >
 
struct  ipsdk::simd::detail::SaturatedCastPack< 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 BasePack< ePackType::ePT_Scalar, TOut > act(const BasePack< ePackType::ePT_Scalar, TIn > &in) { BasePack< ePackType::ePT_Scalar, TOut > out;out._val=static_cast< TOut >(in._val);return out;} static IPSDK_FORCEINLINE void act(const BasePack< ePackType::ePT_Scalar, TIn > &in, BasePack< ePackType::ePT_Scalar, TOut > &out) { out._val=static_cast< TOut >(in._val);}};template< typename TIn, typename TOut >struct SaturatedCastPack< 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/05